In reply to Alonso14:
Quick question related to the things discussed above,
- Can i replace the commented line with the following ?? will this satisfy the prob criteria ??
- How will this property be evaluated in first 4 cycles ?? as we will not have $past(a,5)
property check_a_b;
@(posedge clk) disable iff(reset)
b == $past(a,5); // int v_a;
// (!$stable(a), v_a = a)|-> ##5 (v_a==b);
endproperty
assert property(check_a_b)else $display("failed");