Sensitivity List

Syntax: event_list_statement::==
@ (event_exp or event_exp)
event_exp::==
(event_exp or event_exp).

If we wish to execute a block when any of a number of variables change we can use the sensitivity list to list the triggers seperated by or

        always @ (i_change or he_changes or she_changes)
             somebody_changed = 1;

A change in any of the variables will cause execution of the second statement. As you can see this is just a simple extention to the idea of event based timing control described in the previous section.


previous next contents