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.

GR-296 10 - Generating stimulus with Waveform Editor<br />

Using Waveform Compare with created waveforms<br />

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

The Waveform Compare feature compares two or more waveforms <strong>and</strong> displays the<br />

differences in the Wave window (see "Waveform Compare" (UM-270) for details). This<br />

feature can be used in t<strong>and</strong>em with Waveform Editor. The combination is most useful in<br />

situations where you know the expected output of a signal <strong>and</strong> want to compare visually the<br />

differences between expected output <strong>and</strong> simulated output.<br />

The basic procedure for using the two features together is as follows:<br />

Create a waveform based on the signal of interest with a drive type of expected output<br />

Add the design signal of interest to the Wave window <strong>and</strong> then run the design<br />

Start a comparison <strong>and</strong> use the created waveform as the reference dataset for the<br />

comparison. Use the text "Edit" to designate a create waveform as the reference dataset.<br />

For example:<br />

compare start Edit sim<br />

compare add -wave /test_counter/count<br />

compare run

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

Saved successfully!

Ooh no, something went wrong!