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.

Loading shared objects with global symbol visibility<br />

Specifying application files to load UM-581<br />

On Unix platforms you can load shared objects such that all symbols in the object have<br />

global visibility. To do this, use the -gblso argument to vsim when you load your PLI/VPI<br />

application. For example:<br />

vsim -pli obj1.so -pli obj2.so -gblso obj1.so<br />

The -gblso argument works in conjunction with the GlobalSharedObjectList variable in the<br />

modelsim.ini file. This variable allows user C code in other shared objects to refer to<br />

symbols in a shared object that has been marked as global. All shared objects marked as<br />

global are loaded by the simulator earlier than any non-global shared objects.<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!