Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17255 Discussions

Quartus II <--> Modelsim | Back and forth while debugging without closing Modelsim?

Altera_Forum
Honored Contributor II
2,070 Views

Hello all, 

 

I am not an experienced Modelsim user and I find difficulties doing the verification of my designs. So while developing a design in Quartus I need to simulate a part of it with Modelsim (through Nativelink) and then go back to Quartus make changes, do Analysis and Synthesis and simulate again. The iterations are many but I do the silly thing of closing and opening Modelsim through Nativelink so that the changes apply. What are the necessary steps to do while being in Modelsim and having recompiled the project in Quartus so that I can simulate the updated version of my design? 

 

Thank you in advance.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
1,313 Views

It has been a while since I used the Quartus II NativeLink to launch ModelSim as I now do that from within the Sigasi VHDL editor, but I guess that the following also applies: 

Once your project has been loaded by ModelSim you can refresh it by issuing the 'restart -f' command. ModelSim will then reload modified files and you can re-run the simulation. Beware that if there is a syntax error ModelSim may/will loose the project and you have to close/relaunch ModelSim. So it makes good sense running the Analysis & Synthesis step to verify your changes first. (in Sigasi the ModelSim compiler is automatically launched on saving a source file)
0 Kudos
Reply