Hi @dave_59 , i have gone through SV LRM, page 611
Similarly, assertion action control tasks $assertpasson, $assertpassoff, $assertfailon,
$assertfailoff, $assertvacuousoff, and $assertnonvacuouson are provided for convenience and
backward compatibility. These tasks can be defined as follows:
β $assertpasson[(levels[, list])] is equivalent to $assertcontrol(6, 31, 7, levels [,list])
β $assertpassoff[(levels[, list])] is equivalent to $assertcontrol(7, 31, 7, levels [,list])
β $assertfailon[(levels[, list])] is equivalent to $assertcontrol(8, 31, 7, levels [,list])
β $assertfailoff[(levels[, list])] is equivalent to $assertcontrol(9, 31, 7, levels [,list])
β $assertnonvacuouson[(levels[, list])] is equivalent to $assertcontrol(10, 31, 7, levels [,list])
β $assertvacuousoff[(levels[, list])] is equivalent to $assertcontrol(11, 31, 7, levels [,list])
so i think its not compatible in newer compiler.
so i tried with the equivalent sytem task β $assercontrol () with cadence compiler
initial $assertcontrol(11,1);
|
xmsim: *W,ILUNIP (../design/clk_check.sv,15|21): Illegal or no value provided as second argument of $assertcontrol task. Assuming unique, unique0 and priority.
initial $assertcontrol(11,1);
|
xmsim: *W,ILUNPR (../design/clk_check.sv,15|21): Illegal value provided as first argument of $assertcontrol task. Assuming value 3.
Simulation complete via $finish(1) at time 40 NS + 0
../design/clk_check.sv:12 $finish();
xcelium> exit
TOOL: xrun 23.05-a071: Exiting on Sep 02, 2024 at 22:39:48 PDT (total: 00:00:17)