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.. Thank you.
The difference is when the antecedent (the expression on the left) succeeds, does the consequent (the expression on the right) start on the same clock cycle |->
(overlapping) or the next clock cycle |=>
(non-overlapping).
A handy way to remember this is there is only one bar in -
, so that is overlapping. And there is are two bars in =
, so that is non-overlapping.