I want to write a simple assertion where if signal A is high , signal B must be high else generate error. If A is low, no check is needed.
I dont want to use clock as then my check will be limited to the clock period and any glitch smaller than clock period could be missed.
Thanks in advance for suggestions.
In reply to shals:
immediate assertion + “disable iff !A” can help you solve
In reply to kangrh007:
Thanks. That helped.