Altera_Forum
Honored Contributor
17 years agosourcing external read-only constraints files from within the QSF file
According to the Quartus ii V7.2 Handbook (4-25), sourcing of other QSF files is supported with the following command in the "parent" QSF:
source <filename>.qsf I have found that this also seems to work using "source <filename>.tcl" instead of ".qsf" but I don't know if that causes any other issues. For the record, I'm sourcing .tcl files, not .qsf files, and they are nested (sourced files source other files). OK, now on to my problem... I want to put some constraints in external files but make them read-only so those constraints can't be modified. The parent QSF will remain write-able so it can be editted through the GUI. Unfortunately, Quartus appears to declare that everything is read-only if any one of those sourced files are read-only, even though the parent QSF is not. This means that none of the settings can be adjusted from the GUI anymore. I am forced to leave my sourced files as write-able. Also, a nasty side-effect of sourcing files: If there is an invalid constraint anywhere or a syntax violation, Quartus takes all of the constraints out of the sourced files and dumps them into the bottom of the parent QSF. This is really annoying. Any way to disable this annoying feature? This is just another reason I'd like to keep the sourced files read-only.