Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15380 Discussions

ModelSim testbench tutorial

LChow3
Novice
212 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
203 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.p...

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-1...


Regards,

Nurina


LChow3
Novice
190 Views

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

 

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

 

LChow3_0-1626076049002.png

 

Nurina
Employee
185 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...


Regards,

Nurina


Nurina
Employee
172 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!

Reply