Elapsed time since beginning of test step
after(
returns true if the amount of time (n
,timeunits
)n
) in
timeunits
has elapsed since the beginning of the current test step.
You must include the timeunits
.
Valid time units are:
sec — seconds
msec — milliseconds
usec — microseconds
Specify 20 seconds as the time that has elapsed since the beginning of the test step.
This statement returns true
only after 20 seconds has passed.
after(20,sec)
after
statements can be used in the Test Sequence and Test Assessment
blocks and in Stateflow® charts.