- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I exported my Platform Designer design to TCL script. But when I run (quartus_sh -t my_tcl_file.tcl) am getting following error:
Error (23035): Tcl error: can't find package qsys exactly 20.3 while executing
"package require -exact qsys 20.3" (file "subsys_mge_tx_dma.tcl" line 1)
Actually I want to create the qsys file and then generate the same.
Regards,
Musthafa V
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The command that you use to run the tcl file in incorrect. You should use :
qsys-script --script=my_script.tcl
For further information, please refer to the Platform Designer User Guide on section 7.6. Generate a Platform Designer System with qsys-script
Best Regards,
Richard Tan
p/s: If any answer from the community or Intel support are helpful, please feel free to give Kudos.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @RichardTanSY_Intel ,
Thanks for your reply. I could run the TCL script successfully using qsys-script.
Actually, I want to build and compile my design using script. I went through the Intel Quartus Prime Pro Edition User Guide: Scripting (UG-20144).
Following are the tasks to be done.
1. Build the project with initial settings.
2. Add RTL source files to the project.
3. Generate qsys files.
4. Add generated qsys files to the project.
5. Add IO placement and standard assignments to the project.
6. Add SDC file to the project.
7. Compile the project to generate SOF.
From UG-20144, I couldn't figure out how to execute steps 3 to the flow. Can you help me out?
Regards,
Musthafa V
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The command-line executable used for platform designer is at different folder.
You can write the script such that it direct to the C:\intelFPGA_pro\21.1\qsys\bin, where the qsys-script.exe located, and run the < qsys-script --script=my_script.tcl> to generate the qsys files. For script used for Platform Designer, please refer to the Platform Designer User Guide (UG-20130)
Fyi, most of the command-line executable mentioned in Intel Quartus Prime Pro Edition User Guide: Scripting (UG-20144) is at C:\intelFPGA_pro\21.1\quartus\bin64.
Best Regards,
Richard Tan
p/s: If any answer from the community or Intel support are helpful, please feel free to give Kudos.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have yet to receive any response from you to the previous question/reply/answer that I have provided but I believed that I have answered your question.
With that, I will now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.
Best Regards,
Richard Tan
p/s: If any answer from the community or Intel support are helpful, please feel free to give Kudos.
![](/skins/images/872293744008A34B36F8ABF94A46CC66/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page