- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm newbie in Quartus and am starting to learn Quartus design flow. Certain documents I've found on the web, mention that one can run ModelSim simulation from Quartus. Unfortunately it didn't work properly. Here is my setup:- Parent module: module_parent.vhd
- Child module: module_child.vhd
- Testbench: tb.vhd (not included in the design, but specified in Settings/EDA Tool Settings/Simulation/Compile Test Bench)
Link Copied
8 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may find it easier just to drive modelsim yourself:
from the modelsim transcript window:
cd <your_working_folder>
vlib work
vcom module_child.vhd
vcom module_parent.vhd
vcom tb.tv
vsim tb
run 10 us
restart -f
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks,
It works. But is it the only way to launch ModelSim simulation from Quartus ? Is it possible to create some scenario to accelerate the things ? Another curious detail: after simulation launched, I didn't see signals mapped to outputs ... quite strange.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've found found the reason why output-mapped signals aren't shown - when I uncheck "Enable Optimisation" in ModelSim simulation setup, it becomes Ok.
Try to find corresponding option for vsim ... there's too many of them. There is -vopt that enable optimization, but I didn't find any option to disable it. Can it be disabled only via ModelSim simulation options ?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Finally I've found it:
-novopt- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Is it possible to create some scenario to accelerate the things ? --- Quote End --- Yes, you can put all your commands in a do script type: do my_script.do at the prompt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Yes, you can put all your commands in a do script type: do my_script.do at the prompt --- Quote End --- It works once ModelSim running ? Is it possible to automatize things Quartus side, i.e. click on "RTL Simulation" which would result ... ModelSim launches, compile all 3 entities and starts simulation ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've recreated project and now it's Ok, i.e. I can launch ModelSim directly from Quartus and ModelSim correctly compiles both entities and runs simulation.
Probably there was something wrong with my previous setup.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you can add a do script in the simulation settings somewhere in (i think it is) project->assignments and settings.
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