Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17238 Discussions

Generating a Qsys System with qsys-script

Altera_Forum
Honored Contributor II
3,857 Views

Hi all, 

 

I'm using a tcl file to create a Qsys system. the system contains a HPS. 

When i run qsys-script utility, it's stops at the HPS commands 

 

 

--- Quote Start ---  

 

$ qsys-script --script=soc_system.tcl 

2014.11.17.11:58:49 Info: Doing: <b>qsys-script --script=soc_system.tcl</b> 

2014.11.17.11:58:52 Info: set_module_property NAME soc_system 

2014.11.17.11:58:52 Info: set_module_property GENERATION_ID 0x00000000 

2014.11.17.11:58:52 Info: set_project_property DEVICE_FAMILY Cyclone V 

2014.11.17.11:58:52 Info: add_instance clk_0 clock_source 14.0 

2014.11.17.11:58:52 Info: set_instance_parameter_value clk_0 clockFrequency 5000 

0000.0 

2014.11.17.11:58:52 Info: set_instance_parameter_value clk_0 clockFrequencyKnown 

2014.11.17.11:58:52 Info: set_instance_parameter_value clk_0 inputClockFrequency 

0.0 

2014.11.17.11:58:52 Info: set_instance_parameter_value clk_0 resetSynchronousEdg 

es NONE 

2014.11.17.11:58:52 Info: add_instance hps_0 altera_hps 14.0 

 

--- Quote End ---  

 

 

i attached the tcl file to this message 

 

Thank you for helping me to fix this problem
0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
2,178 Views

I haven't tried using qsys-script with an HPS system, but this thread has an example which includes the SDRAM controller on the DE0-nano ... 

 

http://www.alteraforum.com/forum/showthread.php?t=45927 

 

Read the script qsys_system.tcl for details on how the script was created. 

 

Cheers, 

Dave
0 Kudos
Altera_Forum
Honored Contributor II
2,178 Views

Hello, 

I've the same problem. I've read tcl from de0nano. I've generated this to test, it's ok. 

 

For my de1soc, qsys-script seems blocked on add_instance hps_0 altera_hps 14.1 

without this line the qsys file is generated, with these line nothing append. 

 

Someone has an idea about this problem ? 

 

I have quartus 14.1 with service pack. 

 

Thank you very much 

Gwenhael
0 Kudos
Altera_Forum
Honored Contributor II
2,178 Views

 

--- Quote Start ---  

 

Someone has an idea about this problem? 

 

--- Quote End ---  

 

Look at the log file created during Qsys generation. 

 

If there is nothing obvious in the log file, file a Service Request with Altera. Please post any response to this list so that others can see your solution, thanks! 

 

Cheers, 

Dave
0 Kudos
Altera_Forum
Honored Contributor II
2,178 Views

Okay, 

I doing some tests with Quartus 12.0. qsys-script is not blocked. 

I think a problem with this tool? 

 

Gwenhael
0 Kudos
Altera_Forum
Honored Contributor II
2,178 Views

 

--- Quote Start ---  

Look at the log file created during Qsys generation. 

 

If there is nothing obvious in the log file, file a Service Request with Altera. Please post any response to this list so that others can see your solution, thanks! 

 

Cheers, 

Dave 

--- Quote End ---  

 

 

I have no log file. I need to quit manually qsys-script by Ctrl-c. qsys-script is indefinitely blocked. 

No log, no .qsys. Nothing in fact. 

Gwenhael
0 Kudos
Altera_Forum
Honored Contributor II
2,178 Views

 

--- Quote Start ---  

 

I think a problem with this tool? 

 

--- Quote End ---  

 

No idea. Compare the log files from a working version and a non-working version and see if you can see the difference. 

 

If you do have an example that works under 12.0 but not under 14.1, then send that to Altera when you file a Service Request. Chances of getting a response are much better when you can show a problem. 

 

Cheers, 

Dave
0 Kudos
Altera_Forum
Honored Contributor II
2,178 Views

 

--- Quote Start ---  

Look at the log file created during Qsys generation. 

 

If there is nothing obvious in the log file, file a Service Request with Altera. Please post any response to this list so that others can see your solution, thanks! 

 

Cheers, 

Dave 

--- Quote End ---  

 

 

Found this solution/workaround on the website. 

Supposedly installing support for the Stratix devices can solve this. Unfortunately I don't have a subscription license, so no fix for me :cry: 

 

https://www.altera.com/support/support-resources/knowledge-base/solutions/rd05082015_486.html 

 

If someone has a workaround for the workaround, or if someone from Altera has a timeline for when this will be fixed, please let me know. 

Cheers!
0 Kudos
Reply