Module 2 (1)
Module 2 (1)
VSBp VSBn 0
Linear
region
pMOS
Saturation
region pMOS
VOH calculation
when Vin < VT0n, the nMOS transistor is cut-off. At the
same time, the pMOS transistor is on, operating in the
linear region. Since the drain currents of both transistors
are approximately equal to zero
=0
Vout VOL
VIL calculation 0
• when Vin > VT0n (in Region B), the nMOS transistor starts conducting in
saturation
mode and the output voltage begins to decrease.
• The slope of the VTC is equal to (-1), i.e., (dV0ut/ dVin )= -1, when the input voltage is
Vin = VIL. Note that in this case, the nMOS transistor operates in saturation while the
pMOS transistor operates in the linear region.
Substitut
e
-------
(1)
Differentiate on both side Vout
w.r.t. Vin
k 'n W 2V V k p W 2 V V
dVin 2Vout VDD dVin
'
VDDV T0p dV
out out
in T0n
out DD in
2 L n 2 L p2 V
dV
Substitute Vin = VIL dVou t 1
dVin
and
W ' W
k VIL VT0n p V V
'
n
DD VIL VDD VT0p
V V
L n k L p out out
DD
kR VIL VT0n 2Vout VDD VIL
k V V VDD T0pV Rk
2V
R IL IL out
V
T0n
2Vout VDD VT0p kRV
VI T0n
L 1
k
R
VIH calculation
When the input voltage is equal to VIH, the nMOS transistor operates in the
linear region, and the pMOS transistor operates in saturation
Substitut
e
-------
(2)
Differentiate on both side Vout
w.r.t. Vin
k 'n W 2 V V out dVout k ' 2V V V
in T0n
dV 2Vout 2Vout p W in DD
T0p
2 L n dVin dV in 2 L p
dV
Substitute in = V and dV 1
ou t in
V IH
W W
k 'n VIH VT0n 2Vout '
p V V
IH DD VT0p
L n k L p
2V V V V
k R VIH VT0n
out DD
T0p
IH
Vth calculation
Substitut
e
side
k V V V V
T0p
V
1
R in T0n in DD
kR V in VDD k R VT0n
V V th T0n
2
kR VDD VT0p V th
Vth VT0n
2
k R 0.5VDD T0p
0.5VDD VT0n
V
kR
1
For a symmetric inverter with VT0n = | VT0p | and kR = 1, the VIL
VIL
voltage can be
2Vout VDD VT 0p kR VT
2Vout VDD
0n
1 kR 2
Substitute this Vin = VIL in eq. (1) and
determine VIL
1
VIL
8
3VDD 2VT0n
Similarly determine VIH using
eq. (2)
1
VIH
8
5VDD 2VT0n
Note that the sum of VIL and VIH is always equal to VDD in a symmetric
inverter.
a R
. Vth VT 0n 1.5 1
0.7
140(W/L) W W
1 60(W/L) n p 2.33
p L L n
b
140
. k R 60
2.33
VT 0p
Vth VDD k R VT 0n 3 0.7 2.33
1 k R
0.7
1
3.368
2.526
1.33
2.33
Calculate the noise margins of the
circuit
Calculate VIHV k (V 2V )
VIH VDD
T 0p R T 0n out
VIH 3.3 - 0.7 2.5(0.6 VIH 1.17 out
2.5 2(1.17 1.43V
out 0.6)V out V out
2
(1.43Vout 1.43)2
2.61 out
2
out 2.04 Vout
0.27V
VIH 1.17 VIH 1.17 1.43 0.27
1.43Vout 1.56V
NM L VIL VOL
1.08V NM H VOH VIH
1.75V
MOS INVERTERS:
Switching Characteristics and Interconnect effects
• The switching characteristics of digital integrated circuits and, in particular, of inverter circuits, essentially
determine the overall operating speed of digital systems.
• The capacitances Cgd and Cgs are primarily due to gate overlap with diffusion, while Cdb and Csb are
voltage-dependent junction capacitances.
• The capacitance component Cg is due to the thin-oxide capacitance over the gate area.
• The lumped interconnect capacitance Cint. which represents the parasitic capacitance contribution of the metal
or polysilicon connection between the two inverters.
• Assume that a pulse waveform is applied to the input of the first-stage inverter to analyze the time-domain
behavior.
MOS INVERTERS:
Switching Characteristics and Interconnect effects
• The problem of analyzing the output voltage waveform is fairly complicated, even for this relatively simple circuit,
because a number of nonlinear, voltage-dependent capacitances are involved.
• To simplify the problem, we first combine the capacitances & will be called the load capacitance, Cload
• The simplest approach for calculating the propagation delay times pHL and pLH is based on estimating the
average capacitance current during charge down and charge up.
• If the capacitance current during an output transition is approximated by a constant average current Iavg the delay
times are found as,
Calculation of Delay Times
• The average current during high-to-low transition can be calculated by using the current values at the beginning and the
end of the transition.
• The average-current method is relatively simple and requires minimal calculation, it neglects the
variations of the capacitance current between the beginning and end points of the transition.
• Do not provide a very accurate estimate of the delay times.
• This approach provides rough, first-order estimates of the charge-up and charge-down delay times.
Calculation of Delay Times: Solving the state equation of the
output node in the time domain.
• The propagation delay times can be found more accurately by solving the state
equation of the output node in the time domain.
• Note that the capacitance current is also a function of the output voltage.
t0 < t t1’ < t <
<t1’ : t1 :
d Vout tt 1
i D n Cload dt Vout V50%
dt
1
t t1
i D n dVout
Cload C Vout VOH VT 0 n
dt i d Vout ' load
V V
Dn tt 1
2C
out 50%
1 d
dt k nload V V V
Vout
' 2
tt 1
t t1
2(VOH - VT0n )Vout - Vout
Vout VOH VT 0 n
1
out OH T0
' n
dVout
dt
t t0 Vout OH
iDn
=V
C load 2C load 1 Vout V50%
tt1 ' Vout VOH V T 0
'
t1 t 1 ln Vout
C n k n 2(VOH - VT0n ) 2(VOH - VT0n ) - out Vout VOH V T 0
dt k
t 0 n (V load
V
)T 0n
2 Vout OH
V n
t OH V
2
d Vout ' 1 2(VOH - VT0n ) -V50%
t1 t1 Cload ln
t't 2CloadVT k n (VOH - VT0n V50%
k n (V 0n
OH V T 0n ) 2 )
1 0
AN
D
PHL n n Rn Cload
0.693
PLH 0.693 p p R p Cload
2.2 n
Power Dissipation
Since the CMOS inverter does not draw any significant current from the power source in both of its
steady-state operating points (Vout = VOH and Vout = VOL), the DC power dissipation of this circuit is almost
negligible.
PDC I DD VDD
If Kn =
Kp
in order to achieve a switching threshold voltage of VDD/2 for
simultaneous switching, we have to set VTn = IVTpI and Kp = 4Kn .By
increasing Wp
If Kn = and VTn = IVTpI, the switching threshold of the NAND2 gate is not equal
Kp to VDD/2
in order to achieve a switching threshold voltage of VDD/2 for
simultaneous switching,
we have to set VTn = IVTpI and Kn = 4Kp .By increasing Wn, but μn > μp so
we can keep Wn =Wp
Design of complex logic
circuits
Out AB
C
Z ( A B).(C
Out A(D E)
D)
BC
XOR XNOR
Gate Gate
Vout AB AB Vout AB
AB
AA AB AB
BB
A( A B) B( A
12
B)
Transistor
(A
(A B)( A
B)( A B) required
B)
(A B) ( A B)
AB AB
12 Transistor
required
Full adder Circuit (one bit
adder)
sum_out ABC (A B C)carry_out
28 Transistor required
Layout of 2 input NOR
Gate VDD
B
A
Stick OUT
Diagram
VD
D
B
A OUT
GND
GN
Layout of 2 input NAND
VDD
Gate
A B
Stick OUT
Diagram
VD
D
A B
OUT
GND
GN
VD
D
Out AB
C
A B C
OUT
GN
Out A(D E) Euler-path: find a common Euler path for both nMOS and pMOS
netwrorks. The Euler path is defined as an uninterrupted path that traverses
BC each edge (branch) of the graph exactly once.
E D A B C OUT
GN
D
The equivalent-driver (W/L) ratio of the pull-down network
consisting of five nMOS transistors is,
1. The simplified layout of a CMOS complex logic circuit is given below. Draw the corresponding circuit
diagram, and find an equivalent CMOS inverter circuit for simultaneous switching of all inputs, assuming
that (W/L)p = 15 for all pMOS transistors and (W/L) = 10 for all nMOS transistors