verilator/test_regress/t/t_time_vpi_1fs1fs.out
Wilson Snyder d4f7f5297a
Support IEEE time units and time precisions, #234. (#2253)
Includes `timescale, $printtimescale, $timeformat.
VL_TIME_MULTIPLIER, VL_TIME_PRECISION, VL_TIME_UNIT have been removed
and the time precision must now match the SystemC time precision.
To get closer behavior to older versions, use e.g. --timescale-override
"1ps/1ps".
2020-04-15 19:39:03 -04:00

16 lines
683 B
Plaintext

:: In top.t
Time scale of t is 1fs / 1fs
[60] time%0d=60 123%0t=123
dig%0t=5432109876543210 dig%0d=5432109876543210
rdig%0t=5432109876543210 rdig%0f=5432109876543210.000000
[0.000060ns] time%0d=60 123%0t=0.000123ns
dig%0t=5432109876.543210ns dig%0d=5432109876543210
rdig%0t=5432109876.543210ns rdig%0f=5432109876543210.000000
[0.000060ns] stime%0t=0.000060ns stime%0d=60 stime%0f=60.000000
[0.000060ns] rtime%0t=0.000060ns rtime%0d=60 rtime%0f=60.000000
global vpiSimTime = 0,60 vpiScaledRealTime = 60
global vpiTimeUnit = -15 vpiTimePrecision = -15
top.t vpiSimTime = 0,60 vpiScaledRealTime = 60
top.t vpiTimeUnit = -15 vpiTimePrecision = -15
*-* All Finished *-*