Forum Discussion
Altera_Forum
Honored Contributor
10 years agoTcl script does not run during compilation
The tcl script that supposed to update .v file runs fine if I run it from the tcl console but it does not run during compilation. Both .tcl and .v files are in the project files list. Any idea?
Altera_Forum
Honored Contributor
10 years agoThe "project_open...project_close" lines go in the .tcl script. When you press compile, you should see messages that it's running the pre-flow script. (If the script is just writing out an HDL file that has version and time, i.e. it's not doing anything to the project, then you don't need the project_open/project_close.
http://www.alterawiki.com/wiki/tcl_scripts_for_automatic_build_identification