When master signal is asserted a slave signal should be asserted after some time delay. the assertion is not failing if the duration is more

In reply to mbhat:

SVA is based on clocking events. In the above example, if the clock period is 100ns and duration is anything other than an integral of the 100ns period (e.g., 4.8* 100ns, or 4800ns) then the assertion will fail. You can argue that one must limit that duration must be an integral of the period, such as 5 times the period. In that case, you must as well use the max_cycles.

I strongly believe that since SVA is events-based, there is no need to use time in the assertion unless one need to measure, in $realtime, the time between events.

Ben Cohen
http://www.systemverilog.us/ ben@systemverilog.us
For training, consulting, services: contact Home - My cvcblr


  1. SVA Alternative for Complex Assertions
    Verification Horizons - March 2018 Issue | Verification Academy
  2. SVA: Package for dynamic and range delays and repeats | Verification Academy
  3. SVA in a UVM Class-based Environment
    SVA in a UVM Class-based Environment | Verification Horizons | Verification Academy