Technical data
bp
ModelSim EE/SE Command Reference ModelSim Commands CR-41
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.
Note: Any breakpoints set in VHDL code and called by either resolution functions or functions that appear
in a port map are ignored.
See also
add button command
(CR-20), bd command (CR-39), disablebp command (CR-
64)
, enablebp command (CR-77), and the onbreak command (CR-106), and the
when command
(CR-226)