Assertion to check for the toggle (0->1) of a signal

In reply to ben@SystemVerilog.us:

Hi Ben,

What about if I want to see that signal sig2 should change only once during simulation after sig1 asserted and error should fire if changed more than once.

@(posedge clk) strong(##[1:$] $rose(sig1)) );

This assertion only check once and it will be finished.