Forum Discussion
compile my existing projects using scripts
- 2 years ago
Hi,
The command qsys-script link here https://www.intel.com/content/www/us/en/docs/programmable/683364/18-1/generate-a-system-with-qsys-script.html will be used for the qsys .tcl. Then after source the .tcl the command qsys-generate link here https://www.intel.com/content/www/us/en/docs/programmable/683364/18-1/qsys-generate-command-line-options.html will be used on .ip and .qsys to generate the .qip file (GUI will be the Generate HDL in platform designer and IP Generation in Compilation Flow window)
Thanks,
Best Regards,
Sheng
_hw.tcl is not a script to run. It defines the properties of an individual component or, as is the case here, the entire system. The option you selected is to be able to include this system in other systems which I don't think is your intention: https://www.intel.com/content/www/us/en/docs/programmable/683364/18-1/exporting-a-system-as-an-ip-component.html
This is what you want: https://www.intel.com/content/www/us/en/docs/programmable/683492/18-1/create-a-project-and-apply-constraints.html
- techguy12 years ago
New Contributor
thank you for the feedback.
OK i understand that i should not run the _hw.tcl as script.
the second link you provide shows how to generate tcl for the project (which i have done see above "DE10_NANO_Minimum_setup_proj.tcl " file contents) but the link does not talk about qsys components.
In my scenario i have qsys components in my project, how can i re-create *.qsys or *.qip file from component file or should i just include the *_hw.tcl component file in my main tcl project file?
because if i run "quartus_sh -t DE10_NANO_Minimum_setup_proj.tcl" it creates the *.qpf, *qsf files and warns about missing *.qip for qsys.
Warning (125092): Tcl Script File de10_nano_minimum_qsys/synthesis/de10_nano_minimum_qsys.qip not found- sstrell2 years ago
Super Contributor
If you had a Platform Designer system added to your Quartus project, it should be referenced in the project tcl script because it gets that info from the .qpf for the project. Did you generate the system in Platform Designer before creating the project Tcl script? That creates the .qip.
- techguy12 years ago
New Contributor
Yes, I generated the system in qsys first and then generated the tcl script for the project.