10.06.2016 Views

eldo_user

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Eldo Netlist Setup<br />

Protection of Encrypted Libraries<br />

The ty_lib_status type and the function prototypes are defined in the <strong>eldo</strong>_ipprotect.h include<br />

file, shown below. This is provided in the $MGC_AMS_HOME/include folder. The various<br />

return values and their meanings are explained in the comments.<br />

The compilation command for the shared library is as follows:<br />

gcc -I$MGC_AMS_HOME/include (...other include folders...) <br />

-o -shared<br />

This library does not need to be recompiled with each new version of Eldo unless this is<br />

explicitly stated in the release notes of a new version.<br />

Contents of <strong>eldo</strong>_ipprotect.h Include File<br />

typedef enum<br />

{<br />

/*! The license manager has successfully checked out the feature,<br />

* nothing special to do */<br />

getFeatureOk,<br />

/*! The license manager failed to check out the feature.<br />

* An error message will be printed and the simulation will stops.*/<br />

getFeatureNOk,<br />

/*! The license manager has checked out the feature, but a warning<br />

* should be printed<br />

* (for example: if the license is about to expire soon) */<br />

getFeatureOkWarn,<br />

/*! The license manager has released the feature, nothing special to do<br />

*/<br />

releaseFeatureOk,<br />

/*! The license manager failed to release the feature. A warning message<br />

* will be printed and the simulation will continue.*/<br />

releaseFeatureNOk,<br />

/*! The license manager has released the feature, but a warning<br />

* should be printed */<br />

releaseFeatureOkWarn<br />

} en_ipstatus;<br />

152<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!