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

tcl error

s002wjh
New Contributor I
1,071 Views

when running command 

quartus_sh -t my.tcl   under cento terminal  

i receive following error

ERROR: Quartus II Tcl command "execute_flow" belongs to the "::quartus::flow" package which is currently not loaded. Please type "load_package flow" to load the

pretty sure its this code cause the error. the tcl work fine under quartus tcl console

"execute_flow -compile"

0 Kudos
1 Solution
RichardTanSY_Intel
1,055 Views

The error message explains that you need to add the load_package flow in your tcl script. 
For example: 

## Open the project, run a compilation, and
## export the project database to
## version-compatible database files
load_package database_manager
load_package flow
set project chiptrip
project_new $project -overwrite
execute_flow -compile
export_database backup
project_close $project

Reference: Quartus II Scripting Reference Manual 

Best Regards,
Richard

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

View solution in original post

0 Kudos
2 Replies
RichardTanSY_Intel
1,056 Views

The error message explains that you need to add the load_package flow in your tcl script. 
For example: 

## Open the project, run a compilation, and
## export the project database to
## version-compatible database files
load_package database_manager
load_package flow
set project chiptrip
project_new $project -overwrite
execute_flow -compile
export_database backup
project_close $project

Reference: Quartus II Scripting Reference Manual 

Best Regards,
Richard

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

0 Kudos
RichardTanSY_Intel
1,033 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