Technical data
force
ModelSim EE/PLUS Reference Manual Simulator Command Reference
-
321
Examples
force input1 0
Forces input1 to 0 at the current simulator time.
force bus1 01XZ 100 ns
Forces bus1 to 01XZ at 100 nanoseconds after the current simulator time.
force bus1 16#f @200
Forces bus1 to 16#F at the absolute time 200 measured in the resolution units selected at
simulation start-up.
force input1 1 10, 0 20 -r 100
Forces input1 to 1 at 10 time units after the current simulator time and to 0 at 20 time units
after the current simulation time. This repeats every 100 time units, so the next transition is
to 1 at 110 time units afterwards.
force input1 1 10 ns, 0 {20 ns} -r 100ns
Similar to the previous example, but also specifies the time units. Time unit expressions
preceding the "-r" must be placed in curly braces.
See also
noforce
command (p332), and
change
command (p281)