ReadID related Assertion

In reply to hisingh:
You do not need the use of the not. State what the what IS rather than what is NOT.


property  CheckRead ;
     int  localID ;
      ($rose( read ) , localID = readID )  |=>     
    !($rose(read) && readID==localID) [*1:$] ##0                       
           $rose(readAck)  &&  readAckID ==  localID;    
  endproperty  

My corrections:

BTW, you use too many () and too many spaces; it makes the code unreadable.
Ben Cohen
http://www.systemverilog.us/ ben@systemverilog.us
** SVA Handbook 4th Edition, 2016 ISBN 978-1518681448

  1. SVA Package: Dynamic and range delays and repeats SVA: Package for dynamic and range delays and repeats - SystemVerilog - Verification Academy
  2. Free books: Component Design by Example https://rb.gy/9tcbhl
    Real Chip Design and Verification Using Verilog and VHDL($3) https://rb.gy/cwy7nb
  3. Papers:

Udemy courses by Srinivasan Venkataramanan (http://cvcblr.com/home.html)
https://www.udemy.com/course/sva-basic/
https://www.udemy.com/course/sv-pre-uvm/