Thank you Ben for the reply and explanation. I have following questions wrt above:
-
The sequence match results only in the third OR term as v=0 is anded with v==1’b0. First two OR terms will be zero when fused with v==1’b0 as v is not equal to 1’b0 in first two OR terms.
Is this correct? -
What is the sequence_mathc_item here?
-
Why is last term a==1 fused with the resultant expression?
Actually I am not clear about how the last term (v==1’b0) is fused (anded). (a==1 ##1 a==1 ##1 a==1, v=0) ##0 v==1’b0). Sequence fusion is equivalent to an and operation. So how is (a==1 ##1 a==1 ##1 a==1, v=0) ##0 v==1’b0) evaluated? Last term (a==1, v=0) has to be anded with v==1’b0. I am not clear how this works. May be something seriously wrong with my understanding.
regards,
-sunil