Hi All,
What’s the difference between the following assertions:
- a[=3:5]
- b[->3:5]
It seems in both cases the expressions a and b should happen between 3 and 5 times (not necessary on the consecutive clock cycles).
But what the difference?
Thank you!
In reply to dmitryl:
For more understand, I changed your example as:
- a ##1 b[=3:5] ##1 c
- a ##1 b[->3:5] ##1 c
Case 1: signal c doesn’t have to follow immediately after final b.
Example: a | !b | b | !b | b | !b | b | !b | c
Case 2: signal c has to follow immediately after final b (of course after 1 tick).
Example: a | !b | b | !b | b | !b | b | c