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.

Configuring new line triggering in the List window UM-267<br />

2 Check the Use Gating Expression check box <strong>and</strong> click Use Expression Builder.<br />

3 Select the signal in the List window that you want to be the enable signal by clicking on<br />

its name in the header area of the List window.<br />

4 Click Insert Selected Signal <strong>and</strong> then 'rising in the Expression Builder.<br />

5 Click OK to close the Expression Builder.<br />

You should see the name of the signal plus "'rising" added to the Expression entry box of<br />

the Modify Display Properties dialog box.<br />

6 Click OK to close the dialog.<br />

If you already have simulation data in the List window, the display should immediately<br />

switch to showing only those cycles for which the gating signal is rising. If that isn't quite<br />

what you want, you can go back to the expression builder <strong>and</strong> play with it until you get it<br />

the way you want it.<br />

If you want the enable signal to work like a "One-Shot" that would display all values for<br />

the next, say 10 ns, after the rising edge of enable, then set the On Duration value to 10 ns.<br />

Trigger gating example using comm<strong>and</strong>s<br />

The following comm<strong>and</strong>s show the gating portion of a trigger configuration statement:<br />

configure list -usegating 1<br />

configure list -gateduration 100<br />

configure list -gateexpr {/test_delta/iom_dd'rising}<br />

See the configure comm<strong>and</strong> (CR-123) for more details.<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!