Forum Discussion
Altera_Forum
Honored Contributor
9 years agoError:invalid command name "quartus_sh"
Hi, I want to run some_script.tcl before compilation. To do it I set "set_global_assignment -name PRE_FLOW_SCRIPT_FILE quartus_sh:some_script.tcl" in tcl console. But there is no effect from s...
Altera_Forum
Honored Contributor
9 years agoWhere are you seeing that invalid command name error? When hitting compile and the pre_flow_script is run, or are you typing it into Quartus Tcl. It is not part of the Quartus Tcl console.
When you say there is no effect, what do you mean? I assume some_script.tcl exists in the project directory. When you compile, I believe there should be messages that it is running a script. Maybe add as the first line of your script something like: post_message "some_script.tcl is running" I'm attaching an example one I have lying around, although it's over ten years old, but I believe it should work.