Technical data
bp
278
-
Simulator Command Reference ModelSim EE/PLUS Reference Manual
bp
The
bp
or breakpoint command sets a breakpoint. If the source file name and line
number are omitted, or the -query option is used, this command lists all the
breakpoints that are currently set. Otherwise, the command sets a breakpoint in the
specified file at the specified line. Once set, the breakpoint affects every instance
in the design.
Syntax
bp
[-query] [<filename> <line_number> [{<command> ...}]]
Arguments
-query
Returns a list of the currently set breakpoints. Optional.
<filename>
Specifies the name of the source file in which the breakpoint is to be set. Optional; if
omitted, all current breakpoints are listed.
<line_number>
Specifies the line number at which the breakpoint is to be set. Optional; if omitted, all
current breakpoints are listed.
{<command>...}
Specifies one or more commands that are to be executed at the breakpoint. Optional.
Multiple commands must be separated by semicolons (;) or placed on multiple lines. The
entire command must be placed in curly braces.
Any commands that follow a
run
(p361) or
step
(p371) command will be ignored.
The
run
or
step
command terminates the breakpoint sequence. This applies if
macros are used with the
bp
command string as well. A
restore
(p357) command
should not be used.
If many commands are needed after the breakpoint, they can be placed in a macro
file.