Manuals >Reference >SPICE Simulators Print version of this Book (PDF file) |
![]() ![]() |
||||||
|
|||||||
Circuit Description SyntaxThis section describes basic syntax rules for creating a circuit description. SPICE SimulatorsStart an input line with * to denote a comment in the circuit model description or in the input file of the simulation debugger. Although some simulators accept # and * , IC-CAP accepts * only. (# is recognized as a preprocessor directive when the simulator input deck is built. Adding a comment using # causes a simulation generated from a DUT or Setup to fail.) The following table lists the SPICE element component specifications. For information on available options and their syntax, refer to the SPICE Reference manual. Table 65 lists the semiconductor device specifications. For information on available options and their syntax, refer to the SPICE Reference manual.
HSPICE SimulatorBasic HSPICE syntax rules are the same as SPICE-type simulators. Refer to the HSPICE User's Manual for complete syntax and rules.
ELDO SimulatorBasic ELDO syntax rules are the same as SPICE-type simulators. In addition to the SPICE-type syntax, FAS user-defined models can be defined and instantiated in the IC-CAP Circuit Editor. An FAS model is defined as: amodel name(pin1,pin2..) . <model body> . endmodel (smodel and fmodel are also accepted). The above model is instantiated in a circuit as: yxx name [pin:] 1 2 ... [param: par1 = var1 ...] [model: ...] In addition, the parser accepts the following ELDO constructs: .ADDLIB number pathname #com . . #endcom FIDEL models (oxx p1:typ p2:typ ... mod=modelname) and transfer functions (FNS, FNZ) are not currently supported by the IC-CAP parser. However, the #echo keyword can be used to insert these statements into a circuit in the IC-CAP Circuit Editor. The #echo keyword is available in the IC-CAP Circuit Editor for all supported simulators. #echo can be used to pass a deck card or command directly through to the simulator without any parsing by IC-CAP. For example, the line #echo <something that the IC-CAP parser doesn't understand> <something that the IC-CAP parser doesn't understand> The following analog model instantiation syntax is supported for HDL-A: HDL-A user-defined models with the following syntax can also be instantiated in the IC-CAP Circuit Editor. yxx name(xx) [pin:] 1 2 ... [param: par1 = var1 ...] yxx name(xx) [pin:] 1 2 ... [generic: par1 = var1 ...]
Before performing ELDO simulations specify the ELDO version name in the System Variable ELDO_VERSION. If this variable is not specified, IC-CAP will use the version name specified in the environment variable eldover, if it exists. If neither ELDO_VERSION or eldover are specified, IC-CAP assumes that the latest version of ELDO is being used.
|
|||||||
|
|||||||
![]() ![]() |