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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

UM-266 9 - Waveform analysis<br />

Using gating expressions to control triggering<br />

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

Option Description<br />

Strobe trigger Specify an interval at which you want to trigger data display<br />

Trigger gating Use a gating expression to control triggering; see "Using<br />

gating expressions to control triggering" (UM-266) for more<br />

details<br />

Trigger gating controls the display of data based on an expression. Triggering is enabled<br />

once the gating expression evaluates to true. This setup behaves much like a hardware<br />

signal analyzer that starts recording data on a specified setup of address bits <strong>and</strong> clock<br />

edges.<br />

Here are some points about gating expressions:<br />

Gating expressions affect the display of data but not acquisition of the data.<br />

The expression is evaluated when the List window would normally have displayed a row<br />

of data (given the other trigger settings).<br />

The duration determines for how long triggeri ng stays enabled after the gating expression<br />

returns to false (0). The default of 0 duration will enable triggering only while the<br />

expression is true (1). The duration is expressed in x number of default timescale units.<br />

Gating is level-sensitive rather than edge-triggered.<br />

Trigger gating example using the Expression Builder<br />

This example shows how to create a gating expression with the <strong>ModelSim</strong> Expression<br />

Builder. Here is the procedure:<br />

1 Select Tools > Window Preferences to access the Triggers tab.

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

Saved successfully!

Ooh no, something went wrong!