User guide
17-19
Using the PLI
Example 1
The following specification enables many interactive commands
including those for displaying the values of signals in specified
modules and depositing values to the signals that are registers:
acc+=r:top,mid,bot
Notice that there are no blank spaces in this specification. Blank
spaces cause a syntax error.
cbk or callback
Commands for doing the following (the actual CLI
commands described are in parentheses):
• Setting a repeating breakpoint. In other words always
halting simulation, when a specified signal changes value
(always or break)
• Setting a one shot breakpoint. In other words halting
simulation the next time the signal changes value but not
the subsequent times it changes value (once or tbreak)
• Removing a breakpoint from a signal (delete)
• Showing the line number or number in the source code
of the statement or statements that causes the current
value of a net (show drivers)
A longer way to specify this capability is with the callback
keyword.
frc or force
Commands for doing the following, (the actual CLI
commands described are in parentheses):
• Forcing a net or a register to a specified value so that this
value cannot be changed by subsequent simulation
events in the design (force)
• Releasing a net or register from its forced value
(release)
A longer way to specify this capability is with the force
keyword.
ACC Capability What it enables your PLI functions to do