In reply to dave_59:
On eda 4 tools give output as :
1.53 a == 6 @ T == 1530
4.09 b == 9 @ T == 4090
5.637 c == 4 @ T == 5637
For the output using %t , global precision of 1ps is being used whereas as per LRM Table 20-3
default value of argument units_number uses the smallest of all `timescale compiler directive i.e 1ns
LRM doesn’t mention if the default value of units_number is dependent on timeprecision construct .
It only mentions about `timescale compiler directive
Hence I expected for %t the value is displayed in 1ns ( smallest timeprecision specified in `timescale ) :
1.53 a == 6 @ T == 1.53
4.09 b == 9 @ T == 4.09
5.637 c == 4 @ T == 5.637
Am I missing something ?
You previously quoted :
the default is to scale the formatted time to the global time precision
With the timeunit additions within the module , isn’t it ( i.e your above quote ) different than what LRM Table 20-3 says ?