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

Using: set_global_assignment -name QIP_FILE in .tcl script fails

Altera_Forum
Honored Contributor II
1,551 Views

Title says it all really. 

 

I have a setup that requires the use of environment variables when setting these kind of assignments. Most seem to work, but when it comes to QIP_FILE assignments in a tcl script, Quartus errors. 

Using an explicit path in the .qsf project file works. Is there any way of using environment variables in a .qsf file, or am I doing something wrong in my .tcl script? 

 

The line I am using is: 

 

set_global_assignment -name QIP_FILE $::env(MY_VAR_PATH)/my/path/my.qip 

 

Any help on this would be great, 

 

Thanks in advance!
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
500 Views

You shouldn't need the full path to your qip file. The command line tools use the connected directory as the starting point. If you run your script while connected to your top level project directory it should work fine.

0 Kudos
Reply