Contents Up << >>
Conditional signal assignment
The conditional signal assignment statement alters the projected waveform
conditionally based on a boolean expression. The grammar rule is:
This assignment consists of a list of waveforms that should be applied if
the condition immediately following evaluates to true and a final waveform
that is applied if no conditions are true. The conditions are checked
sequentially from first to last and the first waveform of the first
condition is applied to the projected waveform. If more than one condition
is true, only the waveform corresponding to the first true condition is used.
For example,
operates as a multiplexer of four inputs.