Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is the difference between -> and => in system verilog assertions?

I wanted to know when to use -> and => in SVA. Are there any differences between:

sequence A;
 req |-> ##1 gnt;
endsequence

and:

sequence B;
 req |=> ##1 gnt;
endsequence

Please let me know.

like image 237
vivek M Avatar asked Oct 28 '25 15:10

vivek M


1 Answers

|=> is equivalent to |-> ##1
Therefore, req |=> ##1 gnt; is equivalent to req |-> ##2 gnt;

Refer to IEEE Std 1800-2012 § 16.12.6 Implication

like image 186
Greg Avatar answered Oct 31 '25 05:10

Greg