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

Error (23035): Tcl error: can't find package qsys exactly 20.3 while executing "package require-exac

musthafavakeri
3,098 Views

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

0 Kudos
4 Replies
RichardTanSY_Intel
3,057 Views

Hi @musthafavakeri 

 

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

https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug-qpp-platform-designer.pdf#page=399

 

Best Regards,
Richard Tan

p/s: If any answer from the community or Intel support are helpful, please feel free to give Kudos. 

0 Kudos
musthafavakeri
3,045 Views

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

 

 

0 Kudos
RichardTanSY_Intel
3,037 Views

Hi @musthafavakeri 

 

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. 

0 Kudos
RichardTanSY_Intel
3,001 Views

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. 

0 Kudos
Reply