BugHunter Pro and the VeriLogger Simulators

db_getcurrenttime

db_getcurrenttime

Previous topic Next topic  

db_getcurrenttime

Previous topic Next topic  

Outputs the current simulation time as a floating-point number and time unit.

Syntax:

$db_getcurrenttime()

Outputs a string in the following format:

"Current simulation time: <time> <s,ms,us,ns,ps,fs>"

Related Functions:

db_printinternaltimeprecision