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.

UM-460 19 - Value Change Dump (VCD) Files<br />

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

Port order issues<br />

The -vcdstim argument to the vcd dumpports comm<strong>and</strong> ensures the order that port names<br />

appear in the VCD file matches the order that they are declared in the instance’s module or<br />

entity declaration. Consider the following module declaration:<br />

module proc(clk, addr, data, rw, strb, rdy);<br />

input clk, rdy;<br />

output addr, rw, strb;<br />

inout data;<br />

The order of the ports in the module line (clk, addr, data, ...) does not match the order<br />

of those ports in the input, output, <strong>and</strong> inout lines (clk, rdy, addr, ...). In this case the<br />

-vcdstim argument to the vcd dumpports comm<strong>and</strong> needs to be used.<br />

In cases where the order is the same, you do not need to use the -vcdstim argument to vcd<br />

dumpports. Also, module declarations of the form:<br />

module proc(input clk, output addr, inout data, ...)<br />

do not require use of the argument.

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

Saved successfully!

Ooh no, something went wrong!