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.

Netlist in Compat Mode<br />

Some aspects of the netlist syntax are different in HSPICE compatibility mode.<br />

Comment Character<br />

Dollar $ is used as the comment character in the netlist line instead of !.<br />

Simulator Compatibility<br />

Netlist in Compat Mode<br />

The comment character is usually treated as such only if the preceding character is a blank space<br />

or if the comment is at the beginning of a line. In -compat mode with the comment character $,<br />

then the above rule still applies; additionally, the $ character is a comment character if:<br />

• the preceding character is not a white space, and<br />

• the first character of the string is ‘, ’, “, a number, or a period (.)<br />

If you want to reference an environment variable using the $ character, for example to specify a<br />

file path, surround the path and filename in quotes.<br />

Examples:<br />

• Circumstances where $ is treated as a comment:<br />

o $ is treated a comment because the string begins with the digit 0:<br />

M1... l=0.1u$<br />

o<br />

$ is treated a comment because the preceding character is a blank space:<br />

M1... l=0.1u $<br />

.INCLUDE $HERE/myfile.txt<br />

o<br />

$ is treated a comment because the first character is a number:<br />

M1 1$ d g s b nmos w=1u l=3<br />

• Circumstances where $ is not treated as a comment:<br />

Wildcard Support<br />

M1 a1$ d g s b...<br />

M2 ‘1$’ d g s b ...<br />

.INCLUDE "$HERE/myfile.txt"<br />

The “?” wildcard character matches a single character in compat mode; it is not supported in<br />

default Eldo unless a “*” wildcard character is also specified.<br />

Eldo® User's Manual, 15.3 175

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

Saved successfully!

Ooh no, something went wrong!