Dear Community,
I have simple question - can we use == in SVA, instead of |-> operator?
For example instead of using in property:
property example(lhs, rhs);
@(posedge CLK) disable iff (!RSTN)
(lhs |-> rhs) and (!lhs |-> !rhs)
endproperty
we can use
property example(lhs, rhs);
@(posedge CLK) disable iff (!RSTN)
// own reset, replaces the default one
lhs == rhs;
endproperty
Is it okay to use it?
Have anyone faced issues when using “==” statement?
Thanks
Hayk