mirror of
https://github.com/verilator/verilator.git
synced 2025-01-10 00:27:35 +00:00
d4f7f5297a
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".
16 lines
686 B
Plaintext
16 lines
686 B
Plaintext
:: In top.t
|
|
Time scale of t is 1ps / 1fs
|
|
[60000] time%0d=60 123%0t=123000
|
|
dig%0t=5432109876543000 dig%0d=5432109876543
|
|
rdig%0t=5432109876543209 rdig%0f=5432109876543.209961
|
|
[0.060000ns] time%0d=60 123%0t=0.123000ns
|
|
dig%0t=5432109876.543000ns dig%0d=5432109876543
|
|
rdig%0t=5432109876.543209ns rdig%0f=5432109876543.209961
|
|
[0.060000ns] stime%0t=0.060000ns stime%0d=60 stime%0f=60.000000
|
|
[0.060000ns] rtime%0t=0.059999ns rtime%0d=60 rtime%0f=60.000000
|
|
global vpiSimTime = 0,60000 vpiScaledRealTime = 60000
|
|
global vpiTimeUnit = -12 vpiTimePrecision = -15
|
|
top.t vpiSimTime = 0,60000 vpiScaledRealTime = 60
|
|
top.t vpiTimeUnit = -12 vpiTimePrecision = -15
|
|
*-* All Finished *-*
|