In reply to ben@SystemVerilog.us:
Hi, Ben
Sorry for the late response.
I actually thought about the implementation as you wrote, but what about if the A/B wasn’t not synchronous to the clk ? Which means we probably will miss the event $rose(A) since we only validate the assertion in @posedge clk …
Please feel free to correct me if I was wrong somewhere .
Thanks so much,
WangYang