Chapter 10: The JELIB and DELIB File Format
plug
10-2: Header
10-2-2: External References
plug


After the header line, all external libraries cells and exports must be declared. This allows the file reader to quickly find all libraries that will be needed for the design, and to reconstruct any missing cells and exports. The cells are listed under their libraries. The exports are listed under their cells. If there are multiple external library lines, they are sorted by library name; where there are multiple external cells in a library, they are sorted by their name; and where there are multiple external exports in a cell, they are sorted by their name.

The syntax of an external library reference is:

L<name> | <path>
<name>the name of the external library.
<path>the full path to the disk file with the library.

The name of the library is used in JELIB file to references to this library. The actual name of this library is obtained from the path.

The syntax of an external cell reference is:

R<name> | <lowX> | <highX> | <lowY> | <highY>
<name>the name of the external cell.
<lowX>reserved for the low X bounds of the cell contents.
<highX>reserved for the high X bounds of the cell contents.
<lowY>reserved for the low Y bounds of the cell contents.
<highY>reserved for the high Y bounds of the cell contents.

The syntax of an external export reference is:

F<name> | <centerX> | <centerY>
<name>the name of the external export.
<centerX>reserved for the X coordinate of the center of export polygon.
<centerY>reserved for the Y coordinate of the center of export polygon.

Examples:

    Lspiceparts|/home/strubin/electric/spiceparts.jelib
    Rgate;1{sch}|-4|4|0|2
    Fout|0|2
Declares that an external library called "spiceparts" will be used by the current library, and that it can be found at "/home/strubin/electric/spiceparts.jelib". In that library is a cell called "gate;1{sch}" whose contents run from -4 to 4 in X and 0 to 2 in Y. In that cell is an export called "out" with center at (0,2).


Prev Previous     Contents Table of Contents     Next Next