table of contents
SPI(5) | File Formats | SPI(5) |
NAME¶
spi - Alliance parser and driver for Spice netlist.ORIGIN¶
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Université Pierre et Marie CURIE, in Paris, France.FILES¶
The description of a netlist foo must be contained in a .SUBCKT of a file named foo.spi. This description can include others .SUBCKT that must be in the same file or files included with the command .INCLUDE in the source file.Resistances
Capacitances
Instances
MOS transistors.
Others elements are not considered.
.SUBCKT nand2 in out out.1 out.2 vss vdd out.3
DRIVER¶
The driver creates a Spice netlist of the LOFIG passed as a parameter. The file contain a single .SUBCKT representing the figure and commands .INCLUDE with name of instances contained in the LOFIG. Nodes are number named with the directive * NET, or strings, depending on MBK_SPI_NAMEDNODES. A comment at the beginning of the file represents the interface of the LOFIG. This comment is not used by the parser.MBK_SPI_MODEL
MBK_SPI_NETNAME
MBK_SPI_NAMEDNODES
PARSER¶
The parser load all .SUBCKT in memory, even those in files included with the command .INCLUDE until the required LOFIG is loaded. For each .SUBCKT loaded, the parser build the equipotentials with both nodes of resistances on the same net and both nodes of capacitances on differents net unless more information is given. The RCN library is used to handle resistances and capacitances.The resistance is named 'name' and the two
capacitances are named 'name1' and 'name2'
The two capacitances must have the same value
The two capacitances must be between the net of the resistance and VSS.
The driver supports this feature.
MBK_SPI_MODEL
MBK_SPI_NETNAME
MBK_SPI_SEPAR
MBK_SPI_MERGE
MBK_SPI_FILE
MBK_SPI_VERBOSE
MBK_SPI_ONE_NODE_NORC
MBK_SPI_NO_AFF_UNK
ENVIRONMENT VARIABLES¶
MBK_SPI_MODELMODELNAME N|P [FAST] [HVIO]
Blank lines are allowed, and line comment begin with a '#'.
"SIGNAL NAME" $MBK_SEPAR "RCN
NODE"
"SIGNAL NAME"
SIG "SIGNAL INDEX" $MBK_SEPAR "RCN NODE"
SIG "SIGNAL INDEX"
EXAMPLE¶
This is an example of a file generated by the Spice driver.* Spice description of gxor * Spice driver version 700 * Date ( dd/mm/yyyy hh:mm:ss ): 29/03/1999 at 17:43:53 * INTERF a b s vdd vdd vdd vdd vss vss vss vss .INCLUDE mx2_y.spi .INCLUDE ndrvp_y.spi .subckt gxor 24 42 49 52 53 61 54 63 64 71 72 * NET 1 = implicit * NET 4 = auxsc1 * NET 13 = auxsc3 * NET 26 = a * NET 40 = b * NET 49 = s * NET 52 = vdd * NET 65 = vss xauxsc1 64 65 53 55 33 35 2 8 ndrvp_y xs 66 70 56 60 48 50 11 21 5 9 34 36 38 45 mx2_y xauxsc3 70 71 60 61 41 46 18 22 ndrvp_y R2_1 4 7 6 C2_11 4 63 6.9e-15 C2_12 7 63 6.9e-15 R2_2 3 2 0.15 C2_21 3 63 7.2e-16 [----- CUT -----] C4_51 69 63 6.525e-15 C4_52 72 63 6.525e-15 R4_6 68 69 0.001 R4_7 68 67 0.001 .ends gxor
SEE ALSO¶
Alliance(1) MBK(1) Al(1) RCN(1) MBK_SEPAR(1)AUTHOR¶
Gregoire AVOT. Gregoire.AVOT@lip6.frBUG REPORT¶
This tool is under development at the ASIM department of the LIP6 laboratory.30 March 1999 | ASIM/LIP6 |