Open tudortimi opened 8 years ago
In general, digital simulations use the 4-value logic. VHDL's 9 levels of strength are used mostly for analogue modeling or low level component modelling. So I think using not, is quite safe. It is indeed better to use $stable instead of current implementation.
The property checks that
sel
doesn't go down one cycle after it goes up:Since what it's checking is the or reduce of
sel
, what is still allowed by the property is that sel changes to a different slave, but doesn't go down completely. Moreover, thenot
operator seems to cause problems with strong/weak semantics in certain simulators. The use of overlapping implication followed by a delay also spawns extra threads, which might cause some performance overhead. You could rewrite the assertion as: