Altera_Forum
Honored Contributor
17 years agosetting/using variables within a QSF
I'd like to be able to set text (and potentially numerical values) to variables that can be recalled throughout the QSF. QSF files are supposed to be interpretted as TCL files, but they don't support all TCL commands.
I've already tried the example below, but this is basically what I want to do: # declare and initialize the variable: set VAR_NAME VAR_VALUE . . . # use it in a constraint later in the QSF file: set_instance_assignment -name MISC_CONSTRAINT ON -to $VAR_VALUE This is easily done in SDC files with TimeQuest, but it doesn't seem to work in a QSF. Anyone do this successfully? Any ideas? I didn't see anything relevant in the QSF manual that supposedly lists all of the recognized commands/constraints, but I know there are supported commands that aren't in there (such as "source"), so I can't rule it out. That begs another question; is there a document that defines what TCL commands are successfully interpreted within a QSF?