ECE4101 - Digital Electronics - Lecture - 01
ECE4101 - Digital Electronics - Lecture - 01
Topic 7 - 1
Supplementary Reading
• Microelectronic Circuit Design
by – Richard C. Jaeger & Travis N. Blalock
Chapter-6
Introduction to Digital Electronics
Topic 7 - 2
The Ideal Inverter
The ideal inverter has the following voltage transfer characteristic
(VTC) and is described by the following symbol
Q-point
Topic 7 - 4
Inverter - circuit
Topic 7 - 5
VTC of Non-Ideal Inverter
Voltage Level Definitions
For the (VTC) of the non-ideal inverter no Vref is defined. There is now an
undefined logic state. The points (VIH ,VOL ) and (VIL ,VOH ) are defined as the points
on the VTC curve where slope is -1.
Topic 7 - 6
Logic Voltage Level Definitions
• VL – The nominal voltage corresponding to a low-logic
state at the output of a logic gate for vi = VH
• VH – The nominal voltage corresponding to a high-logic
state at the output of a logic gate for vi = VL
• VIL – The maximum input voltage that will be recognized
as a low input logic level
• VIH – The minimum input voltage that will be recognized
as a high input logic level
• VOH – The output voltage corresponding to an input
voltage of VIL
• VOL – The output voltage corresponding to an input
voltage of VIH
Typically, V-=0.
V+=5 for bipolar logic,
V+=1.8, 2.5, 3.3 for MOS logic
V+=1.0-1.5 for ultra low voltage logic
Topic 7 - 7
Noise Margins
Topic 7 - 8
Logic Gate Design Goals
Topic 7 - 9
Dynamic Response of Logic Gates
• We begin our study of MOS logic circuit design by considering the detailed
design of the NMOS inverter with the resistor load.
• In integrated logic circuits, the load resistor occupies too much silicon area,
and is replaced by a second NMOS transistor. This “load device” can be
connected in three different configurations called the saturated load, linear
load, and depletion-mode load circuits.
Topic 7 - 12
NMOS Inverter with a Resistive Load
Topic 7 - 13
NMOS Inverter with a Resistive Load
When the input voltage is at a low state, vI = VL , MS
should be cut off, with iD = 0, so that
vO = VDD = VH
Thus, in this particular logic circuit, the value of VH is
set by the power supply voltage VDD = 2.5V.
To ensure that switching transistor MS is cut off when
the input is in the low logic state, VL is designed to be
25 to 50 percent of the threshold voltage VTN of
switch MS. This choice also provides a reasonable value
The equation for the output for noise margin NML .
voltage (load line):
vO = vDS = VDD − iD R
Topic 7 - 14
NMOS Inverter with a Resistive Load
When the input voltage is at a low state, vI = VL , MS should
be cut off, with iD = 0, so that
vO = VDD = VH
Thus, in this particular logic circuit, the value of VH is set by
the power supply voltage VDD = 2.5V.
To ensure that switching transistor MS is cut off when the input
is in the low logic state, VL is designed to be 25 to 50 percent
of the threshold voltage VTN of switch MS. This choice also
provides a reasonable value for noise margin NML .
The equation for the output voltage
(load line): vO = vDS = VDD − iD R
Topic 7 - 15
NMOS with Resistive Load
Design Example (1)
• Design a NMOS resistive load
inverter for
IDD – VDD = 3.3 V
– Power(P) = 0.1 mW when VL =
0.2 V
vo
– Kn = 60 A/V2
– VTN = 0.75 V
• Find the value of the load resistor R
and the W/L ratio of the switching
transistor MS
Topic 7 - 16
NMOS with Resistive Load
Design Example (2)
• First the value of the current through the
resistor (for vO = VL) must be determined by
using the following:
IDD
0.1
30.3
3.3
vo
• The value of the resistor can now be found
by the following, which assumes that the
transistor is on and the output is low:
Topic 7 - 17
NMOS with Resistive Load
Design Example (3)
• For vI = VH = 3.3 V, and vO = VL = 0.2V,
the transistor’s drain-source voltage
VDS =VL will be less than VGS -VTN=VH -VTN
IDD
• Therefore it will be operating in the triode
region. Using the triode region equation
vo for the MOSFET, the W/L ratio can be
found:
'
2
0.2
30.3 60 10 6
3.3 0.75 0.2
2
1.03 1
1 1
Topic 7 - 18
On-Resistance of the Switching Device
• The NMOS resistive load inverter can be thought of
as a resistive voltage divider when the output is low:
Ron
VL V DD
Ron R
where the On-Resistance Ron of the NMOS can be
calculated with the following expression:
vDS 1
Ron
W v
Kn' vGS VTN DS
iD
L 2
• Note :
1.Ron should be kept small compared to R to ensure
that VL remains low.
2. Its value is nonlinear, since it has a dependence on
vDS.
Topic 7 - 19
Noise Margin Analysis
The following equations (base on the calculation of the derivatives of
vO =VDD –iDR with respect to vI ) can be used to determine the
various parameters needed to determine the noise margin of NMOS
resistive load inverters
1
VIL VTN
KnR
1
VOH VDD
2K n R
1 V
VIH VTN 1.63 DD
K nR K nR
2VDD
VOL
3K n R
Topic 7 - 20
Load Resistor Issue
• For completely integrated circuits, R must be
implemented on chip using the shown structure.
Topic 7 - 22
NMOS Saturated Load Inverter
It’s the (c) on diagram, called saturated because ML is in saturation region:
vDS = vGS vDS ≥ vGS − VTN for VTN ≥ 0
Topic 7 - 23
NMOS Saturated Load Inverter-Design Strategy
• Given VDD, VL, and the power level, find IDD from VDD and power.
• Use the value of VH for the gate voltage of MS and find (W/L)L of
the load transistor based on IDD and VL
Topic 7 - 24
NMOS Saturated Load Inverter - Example
• First, set vi = VH ,vO = VL, MS - on, and find the
V DD 3.3V
value of the current through the resistor using the
power :
P 0.2mW
I DD 60 A
VDD 3.3V
IDD
VH 2.11V • Now set vi = VL ,vO = VH, MS - off, ML - off and then,
find VH (since now, VH is not equal VDD.) Why?
• When MS turns off from the on state, the current IDD
will stop when the value of vGSL will reach VTNL, (vGS >
VTN, for IDD to exist)V
H
vGSL = VDD − vO =VTN VH = VDD − VTN .
Design an saturated load inverter
Thus, taking into account the body effect () and
given the following specifications: surface potential parameter (F): VH
VDD 3.3V ' 50 / 2
VH VDD VTNL VDD VTO VSB 2F 2 F
VL 0.2V 0.75
VH 3.3 0.75 0.5 VH 0.6 0.6
P 0.2mW 0.5 VH 2.11V , 4.01V ,since VH VDD
2 0.6 (The output cannot exceed the positive power supply
voltage.)
Topic 7 - 25
NMOS Saturated Load Inverter - Example
VH VL
I DL I DS K n' VGS VTN
W V DSV
L S 2 DS
K n' W
I DL L VGSL VTNL 2
, VGSL VDD VL
2 L
LIN
• Now we can find W/L for both
VTNL 0.75 0.5
0.2 0.6 0.6 0.81V
Check the operating region. For the switch, VGS − VTN = 2.11 − 0.75 = 1.36 V, which is greater than
VDS = 0.2 V, and the triode region assumption is correct. For the load device, VGS − VTN =3.1 − 0.81=
2.29 V and is less than VDS = 3.1 V, which is consistent with the saturation region of operation.
Topic 7 - 26
NMOS Saturated Load Inverter -Noise Margin
The detailed analysis of the noise margins for saturated load inverter is
quite tedious. Instead, the PSPICE simulation can be used. Example:
Topic 7 - 27
NMOS Inverter with a Linear Load
• This inverter has a load transistor that is biased
with VGG defined by the following:
Topic 7 - 28
NMOS Inverter with a Linear Load
• This inverter has a load transistor that is biased
with VGG defined by the following:
Topic 7 - 30
NMOS Inverter with a Depletion-mode Load
• The saturated load and linear load circuits were used when all the devices had
the same threshold voltages in early NMOS and PMOS technologies.
• However, once ion-implantation technology was perfected, it became possible to
selectively adjust the threshold of the load transistors to alter their characteristics
to become those of NMOS depletion mode devices with VTN < 0.
Topic 7 - 31
NMOS Inverter with a Depletion-mode Load
2
• To find (W/L)S where VH = VDD, use the same technique as used for
the resistor load inverter:
'
2
iDS iDL
Topic 7 - 32
NMOS Inverter with a Depletion-mode Load -
Noise Margins
The detailed analysis of the noise margins for saturated load inverter is
quite tedious. Instead, the PSPICE simulation can be used. Example:
Topic 7 - 34
Pseudo NMOS Inverter
• It is possible to replace the load resistor with a PMOS transistor with its
source connected to VDD, its drain connected to the output node and its gate
grounded.
• This circuit is called pseudo NMOS since circuit operates very similar to
NMOS although has a PMOS in it.
Topic 7 - 35
Pseudo NMOS Inverter Design - Example
MS is on, ML is in saturation:
VGS VDD
LIN K 'p W
ID
2
V
2 L P GS
V
• Design an pseudo NMOS inverter TP
Kn' W
VL
V VTN
2 L S H 2 L
ID V (triode region)
Topic 7 - 37
Pseudo NMOS Inverter - Noise Margins
Topic 7 - 38
NMOS Inverter Summary
• Resistive load inverter takes up too much area for and IC design.
• The linear load inverter fixes the speed and logic level issues, but
it requires an additional power supply for the load gate.
• The Pseudo NMOS inverter offers the best speed with the lowest
area.
Topic 7 - 39
Typical Inverter Characteristics
Topic 7 - 40
Static Power Dissipation
• Static Power Dissipation is the average power dissipation of the logic
gate for the high and low logic states. If the duty cycle is 50% it is:
VDD IDDL
• Since IDDH = 0 for vO = VH : Pav
2
• If the duty cycle is different, 2 in the denominator should be changed
appropriatly.
Topic 7 - 41
Dynamic Power Dissipation
Charging Discharging
Topic 7 - 42
Dynamic Power Dissipation
Charging Discharging
Topic 7 - 43
Dynamic Power Dissipation
Charging Discharging
Topic 7 - 44
Dynamic Power Dissipation
• Based on the energy equation, the energy delivered to the capacitor can be
found by:
VC () VC ()
dvC
ED VDD i(t)dt V DD C dt CV DD dvC CVDD
2
0 VC (0)
dt VC (0)
2
• The energy stored by the capacitor is: CV DD
ED
2
2
CV
• The energy lost in the resistive elements is given by: EL E D ES DD
2
• The total energy lost in the first charging and discharging of the capacitor
through resistive elements is given by: 2 2
CVDD CVDD
ETD CV 2DD
2 2
• In the high speed logic circuits this component becomes dominant and
constitutes the primary source of power dissipation in CMOS logic gates.
Topic 7 - 45
Power Scaling in MOS Logic
• With the transistor load, the current in both the load and switch
transistors is determined by the similar expressions, e.g.:
Topic 7 - 46
Power Scaling in MOS Logic
Topic 7 - 47
Dynamic Behavior
Capacitance in MOS Logic Circuits
• The MOS device has capacitances CSB, CGS, CDB, and CGD that need to be considered
for dynamic response analysis.
• The capacitances seen at a node can be lumped together.
• DC loading constraints are not usually important for MOS logic circuits since they
normally drive capacitive loads (i.e. the gate of a MOS)
• As the number of gates the output (fan-out) of a logic device has to drive increases, the
load capacitance increases, and the time response degrades.
• This notion implies that the fan-out that a logic circuit can drive will be limited by time
delay tolerances of the circuit.
Topic 7 - 48
Dynamic Response of the NMOS Inverter
with a Resistive Load
• Rise time is defined as the time for the output to change from 10% to 90% of
the complete transition.
t t
vO (t1) VF V exp 1 VI 0.1V V exp 1 0.9 V t1 RC ln 0.9
RC RC
t t
vO (t 2 ) VF V exp 2 VI 0.9V V exp 1 0.1 V t2 RC ln 0.1
RC RC
tr t2 t1 RC(ln 0.1 ln.9) RC ln(0.9 / 0.1) RC ln 9 2.2RC
Topic 7 - 49
Dynamic Response of the NMOS Inverter
with a Resistive Load
Delay time τPLH is defined as the time required for the output to change 50:
vO(τPLH) = VI + 0.5V, which yields :
PLH PHL RC ln 0.5 0.69RC
where R and C are the resistance and capacitance seen at the output.
For high-to-low transitions, the on resistance of MS, RonS, varies during the
transition but an effective R, Reff, can be approximated as 1.7 RonS.
PHL 0.69Reff C 1.2RonS C t f 2.2Reff C 3.7RonS C,
where Reff 1.7RonS
Topic 7 - 50
Pseudo NMOS Inverter - Dynamic
Response
• The expressions for the propagation delays are the same as for resistive
Topic 7 - 51
Pseudo NMOS Inverter - Dynamic Response
Example
• Find tf, tr, PHL, PLH for a pseudo NMOS • Now calculate delays from the Reff
inverter where: approximations:
– (W/L)S = 2.22/1 and (W/L)L = 1.11/1
1.2 1.2(2.37)(1) 2.84
– CLOAD = 1 pF
3.7 8.77
– VTN = 0.6 V and VTP = -0.6 V
– VDD = 2.5 V 1.2 1.2(11.9)(1) 14.3
– Kn = (2.06)(100 ´ 10-6 A/V2) 3.7 44.0
– KL = (1.11)(40 ´ 10-6 A/V2)
• The saturated load devices have the poorest fall time since they have the lowest
load current delivery
• The saturated load devices also reach zero current before the output reaches 2.5 V
• The linear load device is faster than the saturated load device, but about equal to
the resistive load speed.
• The fastest PLH is for the pseudo NMOS device as a result of the PMOS device
Topic 7 - 53
PMOS Logic
• PMOS logic circuits predated NMOS logic circuit, but were replaced
since they operate at slower speeds
Topic 7 - 54
PMOS NAND and NOR Gates
Topic 7 - 55