Jump to content

Best Technique to Measure Simulation Times using QuestaSim


Recommended Posts

What is the best way to measure simulation time using QuestaSim? I would like to do some same-tool benchmarks to measure simulation performance improvements using different coding styles or tricks using the same simulator.

 

I do not intend to do cross-tool benchmarking; only same-tool benchmarking. I will check to see if techniques used with one tool also cause similar performance improvements across multiple tools, but I will not report actual speed differences between the tools (in accordance with my tool-usage agreements with multiple vendors).

 

I am trying to identify best performance coding practices.

 

The best technique I currently have is to do: "time vsim -c -do "run -all" top-level-module"

 

This reports: real / user / sys times.

 

Regards - Cliff Cummings

Verilog & SystemVerilog Guru

Link to post
Share on other sites

Sorry, was in a rush yesterday. Just add simstats cpu (or just simstats) to the end of your simulation script and Questa will give you a bunch of statistics including the time vsimk (the simulation kernel) runs.

vsim -c -do "run -all; simstats" top-level-module"

See the command reference manual for more info.

Regards,
Hans.
www.ht-lab.com

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...