Unit 3 - VLSI Design - WWW - Rgpvnotes.in
Unit 3 - VLSI Design - WWW - Rgpvnotes.in
The revenue we generate from the ads we show on our website and app
funds our services. The generated revenue helps us prepare new notes
and improve the quality of existing study materials, which are
available on our website and mobile app.
If you don't use our website and app directly, it will hurt our revenue,
and we might not be able to run the services and have to close them.
So, it is a humble request for all to stop sharing the study material we
provide on various apps. Please share the website's URL instead.
Downloaded from www.rgpvnotes.in, whatsapp: 8989595022
As shown in the block diagram, the subroutine READIN reads the SPICE input file. ERRCHK verifies that the input syntax
is correct. Temperature effects are handled in SPICE by repeating the entire analysis for each temperature. The
subroutines DCTRAN, DCOP, and CAN perform the bulk of the manipulations. DCTRAN, DCOP are used for DC transfer
characteristics, DC operating point calculations, and transient analysis, CAN perform the small signal AC analysis.
SPICE is the inclusion of respectable models for the basic devices, specially, the diode, BJT, JFET and MOSFET. The user
can create generic models for the active devices that correspond to, and are consistent with, the process parameters
and design rules of the process used for specific design. SPICE version has different MOSFET models designated as
levels. Device models used by SPICE (Simulation Program for Integrated Circuit Engineering) simulators can be divided
into three classes:
1. First Generation Models (Level 1, Level 2, Level 3 models)
2. Second Generation Models (BISM, BSIM2, HSPICE Level 28)
3. Third Generation Models (Level 7, Level 48, BSIM3, etc.)
To run SPICE, the user must first create a file, referred to as spice deck, which contains the complete description of the
circuit (including device models) along with a description of the excitation and the type of analysis desired. This file is
accessed when the SPICE program runs.
Brief introduction to SPICE:
• Simulation Program with Integrated Circuit Emphasis (SPICE)
– Developed at UC Berkeley
– Industry-standard general-purpose circuit simulator
• Numerical simulation
– Modified nodal analysis
– External nodes define boundary conditions
• Circuit elements represented by device models
• Text input, text or graphical output
Circuit Elements in SPICE
• Resistors
• Capacitors
• Inductors and coupled inductors
• Independent sources (V, I)
• Dependent sources
• Transmission lines
• Switches
• Uniform distributed RC lines
• Active devices
– Diodes, BJTs, JFETs, MOSFETs, MESFETs
SPICE File
• A SPICE file is made of a series of statements.
• First line is a title statement.
• Last line is an end statement.
• The order of other statement is arbitrary.
• Element statements describe the circuit.
• Control statements describe model parameters and execute analyses.
Fig. 3.1 : Simplified flow chart for spice subroutines MOSEQ 1, MOSEQ2, MOSEQ3
A simplified flow chart for spice subroutines MOSEQ 1, MOSEQ2, MOSEQ3 is shown in figure above . The large signal
currents in quadrant-1 of Id –Vds are calculated from the expression:
IG= IB =0
ID = I CUTOFF VGS< VTH
ID = I OHMIC VGS>VTH ; VDS< VDSAT
ID =I SAT VGS>VTH ; VDS> VDSAT
𝑲′𝟐 𝑾 𝑽𝑫𝑺
IOHMIC = 𝑽𝑮𝑺 𝑽°𝑻𝑯 − 𝜼 𝑽𝑫𝑺 + IBSO
𝑳𝒆𝒇𝒇 𝟐
𝑲′𝟐 𝑾 𝟐
ISAT = 𝑳𝒆𝒇𝒇
𝑽𝑮𝑺−𝑽°𝑻𝑯 𝟐 − 𝜼 + IBSS
Where the cutoff transition region is determined by:
𝝅 𝜺𝒔𝒊
VTH = VTO+ γ 𝝋 − 𝑽𝑩𝑺 − 𝝋 – γα 𝝋 − 𝑽𝑩𝑺 + 𝝋 − 𝑽𝑩𝑺
𝟒 𝑪𝒐𝒙 𝑳𝒂𝒅𝒋
(DELTA)
Parameter VMAX is used to characterize the saturation/ohmic transition, it denotes the maximum drift velocity of the
carriers in the channel. If parameter VMAX is not input, the saturation or ohmic transition region is determined by:
−𝟐 𝟏/𝟐
𝑽𝑮𝑺− 𝑽°𝑻𝑯 𝟏 𝜸𝒔 𝟐 𝜸 𝑽𝑮𝑺− 𝑽°𝑻𝑯
VDSAT = 𝜼
+ 𝟐 𝜼
. 𝟏− 𝟏+𝟒 𝜼
(𝟏 − 𝜶) 𝜼
+ 𝝋 − 𝑽𝑩𝑺
n Side walls n
CSW CSW
CB
CB
p-substrate
Fig . 3.3 : Cross section of diffused region showing parasitic junction capacitors
The junction is not planar. The impurity concentrations in the p and n type materials at the bottom of the junctions are
different than the concentrations along the sidewalls causing the grading coefficient, n, to vary as a function of
position. Although the side wall capacitances become negligible for large structures, they may actually dominate for
small or narrow junctions. The total junction capacitance associated with the "reverse biased" (actually for VF< FC. ɸB)
junction of either the source or drain is thus
CRB TOTAL = CJ.A/[1-(VF/Φ B)MJ] + CJSW.P/[1-(VF/Φ B)MJSW]
where CJ is the zero-bias bottom capacitance area density, CJSW is the zero-bias sidewall capacitance per unit length of
the perimeter, MJ is the bottom junction grading coefficient. FC is the forward bias coefficient and MJSW is the
sidewall grading coefficient. A is the junction bottom area and P is the junction sidewall perimeter. The
parameters FC, CJ, CJSW, MJ, MJSW and Φ B can be entered in SPICE on the .MODEL card (line). The parameters
A and P for the drain and source junctions must be entered on the device card (line). CJ is calculated Under
the assumption of a step graded junction, from the expression CJ = √(εsi q NSUB / 2φB)
Diode Model :
Individual diodes are modeled by two step process in SPICE. The device element line (card) contains information about
the nodal location of the device in the circuit as well as geometric information and optional initial condition variables
useful in transient analysis.
In the device element line, reference is made to a specific device modal. The model line card contains generic
information about the electrical characteristics of the device formed in the process based on the characterizing process
parameters. Each diode has separate device elements lines.
A philosophy distinctly different from that used for characterizing MOS processes has been adopted for characterizing
the process used to fabricate diodes. The difference lies is that the characteristics of the specific reference diode are
specified in model line. The size of the reference is conceptually random, although it is advice to select a reference that
is geometrically similar, in size and shape of those devices that will be modeled. In the device element line (card) the
relative area of the reference diode used to characterize the model is specified.
The diode is modeled as series combination of resistors, rs and a non ideal diode, D2, shunted by parasitic capacitor, CD
as indicated in figure 3.4 (a ). The resistor rs accounts for both the series resistance of the diode as well as high level
injection effects.
The current of diode D2 is modeled as sum of dc (large signal) current be denoted by IDC, and a current that flows
through the parasitic shunting capacitance associated with the pn junction.
rS
D1 IC IDC
D2 VD
CD
( a) (b)
Fig.3.4 : Diode model in spice (a) Physical two terminal device (b)Equivalent circuit
BJT Model:
The SPICE model of the BJT is based upon a modified Gummel - Poon model. Simulations based upon the simpler
Gummel-Poon model made by setting the appropriate Ebers-Moll parameters to zero . Use of the Ebers-Moll model in
the early stages of a simulation may be useful for verifying theoretical hand calculations.
The bipolar junction transistor is modeled by two input lines (cards) in SPICE. The device line (card) is used for
indicating the nodal connections of the BJT in a circuit. It is also used to reference a specific model, by name, which
contains process information. An optional normalized parameter on the device line, An, is used to indicate the ratio of
the area of the emitter to the emitter area of the device of the referenced model. An optional initial condition
parameter can also be included on the device line if desired.
The second input line (card) that is used to model the BJT is the MODEL line. SPICE version 2G.6 provides for user entry
of up to 40 parameters on the MODEL line for characterizing the device. As was the case with the diode, a user-
selected reference transistor is used to characterize the bipolar process. The BJT model information is contained
primarily in subroutines MODCHK and BJT in the SPICE source code. MODCHK does pre-processing of some of the input
parameters. The model itself basically appears in subroutine BJT.
The case for the other semiconductor models in SPICE, the BJT model is characterized by four types of input
parameters. These are 1) large signal or DC parameters, 2) charge storage or capacitance parameters, 3) noise
parameters, 4) temperature characterization parameters.
The small signal low-frequency model used in SPICE is obtained from a symbolic differentiation of the large
signal current equations evaluated at the DC operation point. As is the case for all small signal analyses in SPICE,
the small signal model of the BJT is linear and thus the small signal simulation gives no distortion information.
Distortion information at a specific frequency can be obtained from a much more time consuming transient
response with a sinusoidal excitation of fixed frequency and amplitude. To obtain reliable distortion information,
it is crucial that the transient analysis interval is long enough to guarantee essentially steady state operation.
CA
CA
Rc Rc
CBX
CA
CBC
T2
Rb +
BA T1 VCE T2
BA BA Rb
VBE _ CBE
EA
Re CCS
Re
EA
EA
Fig. 3.5 : Modeling of BJT in SPICE(A)DC Modeling (B)High frequency BJT Modeling
A series resistance is modeled in series with each lead of the BJT as shown in fig. 3.5. These resistances are input
parameters in SPICE. In the model, all formulation is relative to transistor T2.
AF
𝑲F 𝑰BQ
SNC = 2qIBQ + 𝒇
and is connected from the collector to the emitter of T2 in the same figure. KF and AF are spice, input parameters and f
is frequency in hertz. IBQ and ICQ represent the quiescent values of IB and IC respectively. All noise source the BJT are
assumed to be uncorrelated.