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

Waveform Compare<br />

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

The <strong>ModelSim</strong> Waveform Compare feature allows you to compare simulation runs.<br />

Differences encountered in the comparison are summarized <strong>and</strong> listed in the Main window<br />

transcript. Differences are also shown in the Wave <strong>and</strong> List windows, <strong>and</strong> you can write a<br />

list of the differences to a file using the compare info comm<strong>and</strong> (CR-106).<br />

Note: The Waveform Compare feature is available as an add-on to the LE version.<br />

Contact Model Technology sales for more information.<br />

The basic steps for running a comparison are as follows:<br />

1 Run one simulation <strong>and</strong> save the dataset. For more information on saving datasets, see<br />

"Saving a simulation to a WLF file" (UM-227).<br />

2 Run a second simulation.<br />

3 Setup <strong>and</strong> run a comparison.<br />

4 Analyze the differences in the Wave or List window.<br />

Mixed-language waveform compare support<br />

Mixed-language compares are supported as listed in the following table:<br />

C/C++ types bool, char, unsigned char<br />

short, unsigned short<br />

int, unsigned int<br />

long, unsigned long<br />

SystemC types sc_bit, sc_bv, sc_logic, sc_lv<br />

sc_int, sc_uint<br />

sc_bigint, sc_biguint<br />

sc_signed, sc_unsigned<br />

Verilog types net, reg<br />

VHDL types bit, bit_vector, boolean, std_logic, std_logic_vector<br />

The number of elements must match for vectors; specific indexes are ignored.<br />

Three options for setting up a comparison<br />

There are three options for setting up a comparison:<br />

Comparison Wizard – A series of dialogs that "walk" you through the process<br />

GUI – Use various dialogs to "m anually" configure the comparison<br />

Comparison comm<strong>and</strong>s – Use a series of compare comm<strong>and</strong>s

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

Saved successfully!

Ooh no, something went wrong!