Detect data change in test step
if the value of
u changes since the beginning of the test step.
x has changed value. This statement returns
x has changed.
For a bus with two signals,
data as the name of the input to the
test sequence, detect when the value of
signal_2 has changed.
hasChanged statements can be used in the Test Sequence and Test
Assessment blocks and in Stateflow® charts.