Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- can I put set_parameter directly in my version.tcl or it's only in the .qsf? --- Quote End --- Your version file can be Tcl, and can include any Quartus Tcl commands. You source that file via the Quartus Tcl console. So create a version file with the following syntax:
# version.tcl
set_parameter -name VERSION 14
set_parameter -name REVISION 10
--- Quote Start --- The .txt file is manually edited so I'm not treating it at all only reading it with TCL. --- Quote End --- Since the file is manually edited, I see no problem with the file simply being created in Tcl format. No need to complicate things :) Cheers, Dave