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.

Simulator Compatibility<br />

Working with Multiple Languages<br />

Related Topics<br />

Spectre Compatibility Flow<br />

Working with Multiple Languages<br />

Troubleshooting the Spectre to Eldo Flow<br />

Spectre to Eldo Converter<br />

Working with Multiple Languages<br />

The Spectre to Eldo converter supports multiple languages (Eldo, Spectre, SPICE) inside the<br />

same netlist. To switch between the different language modes, use one of the following methods<br />

provided:<br />

• To encapsulate portions of different languages specify start and end lines with the<br />

syntax:<br />

Simulator lang=ELDO|SPECTRE|SPICE<br />

...<br />

...<br />

End lang=ELDO|SPECTRE|SPICE<br />

• To encapsulate the language of included files (within the encapsulated lines) to be the<br />

same as the parent file specify start and end lines. This avoids any need to specify<br />

Simulator lang at the beginning of the called files.<br />

Included lang=ELDO|SPECTRE|SPICE<br />

...<br />

...<br />

End lang=ELDO|SPECTRE|SPICE<br />

Specify End lang to return the simulation language to the default one.<br />

Note<br />

To keep compatibility with Spectre behavior, the language of the included file can<br />

be determined using the “Priority Rules” on page 186, in other words, the included<br />

file does not have to be in the same language as its parent file.<br />

• To change the default language, invoke the Spectre to Eldo converter with the -lang<br />

keyword argument.<br />

spect2el -lang <strong>eldo</strong>|spectre|spice<br />

By default the Spectre to Eldo converter assumes Spectre syntax for the main file<br />

specified by the -file_list argument in the specte2el command line. Otherwise, all<br />

included files are assumed to be in Spice syntax by default to match Spectre behavior.<br />

Eldo® User's Manual, 15.3 185

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

Saved successfully!

Ooh no, something went wrong!