i have an assertion where in i have to check if A signal is having value 2 before the event checkA and if A is having vlue 6 after event checkA
i also want to check this value with clock pulse named clk…
i wrote my assertion as ,
property p;
@ (posedge clk) $rose(checkA)|-> (($past(A, 2) == 2) && (A == 6));
endproperty
a : assert (p)
this is not working …
Can you help ?