On the quest to remove redundant code from my testbenches,
$time was among the victims to be dropped from all SV call
Now I’m using $realtime instead of $time when writing SVAs.
Take the following statement along with its output as example:
$fatal(`ASSERT_LEVEL, "[%m]: Assertion property pp_ahb_readyout_resp failed @ time %0t", $time);
# ** Fatal: [tb_env.ap_ahb.readyout_resp]: Assertion property pp_ahb_readyout_resp failed @ time 1410830.00 ns # Time: 1410829553 ps Started: 1410496219 ps Scope: tb_env.ap_ahb.readyout_resp File: tb_env.sv Line: 610 Expr: hready_sbus_slv==hreadys
$time is already highlighted by questa’s verbose message.