- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 in functionality of the both although i have given a genric name. If in rtl one set of files are used the other set will never be used in the syntehsis. My problem is i want to have both set of files with the same names in the qsf which at present throws an error that the modules cannot be declared more than once. Is there a way i can use condition in the qsf file like if (condition) then use this set else the other. Any help will be appreciated.Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My 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)- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok i got you RYSC...Yes i am using the generate statement to call them...Still thanks for the help.. i guess if this ambiguity arises of loading of the build then its better to stay away from such a state.
Thanks a lot.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page