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

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

Altera_Forum
Honored Contributor II
1,491 Views

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
Altera_Forum
Honored Contributor II
404 Views

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
0 Kudos
Reply