Setting signal breakpoints
You can set signal breakpoints (a.k.a., when breakpoints; see the when command for more details) via a context menu in the Signal window. When statements instruct ModelSim to perform actions when the specified conditions are met. For example, you can break on a signal value or at a specific simulator time (see "Time-based breakpoints" ). When a breakpoint is hit, a message appears in the transcript window about which signal caused the breakpoint.
To access the breakpoint commands, select a signal and then click your right mouse button (2nd button in Windows; 3rd button in UNIX). To set a breakpoint on a selected signal, select Add Breakpoint from the context menu. To remove a breakpoint from a selected signal, select Remove Signal Breakpoint. To remove all breakpoints in the current region, select Remove All Signal Breakpoints. To see a list of currently set breakpoints, select Show Breakpoints.
The Edit Breakpoint command opens the Edit When dialog box.
The Edit When dialog includes the following options:
- Condition
The condition(s) to be met for the specified command(s) to be executed. Required. See the when command for more information on creating the condition statement.- Opt. Label
An optional text label for the when statement.- Command(s)
The command(s) to be executed when the specified condition is met. Any ModelSim or Tcl command or series of commands are valid with one exception-the run command cannot be used.The Edit All Breakpoints command opens the Breakpoints dialog box. See "Setting file-line breakpoints" for details.
Model Technology Incorporated Voice: (503) 641-1340 Fax: (503)526-5410 www.model.com sales@model.com |