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-276 9 - Waveform analysis<br />

Specifying the comparison method<br />

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

The Waveform Compare feature provides two comparison methods:<br />

Continuous comparison – Test signals ar e compared to reference signals at each<br />

transition of the reference. Timing differences between the test <strong>and</strong> reference signals are<br />

shown with rectangular red markers in the Wave window <strong>and</strong> yellow markers in the List<br />

window.<br />

Clocked comparisons – Signals are compared only at or just after an edge on some signal.<br />

In this mode, you define one or more clocks. The test signal is compared to a reference<br />

signal <strong>and</strong> both are sampled relative to the defined clock. The clock can be defined as the<br />

rising or falling edge (or either edge) of a particular signal plus a user-specified delay.<br />

The design need not have any events occurring at the specified clock time. Differences<br />

between test signals <strong>and</strong> the clock are highlighted with red diamonds in the Wave<br />

window.<br />

To specify the comparison method, select Tools > Waveform Compare > Options <strong>and</strong><br />

select the Comparison Method tab.<br />

Continuous comparison<br />

Continuous comparisons are the default. You have the option of specifying leading <strong>and</strong><br />

trailing tolerances <strong>and</strong> a when expression that must evaluate to "true" or 1 at the signal edge<br />

for the comparison to become effective. See "Add Signal Options dialog" (GR-244) for more<br />

details on this dialog.

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

Saved successfully!

Ooh no, something went wrong!