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.

D - Verilog PLI / VPI / DPI<br />

Chapter contents<br />

Introduction . . . . . . . . . . . . . . . UM-560<br />

Registering DPI applications . . . . . . . . . . . UM-565<br />

Registering VPI applications . . . . . . . . . . . UM-563<br />

Example . . . . . . . . . . . . . . . UM-563<br />

Registering DPI applications . . . . . . . . . . . UM-565<br />

DPI use flow . . . . . . . . . . . . . . . UM-566<br />

Compiling <strong>and</strong> linking C applications for PLI/VPI/DPI . . . . UM-568<br />

Compiling <strong>and</strong> linking C++ applications for PLI/VPI/DPI . . . UM-568<br />

Specifying application files to load . . . . . . . . . UM-580<br />

PLI/VPI file loading . . . . . . . . . . . . UM-580<br />

DPI file loading . . . . . . . . . . . . . UM-580<br />

Loading shared objects with global symbol visibility . . . UM-581<br />

PLI example . . . . . . . . . . . . . . . UM-582<br />

VPI example . . . . . . . . . . . . . . . UM-583<br />

DPI example . . . . . . . . . . . . . . . UM-584<br />

The PLI callback reason argument. . . . . . . . . . UM-585<br />

The sizetf callback function . . . . . . . . . . . UM-587<br />

PLI object h<strong>and</strong>les . . . . . . . . . . . . . . UM-588<br />

Third party PLI applications . . . . . . . . . . . UM-589<br />

Support for VHDL objects . . . . . . . . . . . . UM-590<br />

IEEE Std 1364 ACC routines . . . . . . . . . . . UM-591<br />

IEEE Std 1364 TF routines . . . . . . . . . . . UM-593<br />

SystemVerilog DPI access routines . . . . . . . . . UM-595<br />

Verilog-XL compatible routines . . . . . . . . . . UM-597<br />

64-bit support for PLI . . . . . . . . . . . . . UM-598<br />

Using 64-bit <strong>ModelSim</strong> with 32-bit PLI/VPI/DPI Applications . . UM-598<br />

PLI/VPI tracing . . . . . . . . . . . . . . UM-599<br />

The purpose of tracing files . . . . . . . . . . UM-599<br />

Invoking a trace . . . . . . . . . . . . . UM-599<br />

Syntax . . . . . . . . . . . . . . . . UM-599<br />

Examples . . . . . . . . . . . . . . . UM-600<br />

Debugging PLI/VPI/DPI application code. . . . . . . . UM-601<br />

UM-559<br />

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

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

Saved successfully!

Ooh no, something went wrong!