Technical data

bp
ModelSim EE/PLUS Reference Manual Simulator Command Reference
-
279
Examples
bp
Lists all existing breakpoints in the design, together with the source file names and any
commands that have been assigned to breakpoints.
bp -query testadd.vhd
Lists the line number of all breakpoints in testadd.vhd.
bp alu.vhd 147
Sets a breakpoint in the source file
alu.vhd
at line 147.
bp alu.vhd 147 {do macro.do
}
Executes the
macro.do
macro file after the breakpoint.
bp test.vhd 22 {echo [exa var1]; echo [exa var2]}
Sets a breakpoint at line 22 of the file
test.vhd
and examines the values of the two variables
var1 and var2.
bp test.vhd 14 {if {$now /= 100} then {cont} }
Sets a breakpoint in every instantiation of the file
test.vhd
at line 14. When that breakpoint
is executed, the command is run. This command causes the simulator to continue if the
current simulation time is not 100.
See also
add button
command (p258),
bd
command (p277),
disablebp
command (p299),
enablebp
command (p309),
onbreak
command (p337), and the
when
command
(p398)