[SVA] signal rises and stays stable check -> how to write an assertion?

In reply to dmitryl:

 
 // How can I write an assertion for signal "a", 
    // which should rise within between 10 to 20 cycles 
    // FROM 1) initialization,  
    // and stay stable (HIGH) until the assertion will be disabled?

    // FROM 1) initialization, 
    initial begin
        ap_a_init: assert property(##[10:20] $rose(a) |=> always(a));  
    end

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


See Paper: VF Horizons:PAPER: SVA Alternative for Complex Assertions | Verification Academy