Technical data
when
ModelSim EE/SE Command Reference ModelSim Commands CR-229
Time-based breakpoints
You can build time-based breakpoints into a when statement with the following
syntax.
For absolute time (indicated by @) use:
when {$now = @1750ns} {stop}
You can also use:
when {errorFlag = ’1’ OR $now = 2ms} {stop}
This example adds 2ms to simulation time at which the when statement is first
evaluated, then stops.