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 />

Device Libraries<br />

Specifies that all models and subcircuits missing in the input netlist should be searched<br />

for and extracted from .mod, .ckt, .sub or .cir files contained in the directories /<strong>user</strong>s/<br />

models/ and /<strong>user</strong>s/examples/ in this order. The file containing the model mna must be<br />

named mna.mod.<br />

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

See also “Search Rules and Naming Conventions for Adding Libraries” on page 136.<br />

• .SCOPE<br />

See also:<br />

Associates a library to a set of instances, using a library identifier (key). For example:<br />

.LIB key=dk1 models1.lib foo<br />

.LIB key=dk2 models2.lib foo<br />

x1 a b foo<br />

x2 a b foo<br />

.SCOPE key=dk1 inst=x1<br />

.SCOPE key=dk2 inst=x2<br />

In this example, models1.lib and models2.lib both contain a definition of subcircuit foo.<br />

Each library is specified a different key, which is used to select the version of foo during<br />

instantiation. The .SCOPE commands attach a specific library to a specific instance with<br />

the key identifier. Here instance x1 is associated to the models1.lib library file, and<br />

instance x2 is associated to the models2.lib library file.<br />

See .SCOPE in the Eldo Reference Manual.<br />

• “Search Path Priorities” on page 133<br />

• “Library Variant Management” on page 134<br />

• “Deleting a Library” on page 136<br />

Search Path Priorities<br />

The order of directories in which include and library files are searched for is:<br />

1. Absolute path.<br />

2. Parent directory — Directories of the files in the calling hierarchy (files which contain<br />

the .INCLUDE/.LIB statement), the directory of the last calling file being searched first.<br />

3. Current directory — Directory from which Eldo was started.<br />

4. Search path — Specified using the -searchpath argument or .OPTION SEARCH=path<br />

within the netlist. If both are specified, then the contents of -searchpath is searched first.<br />

Eldo® User's Manual, 15.3 133

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

Saved successfully!

Ooh no, something went wrong!