Cmos Inverter 11
Cmos Inverter 11
Cmos Inverter 11
Estimate the noise margins for the inverters used to generate Fig. 11.4.
Solution: -
From the graphs in Fig. 11.4 and the text in p11.3, we have
VOH = 5V
VOL = 0V
VIL = 1.8V
VIH = 2.1V Long channel
Process
Therefore, noise margins,
NMH = VOH - VIH = 5 – 2.1 = 2.9V
NML = VIL - VOL = 1.8 – 0 = 1.8V
For the short channel process, similarly from the graph and text in the book,
VOH = 1V
VOL = 0V
VIL = 400mV
VIH = 500mV
Solution:
Three inverters with different switching points are simulated
as below:
*Stage1 Inverter
.control
destroy all
run
let Icross=-i(vdd)
*plot Icross
plot vout Vin
.endc
.option scale=50n
.dc vin 0 1 1m
vdd vdd 0 DC 1
Vin vin 0 DC 0
M1 vout vin 0 0 NMOS L=1 W=10
M2 vout vin vdd vdd PMOS L=1 W=20
* 50nm BSIM4 models
vdd vdd 0 DC 1
Vin vin 0 DC 0
M1 vout1 vin 0 0 NMOS L=1 W=10
M2 vout1 vin vdd vdd PMOS L=1 W=20
M3 vout2 vout1 0 0 NMOS L=1 W=10
M4 vout2 vout1 vdd vdd PMOS L=1 W=200
M5 vout vout2 0 0 NMOS L=1 W=10
M6 vout vout2 vdd vdd PMOS L=1 W=400
Out
In 10/10 50fF
Solution: Replacing the inverter with its digital model, we get the following schematic
VDD VDD VDD
Rp
Cinn =3/2 Coxn Coutp = Coxp
In Out
Cinn =3/2 Coxn Coutn = Coxn
Rn
Rn = 34K/Wn
Rn = 34K/10 = 3.4K
*** Problem 11.4 CMOS: Circuit Design, Layout, and Simulation ***
.control
destroy all
run
plot vin vout
.endc
.option scale=50n
.tran 10p 2n UIC
vdd vdd 0 DC 1
Vin vin 0 DC 0 pulse 0 1 500p 0 0 1n 2n
The SPICE simulations are as shown in Figure 11.4.3. The TpHL was found to be
100 ps and TpLH was found out to be around 200ps.
Problem 11.5: Repeat Ex. 11.6 using the long channel process with a 30/10 inverter.
Solution:
*** Top Level Netlist ***
vdd vdd 0 DC 5
Vin vin 0 DC 0 pulse 0 5 1n 0p 0p 1n 2n
C1 Vout 0 50fF
Simulation:
tPHL=69ps
tPLH=67ps
John Spratt EE 510 Chap 10 HW 4/4/2004
tPHL=.7*Rp*Ctot=.7*45k/30*(1.75f*(30+10)+50f)=126ps
tPLH=.7*Rn*Ctot=.7*15k/10*(1.75f*(30+10)+50f)=126ps
tPHL=.7*Rp*Ctot=.7*45k/30*(50f)=52.5ps
tPLH=.7*Rn*Ctot=.7*15k/10*(50f)=52.5ps
Estimate the oscillation frequency of an 11-stage ring oscillator using 30/10 inverters in
the long-channel CMOS process. Compare your hand calculations to the simulation
results.
Solution: The frequency is about 250 MHz when calculated by hand. When simulated on
SPICE, the frequency is higher, reaching 495 MHz. The hand calculations are shown
below, and the SPICE simulation is shown on the next page.
1
f rosc =
n(t PHL + t PLH )
5
CTOT = (C oxP + C oxN )
2
L 15 k
R n = 15 k = = 1 .5 k
W 10
L 45 k
R p = 45 k = = 1 .5 k
W 30
5
CTOT = (52.5 fF + 17.5 fF ) = 175 fF
2
.control
destroy all
run
plot vout
.endc
.option scale=1u
.tran .1n 6.5n uic
vdd vdd 0 DC 5
R1 vout 0 1MEG
**********D********G*******S*******B****
M1 vout1 vout 0 0 NMOS L=1 W=10
M2 vout1 vout vdd vdd PMOS L=1 W=30
M3 vout2 vout1 0 0 NMOS L=1 W=10
M4 vout2 vout1 vdd vdd PMOS L=1 W=30
M5 vout3 vout2 0 0 NMOS L=1 W=10
M6 vout3 vout2 vdd vdd PMOS L=1 W=30
M7 vout4 vout3 0 0 NMOS L=1 W=10
M8 vout4 vout3 vdd vdd PMOS L=1 W=30
M9 vout5 vout4 0 0 NMOS L=1 W=10
M10 vout5 vout4 vdd vdd PMOS L=1 W=30
M11 vout6 vout5 0 0 NMOS L=1 W=10
M12 vout6 vout5 vdd vdd PMOS L=1 W=30
M13 vout7 vout6 0 0 NMOS L=1 W=10
M14 vout7 vout6 vdd vdd PMOS L=1 W=30
M15 vout8 vout7 0 0 NMOS L=1 W=10
M16 vout8 vout7 vdd vdd PMOS L=1 W=30
M17 vout9 vout8 0 0 NMOS L=1 W=10
M18 vout9 vout8 vdd vdd PMOS L=1 W=30
M19 vout10 vout9 0 0 NMOS L=1 W=10
M20 vout10 vout9 vdd vdd PMOS L=1 W=30
M21 vout vout10 0 0 NMOS L=1 W=10
M22 vout vout10 vdd vdd PMOS L=1 W=30
Using the long channel process design a buffer with minimum delay (A=2.718) to
insert in between a 30/10 inverter and a 50pF load capacitance. Simulate the
operation of the design.
Solution:
For a 30/10 long channel process using table 10.2
So choosing N=6
1
50 pF 6
A= ( ) =2.79
105 fF
So the 6 Inverters to be used in the buffer are
84/28, 233/78, 651/217, 1817/606, 5071/1690 and 14150/4716
*** Solution 11.7_long with buffer CMOS: Circuit Design, Layout, and Simulation ***
.control
destroy all
run
plot vin,vout
.endc
.option scale=1u
.tran 10p 8n UIC
vdd vdd 0 DC 5
Vin vin 0 DC 0 pulse 0 5 1n 0 0 2n 4n
11.9) Derive an equation for the switching point voltage, similar to the derivation of Eq(11.4), for
the NMOS inverter seen in Fig11.24a.
Repeat problem 11.9 for the inverter in fig 11.24c. Note that the PMOS transistor is
operating in the triode region when the input/output are at Vsp.
Current through M2, IDP =βp [((Vdd – Vthp) (Vdd –Vsp)) – ((Vdd - Vsp)2/2)]
Equating the currents, (βn/2) (Vsp - Vthn)2= βp [((Vdd – Vthp) (Vdd –Vsp)) – ((Vdd - Vsp)2/2)]
Simplifying we get,
βp/βn = (Vsp - Vthn)2 / [(Vdd – Vthp)2 – (Vsp - Vthp)2
a= βn + βp
b= -2 (βn Vthn+ βp Vthp)
c= βn Vthn2- βp Vdd2+2 βp Vdd Vthp