Professional Documents
Culture Documents
Chap16 1 NMOS Inverter PDF
Chap16 1 NMOS Inverter PDF
¾ In the late 70s as the era of LSI and VLSI began, NMOS became
the fabrication technology of choice.
¾ Later the design flexibility and other advantages of the CMOS were
realized, CMOS technology then replaced NMOS at all level of
integration.
¾ The small transistor size and low power dissipation of CMOS
circuits, demonstration principal advantages of CMOS over NMOS
circuits.
Chapter 16.1
NMOS Inverter
1
n-channel MOSFET n-channel MOSFET
2
NMOS Inverter NMOS Inverter with Resister Load
VI <VNT
Transistor off
VI >VNT =VDD=VDS
Transistor on Cut-off
VGS= ¾ If VI <VTN , the transistor is in cutoff and iD = 0, there is no voltage drop across RD,
+ and the output voltage is Vo=VDD=VDS
¾ As the input voltage increases (VGS ), the drain to source voltage (VDS) decreases
and the transistor inter into the nonsaturation region.
NMOS Inverter with Resister Load NMOS Inverter with Resister Load
Saturation region Saturation region
+ +
=VDS =VDS
VGS= VGS=
+ +
3
NMOS Inverter with Resister Load NMOS Inverter with Resister Load
Nonsaturation region Saturation region
Input-Output Relationship +
+
=VDS
VGS=
+
=VDS
VGS=
+
Nonsaturation Region
¾ As the input voltage becomes greater than VIt , the Q-point continues to move
up the load line, and the transistor becomes biased in the nonsaturation region.
VGS= vI
VDS= vO
The sharpness of the transition The minimum output voltage, or the logic 0
region increases with level, for a high input decreases with
increasing load resistance. increasing load resistance.
4
n-Channel MOSFET connected as
saturated load device
• An n-channel enhancement-mode
MOSFET with the gate connected to
the drain can be used as load device in
an NMOS inverter.
• Since the gate and drain of the
transistor are connected, we have
VGS=VDS
When VGS=VDS>VTN, a non zero drain
current is induced in the transistor and
thus the transistor operates in
saturation only. And following condition
is satisfied.
VDS>(VGS-VTN)
NMOS Inverter with Enhancement Load NMOS Inverter with Enhancement Load
¾ This basic inverter consist of two enhancement-only NMOS transistors ¾ An n-channel enhancement-mode MOSFET with gate connected to the drain can
be used as a load device.
¾ Much more practical than the resister loaded inverter, because the Device acts as a Nonlinear resistor !!!
resistors are thousand of times larger size than a MOSFET.
5
NMOS Inverter with Enhancement Load NMOS Inverter with Enhancement Load
NMOS Inverter with Enhancement Load NMOS Inverter with Enhancement Load
6
NMOS Inverter with Enhancement Load c.f. NMOS Inverter with Resister Load
Input-Output Relationship +
=VDS
VGS=
+
The sharpness of the transition The minimum output voltage, or the logic 0
region increases with level, for a high input decreases with
increasing load resistance. increasing load resistance.
P1014
7
Example 16.3 P1014
Example
8
NMOS Inverter with Depletion Load N-Channel Depletion-Mode
MOSFET
Depletion mode : Channel exists even with zero gate voltage.
A negative voltage must be applied to the gate to turn the device off.
Threshold voltage is always negative.
• In n- channel
depletion mode
MOSFET, an n-
channel region or
¾ This is an alternate form of the NMOS inverter inversion layer exists
that uses an depletion-mode MOSFET load under the gate oxide
device with gate and source terminal connected. layer even at zero
gate voltage and
¾ This inverter has the advantage of VO= VDD , as hence term depletion
well as more abrupt transition region even though mode.
the W/L ratio for the output MOSFET is small.
• A negative voltage
must be applied to the
gate to turn the
device off.
• The threshold
voltage is always
negative for this
kind of device.
NMOS Inverter with Depletion Load NMOS Inverter with Depletion Load
Load
9
NMOS Inverter with Depletion Load
NMOS Inverter with Depletion Load (cont.)
Just greater than
When vI > VTND
Case I: when VI<VTND (drive is
cutoff): No drain current conduct
in either transistor. That means
the load transistor must be in the
linear region of the operation and
the output current can be
expressed as fellows
iDL(linear)=KL[2(VGSL - VTNL)VDSL -
VDSL2]
Since VGSL=0, and iDL=0
0=-KL[2VTNLVDSL + VDSL2]
Which gives VDSL=0 thus
VO= VDD
This is the advantage of the
depletion load inverter over the
enhancement load inverter.
NMOS Inverter with Depletion Load NMOS Inverter with Depletion Load
10
NMOS Inverter with Depletion Load NMOS Inverter with Depletion Load
Q2 (Nonsaturation)
Q1
More abrupt transition region
can be achieved even though
the W/L ratio for the output
MOSFET is small.
See slide 34
11
Example 16.4 P1014
Current-Voltage Relationship
Saturation Region
Transition Region
Nonsaturation Region
See next slide vGS=0
12
Design 16.5 P1018 Design 16.5 P1018
short
(i)
(ii)
13
Example 16.14 P1098 Example 16.14 P1098
(i) (i)
(ii) (ii)
NMOS Inverter
Chapter 16
Chapter 16.2
14
NMOS Logic Circuit Logic Gates
In 0
NMOS logic circuits are constructed 1 Out AND Gate
by connecting driver transistor in
parallel, series or series-parallel
In 0
combinations to produce required Out OR Gate
1
output logic function
15
NMOS NOR Gate NMOS NOR Gate
16
Design 16.20 p1099
For the NOR gate the effective width of For the NAND gate the effective length
the drivers transistors doubles. of the driver transistors doubles.
The effective aspect ratio is increased. The effective aspect ratio is decreased.
(b)
(a)
(c)
17
Fan-In and Fan-Out Transient Analysis of NMOS Inverters
¾ The Fan-in of a gate is the number of its inputs. ¾The source of capacitance CT2 and CT3 are the
Thus a four input NOR gate has a fan-in of 4. transistor input capacitances and parasitic
capacitances due to interconnect lines between the
¾ Similarly, Fan-Out is the maximum number of inverter stages.
similar gates that a gate can drive while
remaining within guaranteed specifications. ¾The constant current over a wide
range of VDS provided by the
depletion load implies that this type
of inverter switch a capacitive load
more rapidly than the other two
types inverter configurations.
The rate at
18
p-Channel MOSFET p-Channel MOSFET
CMOS
Complementary MOS
The most abundant devices on earth
¾ Although the processing is more complicated for CMOS circuits than for NMOS
circuits, CMOS has replaced NMOS at all level of integration, in both analog and
digital applications.
¾ The basic reason of this replacement is that the power dissipation in CMOS
logic circuits is much less than in NMOS circuits.
19
CMOS Properties CMOS Inverter
CMOS Inverter
VDD VDD
VOL = 0
Rp PMOS PMOS
VOH = V DD
VOut = VDD VOut = 0
NMOS Rn NMOS
VIn = 0 VIn = V DD
20
Voltage Transfer Curve
21
HW solution
16.4
22
CMOS Inverter Load Lines
X10
-4
PMOS NMOS
2.5
Vin = 0V Vin = 2.5V
2
NMOS in sat
Vin = 0.5V Vin = 2.0V PMOS in non
1.5 sat
IDN (A)
IDP (A)
NMOS off
PMOS in non sat
Vin = 1.0V Vin = 1.5V
1
NMOS in sat
PMOS in sat
0.5 Vin = 1.5V Vin=1.5V Vin=1.0V
Vin = 1.0V Vin=0.5V
Vin = 2.0V Vin = 0.5V
NMOS in non NMOS in
0 sat nonsat
Vin=2.5V 0 0.5 1 1.5 2 2.5 Vin=0V PMOS in sat PMOS off
0.25um, W/Ln = 1.5, W/Lp = 4.5, VDD = 2.5V, VTn = 0.4V, VTp = -0.4V
23
from below graph
or
vSDP is small
vOPt
B
vONt
vIt
24
Example 16.9 p1041
NMOS: off
PMOS: nonsaturation
NMOS: saturation For VDD=5V
PMOS: nonsaturation
NMOS: saturation
PMOS: saturation
NMOS: nonsaturation
PMOS: saturation
NMOS: nonsaturation
PMOS: off
vOPt
VDD=10V
vONt
vOPt
VDD=5V
vONt
vIt vIt
25
¾ CMOS inverter: series combination of PMOS and NMOS
CMOS Inverter in either High or Low State
¾ To form the input, gates of the two MOSFET are connected.
¾ To form the output, the drains are connected together.
VIn VOut
1 0
0 1 Ideally, the power dissipation
of the CMOS inverter is zero.
Practical device
The static power dissipation during both extreme cases (logic 1 or 0) is almost zero CMOS inverter (∼ nW)
because iDP= iDN= 0. NMOS inverter (∼mW)
W W
(2) k N' = k P' But k N' > k P' (because µN>µP)
L L
26
Symmetrical Properties of the CMOS Inverter
NMOS: off
PMOS: nonsaturation
NMOS: saturation
PMOS: nonsaturation
vOPt
NMOS: saturation
PMOS: saturation vONt
NMOS: nonsaturation
PMOS: saturation
NMOS: nonsaturation
PMOS: off
V DD
V It =
2
p1101
(a)
vIt vOPt vONt
(i)
k' W
KN = n
2 L
VOPt
Transition points
VONt
(ii)
27
Example 16.29 p1101
CMOS Inverter VTC
(b)
k P' W
KP =
2 L
Increase W of PMOS
¼ kP increases
¼ VIt moves to right
(i) VDD
Increase W of NMOS
¼ kN increases
kp=0.2kn ¼ VIt moves to left
Transition points
VOPt
VOut kp=kn V DD
VONt for V It =
2
kp=5kn
→ kN = kP , WN ≈ WP
(ii)
VIt VDD
VIn
28
Problem 16.31 p1101 Example 16.31 p1101
(b)
vIt
29
CMOS inverter currents CMOS inverter currents
When PMOS transistor is biased in the saturation region
¾ The current in the inverter is controlled by vSGP and the NMOS vDSN adjusts
such that iDP = iDN .
As long as PMOS transistor is biased in the saturation region the square NMOS: off
root of the inverter current is linear function of the input voltage. PMOS: nonsaturation
NMOS: saturation
PMOS:
nonsaturation
NMOS: saturation
PMOS: saturation
NMOS: nonsaturation
PMOS: saturation
NMOS: nonsaturation
PMOS: off
30
NMOS Transistor Capacitances NMOS Transistor Capacitances
Rp
Vout Vout
CL CL
Rn
31
CMOS Inverter Power CMOS Inverter Power
Dynamic Capacitive Power and Energy stored in the PMOS Dynamic Capacitive Power and Energy stored in the PMOS
Case I: When the input is at logic 0 Case II: when the input is high and out put is low:
PMOS is conducting and NMOS is in cutoff mode and During switching all the energy stored in the load
the load capacitor must be charged through the capacitor is dissipated in the NMOS device because
PMOS device. NMOS is conducting and PMOS is in cutoff mode.
The energy dissipated in the NMOS inverter;
Power dissipation in the PMOS transistor; 1 2
EN = C LV DD
PP=iLVSDp= iL(VDD-VO) 2
The current and output voltages are related by, The total energy dissipated during one switching
1 2 1 2 2
cycle;ET = E P + E N = 2 C LV DD + 2 C LV DD = C LV DD
iL=CLdvO/dt
E P = ∫ PP = ∫ C L (V DD − ν O ) O dt , E P = C LV DD ∫ dν O − C L ∫ ν O dν O
high, t
0 0
dt 0 0
V DD νO
2 V DD
V
2 This implied that the power dissipation in the
E P = C LV DDν O 0
− CL , E P = (C LV DDV DD − 0) − (C L DD − 0 ) CMOS inverter is directly proportional to switching
2 2
0
frequency and VDD2
1
C LV DD the energy stored in the capacitor CL
2
EP =
2 when the output is high.
32
CMOS Inverter Power CMOS Inverter Power
Vin VDD
tr + t f ¾ Reduce capacitance!!
Ptot = C LV DD
2
f + V DD I max f + V DD I leak Short interconnect lengths
2 Drive small gate load (small gates, small fan-out)
2
Ptot ~ C LV DD f ¾ Reduce frequency!!
Lower clock frequency Pdyn = C LV DD
2
f
Lower signal activity
33
Power Reduction
Chapter 16.3.4
34
CMOS Inverter Noise Margins CMOS Inverter Noise Margins
If CMOS is symmetrical,
of CMOS when
35
CMOS Inverter Noise Margins CMOS Inverter Noise Margins Æ
Summary
Noise Margin of a Symmetrical CMOS Inverter
NM L = VIL − VOLU Noise Margin for low input
NM H = VOHU − VIH Noise Margin for high input
If CMOS is symmetrical,
Chapter 16
Chapter 16.4
36
CMOS Logic Circuits CMOS Logic Circuits
37
CMOS Logic Circuits Concept of Effective Width to Length Ratios
How can we design CMOS NOR symmetrical gate?
Two PMOS and two NMOS are working. Only one PMOS and one NMOS are working.
For the NOR gate the effective width of the For the NAND gate the effective length of
drivers transistors doubles. the driver transistors doubles.
The effective aspect ratio is increased. The effective aspect ratio is decreased.
38
CMOS Logic Circuits Switching Time and Propagation
Fan-In and Fan-Out Delay Time
• The dynamic performance of a
¾ Fan-in of a gate is the number of its inputs. logic circuit family is
Thus a four input NOR gate has a fan-In of 4. characterized by propagation
delay of its basic inverter. The
¾ Fan-Out is the maximum number of load gates that may be propagation delay time is
connected to the output. define as the average of low-
to-high propagation delay time
and the high-to-low
propagation delay time.
• The propagation delay time is
directly proportional to the
switching time and increases
as the Fan-out increases.
However, Therefore, the maximum Fan-
Each additional load gate increases the load capacitance their must be out is limited by the maximum
charge and discharge as the driver gate changes state. This place a acceptable propagation delay
practical limit on the maximum allowable number of load gates. time.
Each additional load gate increases the load capacitance their must be
charge and discharge as the driver gate changes state. This place a
practical limit on the maximum allowable number of load gates.
Switching Time
39
Switch-level model Switch-level model
Delay estimation using switch- • For fall delay tphl, V0=Vcc, V1=Vcc/2
Rn level model (for general RC
CL
circuit): V 1V
t p = RC ln 1 = RC ln 2 CC
V0 VCC
dV C
I =C
dt
→ dt =
I
dV
I=
V
→ dt =
RC
dV t p = RC ln(0.5)
R V
t1 − t0 = t p =
V1
∫
RC
dV t phl = 0.69 Rn C L
V0
V Standard RC-delay
V t plh = 0.69 R p C L equations
t p = RC [ln(V1 ) − ln(V0 )] = RC ln 1
V0
Chapter 16.6
Transmission Gates
40
¾ The bias applied to the transistor determines which terminal acts as the As an Open Switch
drain and which terminal acts as the source.
41
Characteristics of NMOS
transmission gate (at low input) As an Open Switch
• When VI=0 and φ=VDD zero VDD-VTN
and VO=VDD-VTN at t=o (initially). @ Low input
It is to be noted that in the present case D
terminal b acts as the drain and terminal VDD-Vt S When φ =VDD, vI=0, and vO =VDD-VTN, at t=0,
a acts as the source. Source Drain terminal a acts as the source since its bias is zero.
Under these conditions the gate to source terminal b acts as the drain since its bias is high.
voltage is, =VDD
VGS=φ-VI G Gate Capacitor discharges as current enters the drain.
VGS=VDD-o Stop discharging drain current goes zero.
vGS=vDD
This implies that value of VGS is constant.
In this case the capacitor is fully gate
discharge to zero as the drain current source drain VDD-VTN
goes to zero.
This implies that the NMOS transistor In this case the capacitor is fully discharge to zero as the
provide a “good” logic 0 when VI=low drain current goes to zero.
VO=0
This implies that the NMOS transistor provide a “good”
logic 0 when VI=low
Gate
Source Drain
VDD-VTN
42
Example 16.52 p1106
VO(max) = VDD-VTN
(a)
43
Example 16.52 p1106
(b)
In order to charge the load capacitor, current enters In order to discharge the load capacitor, current
the NMOS drain and the PMOS source. enters the NMOS drain and the PMOS source.
NMOS
NMOS
Source Drain Drain Source PMOS
VGSN continuously change
PMOS
VGSP remains constant
In PMOS, IDP=0, when VSDP=0, which would be possible only, if, VO=VI=5V
Finally, VO=0, which is a good logic 0. v SGP = vO − φ = vO − 0 = vO
logic ‘1’ is unattenuated
44
CMOS transmission gate remains in a dynamic condition.
Given that VTN=0.8V, VTP=-1.2V. When φ = 5V, input vI varies with time as vI =0.5t
for 0 ≤ t ≤ 10 sec. Let VO=0 and CL=1pF. Determine the range of the times that the
NMOS and PMOS devices are conducting or cutoff.
45
HW solution
46
Chapter 16
Chapter 16.7
• Another class of the logic circuit that incorporate memory are called
sequential logic circuits; that is, their output depend not only the
present value of the input, but also on the previous history of inputs.
Shift registers and flip-flops are typical examples of such circuits.
47
Dynamic Shift Registers at Various Time
Suppose VDD=5V and VTN=1V.
NMOS
At t=t1 , V1=φ1=5V, vO2 goes low
At this time MN2 is still in cutoff
(φ2=0)
• A shift register can be even though input of MN2 has
constructed by the been changed. This implies that
combination of transmission vO3 and vO4 depend on the
gates and inverters.
Transparent mode Hold mode
previous history.
Similarly at t=t3, φ2 is high, and logic
• If VI=VDD and φ1=VDD, then a 0 at vO2 is transmitted to vO3,
logic 1=VDD-VTN would exist which force vO4 to 5V. Thus the
at VO1. input information is transmitted
to output during one clock cycle.
• The CL charges through MN1.
As VO1 goes high, VO2 goes low.
If φ2 is high low will transmitted
through MN2 and VO4 would In shift register the input signal is
be at logic 1. Thus logic 1 transmitted, or shifted, from the
shifted from input to output. input to the output during one clock
cycle.
Dynamic Shift Registers at Various Time NMOS shift register is also dynamic
• Consider when t=t4, vI=0, and φ1=5V,
so VO1=0 and VO2=5V.Vo3 and Vo4
(why?)
depend on previous history
• The output charged
• At t=t5, φ2=5V, vO3 charges to VDD-
VTN=4V and VO4 goes low. capacitor does not
remain constant with
• Thus logic 0 is shifted (transmitted) time because it is
from input to output.
discharge through the
• Also note that vO3 and vO4 are transmission gate
depend on previous history of their transistor.
inputs instead of current inputs
(they are having memory). • In order to prevent
logic errors, the clock
signal period T must be For example at t = t2, VO1=4V, φ1=0
small compared to and MN1 is cutoff.VO1 will start to
effective RC discharge to decay and VO2 will begin to
time constant. increase.
48
CMOS Dynamic Shift Registers NMOS R-S Flip Flop
• The operation of the CMOS • Flip- flops are bistable circuits
shift register is similar to usually formed by cross-coupling
two NOR gates. The output of
the NMOS register except the two NOR circuits are
for the voltage levels. connected back to the inputs of
the opposite NOR gates.
• For example, when vI=φ1=VDD. When S=logic 1 and R=logic 0
Then vO1=VDD and vO2=0. Q
=logic 0 and Q=logic 1=VDD
when φ2 goes high, then vo3 Transistor M2 is then also biased
switch to zero, vo4=vDD. in conducting state.
49
CMOS R-S Flip-Flop (cont.) Static vs Dynamic Storage
• Static storage
• When S = logic 0 and R = – preserve state as long as the power is on
logic 1, then output Q is
forced low, outputQ – have positive feedback (regeneration) with an
goes high, and the flip- internal connection between the output and the
flop is in a reset input
condition.
– useful when updates are infrequent (clock gating)
• Again, a logic 1 at both
S and R is considered • Dynamic storage
to be a forbidden or a – store state on parasitic capacitors
nonallowed condition,
since the resulting – only hold state for short periods of time
outputs are not (milliseconds)
complementary. – require periodic refresh
– usually simpler, so higher speed and lower
power
When the CMOS transmission gate turn off (φ=0), the pn junction
in the MN1 transmission gate transistor is reverse biased.
50