Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

tcl error

s002wjh
New Contributor I
173 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
157 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

2 Replies
RichardTanSY_Intel
158 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. 

RichardTanSY_Intel
135 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. 

Reply