Forum Discussion
SKon1
Occasional Contributor
6 years agoExecuting a user added TCL script
Hello,
If I write the following 2 lines of code inside Quartus TCL console:
set f [open d:/some_file.vhd w]
close $f
I get a file named "some_file.vhd" created in d:/ of my PC. I wanted t...
mfro
Occasional Contributor
6 years agoThat's not how it works.
If you want to execute a specific .tcl script everytime you start the Quartus compilation process (which is what I understood you wanted to do), you need to manually add another line to your <project>.qsf file:
set_global_assignment -name PRE_FLOW_SCRIPT_FILE "quartus_sh:<your_tcl_file>.tcl"