- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
In Quartus-II, how the tool distinguish between the RTL (design) and Simulation files? How should I add the Simulation/Testbench files to Quartus-II project? How should I mark them so that they will not take a part in the implementation flow? Thank you!Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you enter a top level entity for Quartus, this can be done in the project settings. I beleve you can also rightclick a file in the fileslist and select "set as top level entity". as your top level won't include testbenches this is being taken care of automatically.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For RTL simulation files (.v or .vhd), Quartus cannot distinguish between synthesis and simulation files other than when you try to synthesize a simulation file that has commands that can't be synthesized.
All you need to do in Quartus is add the synthesis files in the project settings, setting one of them as the top-level entity. Any files not in the settings, even if it is in your project directory, will not be used for synthesis.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quartus is not a simulation tool. You should only include RTL design files.
Simulation files should only be included in a simulation tool (like modelsim)- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Quartus is not a simulation tool. You should only include RTL design files. Simulation files should only be included in a simulation tool (like modelsim) --- Quote End --- I also use Quartus as my editor and for quick access to testbences I also include these in my project. I never had problems with that. I even have some tcl scripts in there. I am not saying itis good practice, only that it doesn't cause problems for me if I do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- I also use Quartus as my editor and for quick access to testbences I also include these in my project. I never had problems with that. I even have some tcl scripts in there. I am not saying itis good practice, only that it doesn't cause problems for me if I do. --- Quote End --- Thats fine - the OP was asking about adding files to the project. I have also edited random stuff in quartus - but if you add them to the project it will try and compile them and fail.
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