cliffc Posted January 3, 2014 Report Share Posted January 3, 2014 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 Quote Link to comment Share on other sites More sharing options...
Hans64 Posted January 3, 2014 Report Share Posted January 3, 2014 simstats cpu Regards, Hans www.ht-lab.com Quote Link to comment Share on other sites More sharing options...
cliffc Posted January 4, 2014 Author Report Share Posted January 4, 2014 simstats cpu I'm not sure what this means or how to use it. Regards - Cliff Quote Link to comment Share on other sites More sharing options...
Hans64 Posted January 4, 2014 Report Share Posted January 4, 2014 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.