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

ModelSim testbench tutorial

LChow3
Novice
991 Views

Refer to the attached tutorial, page 2, the wave.do file is provided in the folder when I downloaded the tutorial. 

How to create this initial wave.do file if I am doing a new testbench for different circuit?

Thank you. 

0 Kudos
4 Replies
Nurina
Employee
982 Views

Hi,


I'm assuming the simulation method in the tutorial calls for a scripted flow, where you write your own .do file. This tutorial gives a quick-start on how to perform simulation on ModelSim: https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/archives/ug-20093-17-0.pdf?wapkw=quick-start%20quartus%20pro

What you can do is use the .do file from the tutorial as a template and then edit to however you like.


A simpler simulation method is using the NativeLink flow, where you design and save the project on Quartus, then run an RTL simulation hence invoking ModelSim through Quartus. This way the .do file will be generated automatically. Here is the tutorial for that: https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/archives/ug_gs_msa_qii-17-0.pdf?wapkw=quick-start%20quartus%20standard


Regards,

Nurina


0 Kudos
LChow3
Novice
969 Views

When I followed the steps in https://www.intel.com/content/www/us/en/programmable/documentation/aym1499789502823.html#myk1498083534479

 

I get this error when I click on Tools > Run Simulation Tool > RTL Simulation.

 

LChow3_0-1626076049002.png

 

0 Kudos
Nurina
Employee
964 Views

Hi,


Does your project directory have a space in the pathname? Try changing the pathname such that there's no space in it. https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base/solutions/rd05272013_352.html


Regards,

Nurina


0 Kudos
Nurina
Employee
951 Views

Hi,

We did not receive any response to the previous question/reply/answer that I have provided, thus I will put this case to close pending. Please post a response in the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you with your follow-up questions.

Regards,
Nurina

P/S: If you like my comment, feel free to give Kudos. If my comment solved your problem, feel free to accept my comment as solution!

0 Kudos
Reply