Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
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.
15539 Discussions

how to build the example project form *.tcl file?

Honored Contributor II

hi everyone: 

in my project, i have to add a Third party IP. 

i got a *.tcl file to build a example project. 

the IP's datasheet tell me to excute: 

quartus_sh -t ex1.quartus.tcl 

but in quartus tcl console, i tried " quartus_sh -t ex1.quartus.tcl" then error shows: 


Error:invalid command name "quartus_sh" 



can someone give me some help?
0 Kudos
1 Reply
Honored Contributor II

quartus_sh is a command line executable, not a tcl command. It is run in the context of the linux / windows/cygwin shell environment. 


If you are at the tcl command line prompt in a tcl shell, then you can use the tcl 'source' command to read a file as a tcl script: 


tcl> source some_file_name.tcl