Forum Discussion
Altera_Forum
Honored Contributor
14 years agoProblem with files lists in QSF.
Hi all, I have a problem with the set of files i want to use in my synthesis. I have two sets of files with exactly same names but are placed in different directories. The difference lies ...
Altera_Forum
Honored Contributor
14 years agoMy first recommendation is to not do this. If the have different contents they should have different names. Your code can then use a generate statement or something like that to call them out.
The .qsf is not a script, just a location that stores assignments. You could do a pre-flow .tcl script that adds the correct file to the .qsf and removes the incorrect one. This would have the issue in that there's almost no way to tell which one was loaded on a particular build(without searching the .map.rpt to see which one was loaded in)