10.06.2016 Views

eldo_user

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Simulator Compatibility<br />

Spectre to Eldo Converter<br />

Spectre to Eldo Converter<br />

The Spectre to Eldo converter is a tool script that converts from Spectre format (Spectre<br />

language syntax) into Eldo format (Eldo syntax). The script is named spect2el.<br />

For libraries including mixed-language syntax (Spectre and SPICE), Spectre to Eldo assumes<br />

SPICE input mode when it opens an include file. All included files, except top-level files and<br />

those with a .scs extension, that use the Spectre native language must begin with the statement:<br />

simulator lang=spectre. Exceptions are top-level files and files that end with a .scs extension<br />

which are read in Spectre input mode.<br />

Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190<br />

Installing a Patch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190<br />

Supported Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191<br />

Netlist Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193<br />

Prerequisites<br />

Prerequisites for the Spectre to Eldo converter.<br />

• Korn shell must be installed under the /bin directory. The tool is not able to run if /bin/<br />

ksh cannot be invoked.<br />

• The “gawk” utility. This is provided along with the tool.<br />

• The dos2unix utility must be installed on the running machine. The tool generates a<br />

warning and produce an inaccurate conversion or remain in hanged state if dos2unix<br />

cannot be invoked.<br />

Installing a Patch<br />

When an urgent fix is required, Mentor Graphics may provide a specific Spectre to Eldo<br />

converter patch mechanism to enable the fixed version of the converter to be used with an<br />

existing AMS installation. The patch is provided through a tar file.<br />

Follow the instructions below to patch an older AMS tree version with a newer Spectre to Eldo<br />

converter.<br />

Procedure<br />

1. Untar the patch tar file into an empty directory.<br />

2. Run the script patchs2e that has been extracted to the directory.<br />

3. Enter the full path of the output directory as requested by the script (must be existing<br />

prior to running the script, the script will not create a missing directory).<br />

190<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!