Manuals >Nonlinear Device Models Volume 1 >Circuit Modeling Print version of this Book (PDF file) |
![]() ![]() |
||||||||||
|
|||||||||||
Defining a CircuitThe process of defining a circuit in IC-CAP is similar to defining a single device. The main difference is the interconnection of the components and the use of subcircuit lines to define the circuit block. For detailed information on defining circuits, refer to the appropriate Reference chapter (Chapter 3, "SPICE Simulators," Chapter 4, "SPECTRE Simulator," Chapter 5, "Saber Simulator,"). Supported Circuit ComponentsCircuits in IC-CAP support the standard components that can be simulated with SPICE:
The syntax for defining a circuit in IC-CAP is similar to a SPICE simulation input deck. Each line contains a component, its node numbers, value, and (if applicable) an associated model name reference. Proper specification and use of these components is critical to the success of circuit simulation and parameter extraction. In general, independent voltage sources are specified as inputs within a given setup. This allows you to specify their values and use them in additional numerical or graphic analysis. Some of the differences between SPICE and IC-CAP circuit definitions are listed.
The following figure shows an example circuit description. This circuit defines the input section of an ECL OR/NOR logic gate. (Figure 218 shows the schematic.) This circuit is referenced several times in this chapter. You can create it using the circuit editor or read it from the file $ICCAP_ROOT/data/ECLornor.mdl.
When you enter the circuit description in the Circuit folder of the model window, moving the mouse out of the Circuit folder automatically causes the circuit to be parsed, that is, the specified circuit elements are read and entries are created for them in Model Parameters. When they are added initially, they assume the value specified in the circuit description. To change a value subsequently, you must change it in Model Parameters. To change all entries in Model Parameters to the values in the circuit description, choose Reset. Note the difference in the Parameters table parameter names for a transistor in a circuit. In a single transistor circuit, the model parameter names of the transistor are the entries in the Parameters table. In a multi-component circuit the transistor's model parameters must be associated with a specific model, so the parameters take on a prefix of that model's name. Thus, the forward Beta model parameter BF for a model named NPN1 is listed in the Parameter Editor as NPN1.BF. In the example above, transistors Q1 and Q2 both use the NPN1 model, while transistor Q0 uses the NPN2 model. |
|||||||||||
|
|||||||||||
![]() ![]() |