Detect data change in test step
if the value of
u changes since the beginning of the test step.
Detect Value Change
x has changed value. This statement returns
x has changed.
Detect Value Change in a Bus
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.