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-600 D - Verilog PLI / VPI / DPI<br />

Examples<br />

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

vsim -trace_foreign 1 mydesign<br />

Creates a logfile.<br />

vsim -trace_foreign 3 mydesign<br />

Creates both a logfile <strong>and</strong> a set of replay files.<br />

vsim -trace_foreign 1 -tag 2 mydesign<br />

Creates a logfile with a tag of "2".<br />

The tracing operations will provide tracing during all user foreign code-calls, including<br />

PLI/VPI user tasks <strong>and</strong> functions (calltf, checktf, sizetf <strong>and</strong> misctf routines), <strong>and</strong> Verilog<br />

VCL callbacks.

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

Saved successfully!

Ooh no, something went wrong!