Forum Discussion
Altera_Forum
Honored Contributor
17 years agoFor subversion I did it with a pre flow tcl script. This scrit is run automatically before compilatio starts. You have to set a variable in the qsf file like this :
set_global_assignment -name PRE_FLOW_SCRIPT_FILE "quartus_sh:./VersionInfoGenerator/svn.tcl" In the script I generate a design file (verilog in my case) that contains some registers with the version number. I suspect that for cvs the same must be possible. See also : http://www.altera.com/support/examples/tcl/tcl-svn-revision.html (http://www.altera.com/support/examples/tcl/tcl-svn-revision.html) Stefaan