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.

UM-380 14 - PSL Assertions<br />

Setting failure action<br />

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

<strong>ModelSim</strong> can take one of three actions when an assertion fails: it can log the failure in the<br />

transcript <strong>and</strong> continue the simulation; it can break (pause) the simulation; or it can stop <strong>and</strong><br />

exit the simulation. By default the failure action is "continue."<br />

To set assertion action in the GUI, right-click an assertion in the Assertions pane <strong>and</strong> select<br />

Failure Action <strong>and</strong> then Continue, Break, or Exit.<br />

To gain greater control over setting failure action, right-click an assertion <strong>and</strong> select<br />

Change (or Edit > Advanced > Change from the menu bar). This opens the Change<br />

assertions dialog.<br />

Click here<br />

to select<br />

failure<br />

action<br />

See "Configure assertions dialog" (GR-114) for descriptions of the dialog options.<br />

You can also set failure action using the assertion fail comm<strong>and</strong> (CR-63).

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

Saved successfully!

Ooh no, something went wrong!