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.

Eldo Netlist Setup<br />

Device Libraries<br />

Device Libraries<br />

To include model or subcircuit definitions from library files into the current input netlist the<br />

following statements are available. Eldo includes the whole contents of the file specified.<br />

• .INCLUDE<br />

Inserts the contents of a file into a .cir file. For example:<br />

.INCLUDE circuit_addon.inc<br />

Specifies that the contents of the circuit_addon.inc file be included in the circuit<br />

description file (netlist). In this case, the included file is resident in the same directory as<br />

the netlist.<br />

See “.INCLUDE” in the Eldo Reference Manual.<br />

• .LIB<br />

Inserts model or subcircuit definitions into an input netlist from a library file. For<br />

example:<br />

.LIB models.lib<br />

Specifies that any model and subcircuit information missing in the input netlist should<br />

be taken from the file models.lib. The models.lib file could contain model definitions for<br />

example:<br />

*BJT model definition<br />

.model qmod npn bf=160 rb=100 cjs=2p<br />

+ tf=0.3n tr=6n cje=3p cjc=2p vaf=100<br />

*...<br />

The input netlist could contain the following reference to the model defined:<br />

*main circuit<br />

q23 10 24 13 qmod<br />

Specifies the bipolar transistor q23 of model type qmod.<br />

See “.LIB” in the Eldo Reference Manual.<br />

• .ADDLIB<br />

Searches a directory for files with extensions .mod, .ckt, .sub and include in the .cir file<br />

the contents of files with names corresponding to referenced model and subcircuit<br />

definitions. For example:<br />

mn1 a b c d mna w=w l=l<br />

*...<br />

.ADDLIB 2 /<strong>user</strong>s/examples/<br />

.ADDLIB 1 /<strong>user</strong>s/models/<br />

132<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!