24.03.2013 Views

ModelSim SE User's Manual - Electrical and Computer Engineering

ModelSim SE User's Manual - Electrical and Computer Engineering

ModelSim SE User's Manual - Electrical and Computer Engineering

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Auto find bp versus Auto step mode<br />

Identifying all registered function calls UM-409<br />

As noted in "Finding function entry points with Auto find bp" (UM-406), the Auto find bp<br />

comm<strong>and</strong> also locates <strong>and</strong> sets breakpoints at function entry points. Note the following<br />

differences between Auto find bp <strong>and</strong> Auto step mode:<br />

Auto find bp provides a "snapshot" of currently known function entry points at the time<br />

you invoke the comm<strong>and</strong>. Auto step mode continues to locate <strong>and</strong> set automatic<br />

breakpoints in newly registered function calls as the simulation continues. In other<br />

words, Auto find bp is static while Auto step mode is dynamic.<br />

Auto find bp sets automatic breakpoints in an enabled state <strong>and</strong> doesn’t change that state<br />

to account for step-over or run-continue comm<strong>and</strong>s. Auto step mode enables <strong>and</strong> disables<br />

automatic breakpoints depending on how you step through the design. In cases where you<br />

invoke both features, Auto step mode takes precedence over Auto find bp. In other words,<br />

even if Auto find bp has set enabled breakpoints, if you then invoke Auto step mode, it<br />

will toggle those breakpoints to account for step-over <strong>and</strong> run-continue comm<strong>and</strong>s.<br />

<strong>ModelSim</strong> <strong>SE</strong> User’s <strong>Manual</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!