Topic 7� Digital Circuits �Intro to Digital Electronics
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 1
ECE 271
Electronic Circuits I
Brief History of Digital Electronics
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 2
Digital Binary Logic
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 3
Digital Binary Logic
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 4
Digital Binary Logic
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 5
Digital Binary Logic
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 6
Review of Boolean Algebra
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 7
A | Z |
0 | 1 |
1 | 0 |
A | B | Z |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |
A | B | Z |
0 | 0 | 0 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
NOT
Truth Table
OR
Truth Table
AND
Truth Table
A | B | Z |
0 | 0 | 1 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 0 |
A | B | Z |
0 | 0 | 1 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
NOR
Truth Table
NAND
Truth Table
Review of Boolean Algebra
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 8
A | Z |
0 | 1 |
1 | 0 |
A | B | Z |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |
A | B | Z |
0 | 0 | 0 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
NOT
Truth Table
OR
Truth Table
AND
Truth Table
A | B | Z |
0 | 0 | 1 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 0 |
A | B | Z |
0 | 0 | 1 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
NOR
Truth Table
NAND
Truth Table
Review of Boolean Algebra
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 9
A | Z |
0 | 1 |
1 | 0 |
A | B | Z |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |
A | B | Z |
0 | 0 | 0 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
NOT
Truth Table
OR
Truth Table
AND
Truth Table
A | B | Z |
0 | 0 | 1 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 0 |
A | B | Z |
0 | 0 | 1 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
NOR
Truth Table
NAND
Truth Table
Review of Boolean Algebra
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 10
A | Z |
0 | 1 |
1 | 0 |
A | B | Z |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |
A | B | Z |
0 | 0 | 0 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
NOT
Truth Table
OR
Truth Table
AND
Truth Table
A | B | Z |
0 | 0 | 1 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 0 |
A | B | Z |
0 | 0 | 1 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
NOR
Truth Table
NAND
Truth Table
Review of Boolean Algebra
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 11
A | Z |
0 | 1 |
1 | 0 |
A | B | Z |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |
A | B | Z |
0 | 0 | 0 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
NOT
Truth Table
OR
Truth Table
AND
Truth Table
A | B | Z |
0 | 0 | 1 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 0 |
A | B | Z |
0 | 0 | 1 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
NOR
Truth Table
NAND
Truth Table
Review of Boolean Algebra
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 12
A | Z |
0 | 1 |
1 | 0 |
A | B | Z |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |
A | B | Z |
0 | 0 | 0 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
NOT
Truth Table
OR
Truth Table
AND
Truth Table
A | B | Z |
0 | 0 | 1 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 0 |
A | B | Z |
0 | 0 | 1 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
NOR
Truth Table
NAND
Truth Table
De Morgan's laws
Logic Gate Symbols and Boolean Expressions
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 13
Logic Gates: AND
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 14
A = 0 , B = 0 🡪 both diodes are forward biased 🡪 both diodes conduct 🡪out is LOW 🡪 0.
The simples gates are AND and OR. They can be built from switches or using the simplest form of electronic logic - diode logic.
Logic Gates: AND
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 15
A = 0 , B = 0 🡪 both diodes are forward biased 🡪 both diodes conduct 🡪out is LOW 🡪 0.
A = 0 , B = 1 🡪 DB is reverse biased 🡪 does not conduct,
DA is forward biased 🡪 conducts 🡪out is LOW 🡪 0.
The simples gates are AND and OR. They can be built from switches or using the simplest form of electronic logic - diode logic.
Logic Gates: AND
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 16
A = 0 , B = 0 🡪 both diodes are forward biased 🡪 both diodes conduct 🡪out is LOW 🡪 0.
A = 0 , B = 1 🡪 DB is reverse biased 🡪 does not conduct,
DA is forward biased 🡪 conducts 🡪out is LOW 🡪 0.
A = 1 , B = 0 🡪 DA is reverse biased 🡪 does not conduct,
DB is forward biased 🡪 conducts 🡪out is LOW 🡪 0.
The simples gates are AND and OR. They can be built from switches or using the simplest form of electronic logic - diode logic.
Logic Gates: AND
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 17
A = 0 , B = 0 🡪 both diodes are forward biased 🡪 both diodes conduct 🡪out is LOW 🡪 0.
A = 0 , B = 1 🡪 DB is reverse biased 🡪 does not conduct,
DA is forward biased 🡪 conducts 🡪out is LOW 🡪 0.
A = 1 , B = 0 🡪 DA is reverse biased 🡪 does not conduct,
DB is forward biased 🡪 conducts 🡪out is LOW 🡪 0.
A = 1 , B = 1 🡪 both diodes are reverse biased 🡪
both the diodes do not conduct 🡪 out is HIGH 🡪 1.
The simples gates are AND and OR. They can be built from switches or using the simplest form of electronic logic - diode logic.
Logic Gates: OR
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 18
A = 0 , B = 0 🡪 both diodes are reverse biased 🡪 does not conduct 🡪out is LOW 🡪 0.
A = 0 , B = 1 🡪 DA is reverse biased 🡪 does not conduct,
DB is forward biased 🡪 conducts 🡪out is HIGH 🡪 1.
A = 1 , B = 0 🡪 DB is reverse biased 🡪 does not conduct,
DA is forward biased 🡪 conducts 🡪out is HIGH 🡪 1.
A = 1 , B = 1 🡪 both diodes are reverse biased 🡪
both the diodes conduct 🡪 out is HIGH 🡪 1.
Logic Gates: NAND & NOR
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 19
Logic Gates: NAND & NOR
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 20
Logic Gates: NAND & NOR
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 21
Conclusion.
Diode-Transistor Logic (DTL) Gate
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 22
Diode-Transistor Logic (DTL) Gate
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 23
On the left, diodes D1 and D2 are both off, whereas D3 and Q1 are on. Node 1 is at 1.3 V:
V1 = VD3 + VBE = 0.6 V + 0.7 V = 1.3 V
The current I through resistor RB and diode D3 becomes the base current IB of transistor Q1. The
value of IB is designed to cause Q1 to saturate so that vO = VCESAT (for example, 0.05 to 0.1 V).
Diode-Transistor Logic (DTL) Gate
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 24
On the right, input B is now at 0 V, corresponding to a logical 0. Diode D2 is conducting,
holding node 1 at 0.6 V. Now diode D3 and transistor Q1 must both be off, because the voltage at
node 1 is now less than the two diode voltage drops required to turn on both D3 and Q1. The base
current of Q1 is now zero; Q1 will be off with IC = 0, and the output voltage will be at +3.3 V,
corresponding to a logical 1. A similar situation holds for the circuit if both inputs are low.
Diode-Transistor Logic (DTL) Gate
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 25
On the left, diodes D1 and D2 are both off, whereas D3 and Q1 are on. Node 1 is at 1.3 V:
V1 = VD3 + VBE = 0.6 V + 0.7 V = 1.3 V
The current I through resistor RB and diode D3 becomes the base current IB of transistor Q1. The
value of IB is designed to cause Q1 to saturate so that vO = VCESAT (for example, 0.05 to 0.1 V).
On the right, input B is now at 0 V, corresponding to a logical 0. Diode D2 is conducting,
holding node 1 at 0.6 V. Now diode D3 and transistor Q1 must both be off, because the voltage at
node 1 is now less than the two diode voltage drops required to turn on both D3 and Q1. The base
current of Q1 is now zero; Q1 will be off with IC = 0, and the output voltage will be at +3.3 V,
corresponding to a logical 1. A similar situation holds for the circuit if both inputs are low.
The Ideal Inverter
The ideal inverter has the following voltage transfer characteristic (VTC) and is described by the following symbol
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 26
?
The Ideal Inverter
The ideal inverter has the following voltage transfer characteristic (VTC) and is described by the following symbol
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 27
V+ and V- are the supply rails
VH and VL describe the high and low logic levels at the output
Inverter - circuit
An inverter operating with power supplies at V+ and 0 V can be implemented using a switch with a resistive load.
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 28
?
MOSFET
Inverter - circuit
An inverter operating with power supplies at V+ and 0 V can be implemented using a switch with a resistive load.
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 29
?
Q-point
Inverter - circuit
An inverter operating with power supplies at V+ and 0 V can be implemented using a switch with a resistive load.
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 30
Q-point
Inverter - circuit
An inverter operating with power supplies at V+ and 0 V can be implemented using a switch with a resistive load.
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 31
VTC of Non-Ideal Inverter� Voltage Level Definitions
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 32
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.
Logic Voltage Level Definitions
state at the output of a logic gate for vi = VH
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 33
Logic Voltage Level Definitions
state at the output of a logic gate for vi = VH
state at the output of a logic gate for vi = VL
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 34
Logic Voltage Level Definitions
state at the output of a logic gate for vi = VH
state at the output of a logic gate for vi = VL
as a low input logic level
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 35
Logic Voltage Level Definitions
state at the output of a logic gate for vi = VH
state at the output of a logic gate for vi = VL
as a low input logic level
as a high input logic level
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 36
Logic Voltage Level Definitions
state at the output of a logic gate for vi = VH
state at the output of a logic gate for vi = VL
as a low input logic level
as a high input logic level
voltage of VIL
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 37
Logic Voltage Level Definitions
state at the output of a logic gate for vi = VH
state at the output of a logic gate for vi = VL
as a low input logic level
as a high input logic level
voltage of VIL
voltage of VIH
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 38
Logic Voltage Level Definitions
state at the output of a logic gate for vi = VH
state at the output of a logic gate for vi = VL
as a low input logic level
as a high input logic level
voltage of VIL
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
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 39
Noise Margins
NML = VIL – VOL
NMH = VOH – VIH
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 40
Logic Gate Design Goals
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 41
Logic Gate Design Goals
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 42
Logic Gate Design Goals
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 43
Logic Gate Design Goals
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 44
Logic Gate Design Goals
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 45
Dynamic Response of Logic Gates
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 46
The rise and fall times: tf and tr, are measured at the 10% and 90% points on the transitions between the two states as shown by the following expressions:
V10% = VL + 0.1ΔV
V90% = VL + 0.9ΔV = VH – 0.1ΔV
where ΔV is the logic swing given by ΔV = VH - VL
Dynamic Response of Logic Gates
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 47
Dynamic Response of Logic Gates
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 48
Dynamic Response of Logic Gates
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 49
NMOS Logic Design
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 50
NMOS Logic Design
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 51
NMOS Logic Design
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 52
NMOS Logic Design
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 53
NMOS Inverter with a Resistive Load
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 54
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 .
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 55
The equation for the output voltage (load line): vO = vDS = VDD − iD R
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 .
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 56
When the input voltage is at a high state, vI = VH , switch MS is set in the triode region by the design of W/L parameter and load line to ensure that vO = VL.
The equation for the output voltage (load line): vO = vDS = VDD − iD R
NMOS with Resistive Load�Design Example (1)
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 57
NMOS with Resistive Load�Design Example (2)
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 58
NMOS with Resistive Load�Design Example (3)
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 59
On-Resistance of the Switching Device
where the On-Resistance Ron of the NMOS can be calculated with the following expression:
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 60
Noise Margin Analysis
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 61
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
Load Resistor Issue
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 62
Load Resistor Issue
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 63
Load Resistor Issue
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 64
Load Resistor Issue
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 65
Load Resistor Issue
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 66
Using Transistors in Place of a Resistor
NMOS load transistor with
a) gate connected to the source
b) gate connected to ground
c) gate connected to VDD
d) gate biased to linear region
e) a depletion-mode NMOSFET
f) gate grounded PMOS load
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 67
We are replacing a 2-terminal device with a 3(4)-terminal device and need to figure our what to do with the gate (since drain and source are conducting).
Using Transistors in Place of a Resistor
NMOS load with
a) gate connected to the source
b) gate connected to ground
c) gate connected to VDD
d) gate biased to linear region
e) a depletion-mode NMOSFET
f) gate grounded PMOS load
Note that a) and b) are not useful, since with 0 at the gate, the enhancement mode NMOS is not conducting.
We’ll consider other methods starting from (c)
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 68
We are replacing a 2-terminal device with a 3(4)-terminal device and need to figure our what to do with the gate (since drain and source are conducting).
NMOS Saturated Load Inverter
Schematic for a NMOS
saturated load inverter
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 69
The substrate is common and grounded:
It’s the (c) on diagram, called saturated because ML is in saturation region:
vDS = vGS 🡪 vDS ≥ vGS − VTN for VTN ≥ 0
NMOS Saturated Load Inverter
Schematic for a NMOS
saturated load inverter
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 70
The substrate is common and grounded:
🡪 vSB=0 for MS .
It’s the (c) on diagram, called saturated because ML is in saturation region:
vDS = vGS 🡪 vDS ≥ vGS − VTN for VTN ≥ 0
NMOS Saturated Load Inverter
Schematic for a NMOS
saturated load inverter
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 71
The substrate is common and grounded:
🡪 vSB=0 for MS .
🡪 vSB=vO for ML ,
It’s the (c) on diagram, called saturated because ML is in saturation region:
vDS = vGS 🡪 vDS ≥ vGS − VTN for VTN ≥ 0
NMOS Saturated Load Inverter
Schematic for a NMOS
saturated load inverter
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 72
The substrate is common and grounded:
🡪 vSB=0 for MS .
🡪 vSB=vO for ML ,
thus VTN is generally different for both.
It’s the (c) on diagram, called saturated because ML is in saturation region:
vDS = vGS 🡪 vDS ≥ vGS − VTN for VTN ≥ 0
NMOS Saturated Load Inverter-Design Strategy
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 73
NMOS Saturated Load Inverter-Design Strategy
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 74
NMOS Saturated Load Inverter-Design Strategy
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 75
NMOS Saturated Load Inverter-Design Strategy
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 76
NMOS Saturated Load Inverter-Design Strategy
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 77
NMOS Saturated Load Inverter - Example
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 78
Design an saturated load inverter given the following specifications:
NMOS Saturated Load Inverter - Example
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 79
Design an saturated load inverter given the following specifications:
LIN
SAT
NMOS Saturated Load Inverter - Example
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 80
Design an saturated load inverter given the following specifications:
NMOS Saturated Load Inverter - Example
vGSL = VDD − vO = VTN 🡪 VH = VDD − VTN .
Thus, taking into account the body effect (γ) and surface potential parameter (φF):
(The output cannot exceed the positive power supply voltage.)
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 81
Design an saturated load inverter given the following specifications:
NMOS Saturated Load Inverter - Example
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 82
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.
LIN
SAT
NMOS Saturated Load Inverter -Noise Margin
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 83
From the PSPICE simulation typical noise margins are:
NMH = VOH - VIH = 1.55 - 1.42 = 0.33 V
NML = VIL - VOL = 0.90 - 0.38 = 0.22 V
The detailed analysis of the noise margins for saturated load inverter is quite tedious. Instead, the PSPICE simulation can be used. Example:
NMOS Inverter with a Linear Load
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 84
NMOS Inverter with a Linear Load
vGSL − VTNL = VGG − vo − VTNL
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 85
NMOS Inverter with a Linear Load
vGSL − VTNL = VGG − vo − VTNL
≥ VDD + VTNL − vo − VTNL
≥ VDD − vo = vDSL
MS -off, iD=0 🡪 vDSL=0 (linear region) 🡪
vDSL= VDD − vo = VDD − VH =0 🡪 VH = VDD
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 86
NMOS Inverter with a Linear Load
vGSL − VTNL = VGG − vo − VTNL
≥ VDD + VTNL − vo − VTNL
≥ VDD − vo = vDSL
MS -off, iD=0 🡪 vDSL=0 (linear region) 🡪
vDSL= VDD − vo = VDD − VH =0 🡪 VH = VDD
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 87
NMOS Inverter with a Depletion-mode Load
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 88
D
E
NMOS Inverter with a Depletion-mode Load
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 89
D
E
LIN
iD =0
NMOS Inverter with a Depletion-mode Load
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 90
D
E
LIN
SAT
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 91
NMOS Inverter with a Depletion-mode Load
NMOS Inverter with a Depletion-mode Load - Noise Margins
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 92
From PSPICE simulation, typical noise margins are:
NMH = VOH - VIH = 2.35 - 1.45 = 0.90 V
NML = VIL - VOL = 0.93 - 0.50 = 0.43 V
The detailed analysis of the noise margins for saturated load inverter is quite tedious. Instead, the PSPICE simulation can be used. Example:
Pseudo NMOS Inverter
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 93
LIN
SAT
Pseudo NMOS Inverter
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 94
LIN
Pseudo NMOS Inverter
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 95
LIN
Pseudo NMOS Inverter Design - Example
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 96
Pseudo NMOS Inverter Design - Example
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 97
Pseudo NMOS Inverter Design - Example
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 98
MS is on, ML is in saturation:
LIN
SAT
Pseudo NMOS Inverter Design - Example
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 99
LIN
SAT
Pseudo NMOS Inverter - Noise Margins
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 100
From SPICE simulation, typical noise margins are:
NMH = VOH - VIH = 2.33 - 1.58 = 0.75 V
NML = VIL - VOL = 0.95 - 0.49 = 0.46 V
NMOS Inverter Summary
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 101
NMOS Inverter Summary
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 102
NMOS Inverter Summary
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 103
NMOS Inverter Summary
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 104
NMOS Inverter Summary
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 105
Typical Inverter Characteristics
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 106
| Inverter w/ Resistor Load | Saturated Load Inverter | Linear Load Inverter | Inverter w/ Depletion-Mode Load | Pseudo-NMOS Inverter |
VH (V) | 2.50 | 1.55 | 2.50 | 2.50 | 2.50 |
VL (V) | 0.20 | 0.20 | 0.20 | 0.20 | 0.20 |
NML (V) | 0.25 | 0.25 | 0.12 | 0.43 | 0.46 |
NMH (V) | 0.96 | 0.33 | 0.96 | 0.90 | 0.75 |
Relative Area | 2880 | 6.39 | 7.94 | 4.03 | 3.33 |
Reference of NMOS Inverter Designs
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 107
NOR Gates
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 108
NOR Gates
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 109
NOR Gates
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 110
NOR Gates
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 111
NOR Gates
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 112
NOR Gates
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 113
NOR Gates
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 114
NOR Gates
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 115
NOR Gates
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 116
NOR Gates
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 117
NAND Gates
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 118
NAND Gates
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 119
NAND Gates
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 120
NAND Gate Device Size Selection
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 121
NAND Gate Device Size Selection
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 122
NAND Gate Device Size Selection
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 123
NAND Gate Device Size Selection
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 124
NAND Gate Device Size Selection (cont)
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 125
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 126
Complex NMOS Logic Design
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 127
Complex NMOS Logic Design
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 128
Complex NMOS Logic Design
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 129
Complex NMOS Logic Design
Complex NMOS Logic Design (1)
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 130
Example 1. Design a logic function:
Y = A + B(C + D)
Base inverter:
Complex NMOS Logic Design (1)
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 131
Example 1. Design a logic function:
Y = A + B(C + D)
Base inverter:
Complex NMOS Logic Design (1)
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 132
Example 1. Design logic function:
Y = A + B(C + D)
Base inverter:
Complex NMOS Logic Design (1)
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 133
Example 1. Design logic function:
Y = A + B(C + D)
Base inverter:
Complex NMOS Logic Design (1)
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 134
Example 1. Design logic function:
Y = A + B(C + D)
Base inverter:
Complex NMOS Logic Design (1)
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 135
Example 1. Design logic function:
Y = A + B(C + D)
Base inverter:
Complex NMOS Logic Design (1)
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 136
Example 1. Design logic function:
Y = A + B(C + D)
Base inverter:
Complex NMOS Logic Design (2)
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 137
Example 2. Design logic function:
Y = A B + CDB = (A+CD)B
Base inverter :
Complex NMOS Logic Design (2)
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 138
Example 2. Design logic function:
Y = A B + CDB = (A+CD)B
Base inverter :
Complex NMOS Logic Design (2)
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 139
Example 2. Design logic function:
Y = A B + CDB = (A+CD)B
Base inverter :
Complex NMOS Logic Design (2)
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 140
Example 2. Design logic function:
Y = A B + CDB = (A+CD)B
Base inverter :
Complex NMOS Logic Design (2)
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 141
Example 2. Design logic function:
Y = A B + CDB = (A+CD)B
Base inverter :
Static Power Dissipation
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 142
Dynamic Power Dissipation
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 143
Discharging
Charging
?
?
Dynamic Power Dissipation
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 144
Discharging
Charging
RL
Dynamic Power Dissipation
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 145
Discharging
Charging
RS
Dynamic Power Dissipation
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 146
Discharging
Charging
RL
RS
Dynamic Power Dissipation
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 147
Dynamic Power Dissipation
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 148
Dynamic Power Dissipation
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 149
Dynamic Power Dissipation
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 150
Dynamic Power Dissipation
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 151
Dynamic Power Dissipation
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 152
Power Scaling in MOS Logic
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 153
Power Scaling in MOS Logic
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 154
Dynamic Behavior�Capacitance in MOS Logic Circuits
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 155
Dynamic Behavior�Capacitance in MOS Logic Circuits
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 156
Dynamic Behavior�Capacitance in MOS Logic Circuits
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 157
Dynamic Behavior�Capacitance in MOS Logic Circuits
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 158
Dynamic Behavior�Capacitance in MOS Logic Circuits
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 159
Dynamic Response of the NMOS Inverter with a Resistive Load
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 160
Closing switch: vI high 🡪 low
Charging capacitor
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.5ΔV, which yields :
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 161
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.
For low-to-high transitions, R is the load resistance (MS is off):
Pseudo NMOS Inverter - Dynamic Response
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 162
Closing switch: vI high 🡪 low
Opening switch: vI low 🡪 high
Pseudo NMOS Inverter - Dynamic Response Example
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 163
Pseudo NMOS Inverter - Dynamic Response Example
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 164
Pseudo NMOS Inverter - Dynamic Response Example
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 165
Comparison of Load Devices
The simulation results for all five inverters. The current has been normalized to 80 μA for vo = VOL= 0.20 V
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 166
PMOS Logic
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 167
Resistive Load
Saturated Load
Linear Load
Depletion-Mode Load
Pseudo PMOS
PMOS NAND and NOR Gates
NJIT ECE271 Dr.Serhiy Levkov
Topic 7 - 168
NOR Gate
NAND Gate