Jump to content
c4brian

RivieraPro tip: how to display wall-clock sim time

Recommended Posts

will display wall-clock simulation run time upon simulation end; thanks Sunil at Aldec:

  set start_time [clock clicks -millisec]
  run $SIMTIME ; # pass sim time (you must set this previously)
  set run_time [expr ([clock clicks -millisec]-$start_time)/1000.]
  puts "Sim  Time: $run_time sec. \n"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×