Unit 2 Vlsi
Unit 2 Vlsi
of Technology, Gorakhpur
Presented By:
Prof. R. K. Chauhan
Department of Electronics and Communication Engineering
15-10- Side 1
2020
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
15-10- Side 2
2020
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
15-10- Side 3
2020
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
15-10- Side 4
2020
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
15-10- Side 5
2020
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
15-10- Side 6
2020
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
15-10- Side 7
2020
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
15-10- Side 8
2020
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
15-10- Side 9
2020
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
15-10- Side
2020 11
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
15-10- Side
2020 12
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
Presented By:
Prof. R. K. Chauhan
Department of Electronics and Communication Engineering
15-10- Side
2020 13
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
MOS
• INVERTER
Inverter is fundamental logic gate uses single input.
• Basic principles employing in design and analysis of inverter can be
directly applied on complex gates.
• Therefore, inverter design forms basis for digital circuits.
• First we start with DC Characteristics. The DC response is Ultra Low
Frequency response of the Circuit.
• When you are at a logic low or high before switching, it is a DC condition.
• The transient can be thought of as a perturbation of the DC Since valid
logic levels are a range of voltages, it is a tolerant system.
15-10- Side
2020 14
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
15-10- Side
2020 15
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
15-10- Side
2020 16
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
VOH: Maximum output voltage when the output level is logic " 1"
VOL: Minimum output voltage when the output level is logic "0"
VIL: Maximum input voltage which can be interpreted as logic "0"
VIH: Minimum input voltage which can be interpreted as logic "
1"
15-10- Side
2020 18
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
• To reduce chip area, one has to reduce the size of transistor i.e. gate
area (W x L). Thus keep W/L ratio close to unity.
15-10- Side
2020 19
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
4. CMOS Inverter
15-10- Side
2020 20
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
Resistive-Load
Inverter • The average DC power consumption of the
resistive-load inverter circuit is found by
considering two cases, Vin = VOL (Low) and
Vin = VOH (high).
• When the input voltage is equal to VOL, the
driver transistor is in cut-off. Consequently,
there is no steady-state current flow in the
circuit (ID = IR = 0), and the DC power
dissipation is equal to zero.
• When the input voltage is equal to VOW on
the other hand, both the driver MOSFET
and the load resistor conduct a nonzero
current. Since the output voltage in this
case is equal to VOL'
• The current drawn from the power
supply can be found as:
• The chip area occupied by the resistive-load inverter circuit depends on two parameters,
the (W/L) ratio of the driver transistor and the value of the resistor RL. The area of the
driver transistor can be approximated by the gate area, (WxL).
15-10- Side
2020 21
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
Resistive-Load
Inverter
Table: Operating regions of the driver transistor in
the resistive-load inverter.
15-10- Side
2020 22
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
Resistive-Load
Inverter
Depletion-load NMOS
Inverter • Several disadvantages of the enhancement-
type load inverter can be avoided by using a
depletion-type nMOS transistor as the load
device.-
• The fabrication process for producing an
inverter with an enhancement-type nMOS
driver and a depletion-type nMOS load is
slightly more complicated and requires
additional processing steps, especially for
the channel implant to adjust the threshold
voltage of the load device.
Depletion-load NMOS
Inverter
Fig.(a) Inverter circuit with saturated enhancement-type nMOS load. (b) Inverter with linear enhancement-type
load.
15-10- Side
2020 26
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
CMOS
Inverter
• The CMOS inverter has two important advantages over the other
inverter configurations:
• The first and perhaps the most important advantage is that the steady-
state power dissipation of the CMOS inverter circuit is virtually negligible,
except for small power dissipation due to leakage currents. In all other
inverter structures examined so far, a nonzero steady-state current is
drawn from the power source when the driver transistor is turned on, which
results in a significant DC power consumption.
• The other advantages of the CMOS configuration are that the voltage
transfer characteristic (VTC) exhibits a full output voltage swing between 0
V and VDD, and that the VTC transition is usually very sharp. Thus, the VTC
of the CMOS inverter resembles that of an ideal inverter.
15-10- Side
2020 27
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
CMOS
Inverter
15-10- Side
2020 28
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
CMOS
A: P Linear N Cut-off
Inverter B: P Linear N Saturation
C: P saturation N Saturation
D: P Saturation N Linear
E: P Cut-off N Linear
15-10- Side
2020 29
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
Presented By:
Prof. R. K. Chauhan
Department of Electronics and Communication Engineering
15-10- Side
2020 30
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
Resistive-Load
Inverter
15-10- Side
2020 31
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
Resistive-Load
Inverter
15-10- Side
2020 32
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
Resistive-Load
Inverter
Calculation of VOH
• First, we note that the output voltage Vout is given
by
• When the input voltage Vin is low, i.e., smaller than the threshold
voltage of the driver MOSFET, the driver transistor is cut-off.
• Since the drain current of the driver transistor is equal to the load
current,
IR= ID = 0.
• It follows that the output voltage of the inverter under these conditions
is:
15-10- Side
2020 33
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
Resistive-Load
Inverter
Calculation of VOL
• To calculate the output low voltage VOL, we assume that the input voltage is
equal to VOH i.e., Vin = VOH = VDD. Since Vin – VT0 > VOUT in this case, the driver
transistor operates in the linear region. Also note that the load current IR is:
15-10- Side
2020 34
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
Resistive-Load
Inverter
Calculation of VIL
• By definition, VIL is the smaller of the two input voltage values at which
the slope of the VTC becomes equal to (-1),i.e., dVout/ dVin = - 1.
• Simple inspection of VTC that when the input is equal to VIL, the
output voltage (Vout) is only slightly smaller than VOH.
• Consequently, Vout> Vin- VT0, and the driver transistor operates in saturation.
15-10- Side
2020 35
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
Resistive-Load
Inverter
Calculation of VIH
• VIH is the larger of the two voltage points on VTC at which the slope is equal
to (-1).
• When the input voltage is equal to VIH, the output voltage Vout, is only
slightly larger than the output low voltage VOL.
• Hence, Vout< Vin-VT0, and the driver transistor operates in the linear region.
15-10- Side
2020 36
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
Resistive-Load
Inverter
Calculation of VIH (Continued..)
• Next, we can substitute dVout /dVin = - 1 into previous equation, since the
slope of the VTC is equal to (-1) also at Vin= VIH
15-10- Side
2020 37
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
Resistive-Load
Inverter
Fig. Voltage transfer characteristics of the resistive-load inverter, for different values of the parameter
(kn,RL)
15-10- Side
2020 38
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
15-10- Side
2020 39
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
CMOS
Inverter
• The CMOS inverter has two important advantages over the other
inverter configurations:
• The first and perhaps the most important advantage is that the steady-
state power dissipation of the CMOS inverter circuit is virtually negligible,
except for small power dissipation due to leakage currents. In all other
inverter structures examined so far, a nonzero steady-state current is
drawn from the power source when the driver transistor is turned on, which
results in a significant DC power consumption.
• The other advantages of the CMOS configuration are that the voltage
transfer characteristic (VTC) exhibits a full output voltage swing between 0
V and VDD, and that the VTC transition is usually very sharp. Thus, the VTC
of the CMOS inverter resembles that of an ideal inverter.
15-10- Side
2020 40
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
CMOS
Inverter
15-10- Side
2020 41
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
CMOS
Inverter
CMOS
Inverter
• In Region A, where Vin< VT0, the NMOS transistor is cut-off and the
output voltage is equal to VOH =VDD.
• As the input voltage is increased beyond VT0,n, (into Region B), the
NMOS transistor starts conducting in saturation mode and the
output voltage begins to decrease. Also note that the critical voltage
VIL which corresponds to (dVout/dVin) =-1 is located within Region B.
15-10- Side
2020 43
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
CMOS
Inverter
• As the output voltage further decreases, the PMOS transistor enters
saturation at the boundary of Region C. It is seen from figure that
the inverter threshold voltage, where Vin= Vout, is located in Region C.
• When the output voltage Vout, falls below (Vin – VT0,n), the NMOS
transistor starts to operate in linear mode. This corresponds to Region
D in figure, where the critical voltage point VIH with (dVout/dVjn) = -1 is
also located.
• Finally, in Region E, with the input voltage Vin > (VDD + VT0,p), the PMOS
transistor is cut-off, and the output voltage is VOL= 0.
• It has already been established that VOH = VDD and VOL = 0 for this
inverter; thus, we will devote our attention to VIL, VIH and the
inverter switching threshold, Vth.
15-10- Side
2020 44
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
CMOS
Inverter
Calculation of VIL
• By definition, the slope of the VTC is equal to (-1), i.e., dVout/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.
• From ID,n= ID,p , we obtain the following current equation:
15-10- Side
2020 45
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
CMOS
Inverter
Calculation of VIL
• To satisfy the derivative condition at VIL , we differentiate both sides
with respect to Vin.
15-10- Side
2020 46
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
CMOS
Inverter
Calculation of VIH
• When the input voltage is equal to VIH, the NMOS transistor operates in
the linear region, and the PMOS transistor operates in saturation.
Applying KCL to the output node, we obtain
15-10- Side
2020 47
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
CMOS
Inverter
Calculation of VIH
• Substituting, Vin = VIH and (dVout/ dVin) =-1 in above equation, we
obtain
15-10- Side
2020 48
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
CMOS
Inverter
Calculation of Vth
• The inverter threshold voltage is defined as Vth = Vth = Vout, Since the CMOS
inverter exhibits large noise margins and a very sharp VTC transition, the
inverter threshold voltage emerges as an important parameter
characterizing the DC performance of the inverter.
• For Vin= Vout, both transistors are expected to be in saturation mode;
hence, we can write the following KCL equation:
15-10- Side
2020 49
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
CMOS
Inverter
Calculation of Vth
• The correct solution for Vin for this equation
is:
15-10- Side
2020 50
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
CMOS
Inverter
Calculation of Vth
15-10- Side
2020 51
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
CMOS
Inverter
Calculation of Vth
• Now solve for kR that is required to achieve the given Vth:
15-10- Side
2020 52
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
CMOS
Inverter
Calculation of Vth
• For a near-ideal CMOS VTC that satisfies the above condition. Since the
operations of the NMOS and the PMOS transistors of the CMOS inverter
are fully complementary, we can achieve completely symmetric input-
output characteristics by setting the threshold voltages as VT0 = VT0,p =
|VT0,p|. This reduces to:
15-10- Side
2020 53
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
CMOS
Inverter
15-10- Side
2020 54
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
15-10- Side
2020 55
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
Switching Characteristics of
CMOS Inverter
• The propagation delay times ᵅ PHL and ᵅ PLH are found from Figure as
15-10- Side
2020 57
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
• the solution equation in the time interval between to and t1’ , can be found
as
15-10- Side
2020 59
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
• The solution of equation in the time interval between t1' and t1 can be found
as
15-10- Side
2020 60
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
Calculation of Delay
Times
• Finally, the propagation delay time for high-to-low output transition (TPHL)
can be found by combining both timing equations:
• For VOH = VDD and VOL= 0, as is the case for the CMOS inverter, becomes:
15-10- Side
2020 61
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
15-10- Side
2020 62
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
15-10- Side
2020 63
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
• There are two types of power dissipation in CMOS circuits: dynamic and
static:
Static power dissipation
Due to conduction of following currents:
• Subthreshold current
• Reverse biased PN-junction current
• Tunneling current
Dynamic power dissipation
• Due to charging and discharging of load capacitance
• Due to short circuit current
15-10- Side
2020 64
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
Subthreshold current
Even though a transistor is logically turned off,
there is a non-zero leakage current through
the channel at the microscopic level, as
illustrated in Figure. This current is known as
the subthreshold leakage because it occurs
when the gate voltage is below its threshold
voltage.
Tunneling current
For MOSFETs with heavily doped channels
and ultrathin oxide layers, the field in the
oxide can reach very high values of MV/cm.
The ultrathin oxide layer reduces the width of
the energy barrier that separates the gate
from the channel, thus making it easier for
electrons/ holes to tunnel through the
insulator layer as shown in Figure.
15-10- Side
2020 66
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
15-10- Side
2020 67
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
15-10- Side
2020 68
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
• Part of the electrical energy Es drawn from the voltage source is stored in the
capacitor and the rest is dissipated as heat energy in the resistor Re. The energy
Ecap stored in the capacitor at the end of the charging cycle is:
15-10- Side
2020 69
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
• Now consider the discharging cycle from t1 to t2, we assume that the
capacitor is fully discharged, i.e., Vc(t1) = V and Vc(t2) = 0. The energy Ed
dissipated in the discharge resistor Rd is
• Ed is exactly equal to the energy stored in the capacitance at the beginning of the
discharging cycle. If we charge and discharge the capacitance at the frequency of f
cycles per seconds, the power dissipation of the system is
15-10- Side
2020 70
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
15-10- Side
2020 71
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
MOS Combinational
Circuit
• Combinational logic
circuits, or gates, which
perform Boolean
operations on multiple
input variables and
determine the outputs as
Boolean functions of the
inputs, are the basic
building blocks of all digital
systems.
• In this chapter, we will
examine the static and
dynamic characteristics of
various combinational MOS
logic circuits.
Fig. Generic combinational logic circuit (gate).
15-10- Side
2020 72
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
MOS Combinational
Circuit • The output voltage of the
CMOS NOR2 (Two-Input NOR) Gate
CMOS NOR gate will attain a
logic-low voltage of VOL= 0
and a logic-high voltage of
VOH= VDD.
• For circuit design purposes,
the switching threshold
voltage Vth of the CMOS gate
emerges as an important
design criterion.
• We start our analysis of the
switching threshold by
assuming that both input
Fig. (Two-Input NOR) Gate. voltages switch
simultaneously, i.e., VA = VB.
15-10- Side
2020 73
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
MOS Combinational
Circuit
CMOS NOR2 (Two-Input NOR) Gate
• The switching threshold by assuming that both input voltages
switch simultaneously, i.e., VA = VB.
MOS Combinational
Circuit
CMOS NAND2 (2-Input NAND) Gate
15-10- Side
2020 75
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
MOS Combinational
Circuit
Complementary CMOS
• The complementary CMOS circuit style falls under a broad class of logic
circuits called static circuits in which at every point in time (except
during the switching transients), each gate output is connected to
either VDD or VSS via a low-resistance path.
• Also, the outputs of the gates assume at all times the value of the
Boolean function implemented by the circuit (ignoring, once again, the
transient effects during switching periods).
• A static CMOS gate is a combination of two networks, called the pull-up
network (PUN) and the pull-down network(PDN). The figure shows a
generic N input logic gate where all inputs are distributed to both the
pull- up and pull-down networks.
15-10- Side
2020 76
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
MOS Combinational
Circuit
Complementary CMOS
Fig. Complementary logic gate as a combination of a PUN (pull-up network) and a PDN
(pull-down network)
15-10- Side
2020 77
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
MOS Combinational
Circuit
15-10- Side
2020 78
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
15-10- Side
2020 79
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
MOS Combinational
Circuit
Ratioed Logic
15-10- Side
2020 80
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
MOS Combinational
Circuit
Ratioed Logic
15-10- Side
2020 81
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
MOS Combinational
Circuit
Ratioed Logic
15-10- Side
2020 82
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
MOS Combinational
Circuit
DCVSL logic gate
• To create a ratioed logic style that completely eliminates static currents
and provides rail-to-rail swing. Such a gate combines two concepts:
differential logic and positive feedback.
• A differential gate requires that each input is provided in
complementary format, and produces complementary outputs in turn.
• The feedback mechanism ensures that the load device is turned off
when not needed. Example of such a logic family, called Differential
Cascode Voltage Switch Logic (or DCVSL).
15-10- Side
2020 83
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
Fig. using complementary CMOS logic Fig. using Pseudo NMOS logic
15-10- Side
2020 84
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
15-10- Side
2020 85
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
Problem 2:
15-10- Side
2020 86
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
Solution
2: Class1: A-C
Class1: B-D
Class1: B-E
Class2: B-D-E
Class3: A-C-B-D-E
VOL1>VOL2>VOL3
Hence worst case VOL in class 1 combination.
Given: Rn/(Ru+Rn). VDD =5%VDD =VDD/20
Hence 19Rn= Ru
For Class1: VOL= 2Rn/(Ru+2Rn). VDD
VOL= VDD/10.5
15-10- Side
2020 87
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
15-10- Side
2020 88
Madan Mohan Malaviya Univ. of Technology, Gorakhpur
Solution
•3:The input VA is equal to VOH and the other input V is switching from VOH to VOL.
In this case, both the output voltage VOUT, and the internal node voltage Vx will
rise, resulting in:
• Note that this value is quite conservative and fully reflects the internal node
capacitances into the lumped output capacitance Cload in reality, only a
fraction of the internal node capacitance is reflected into Cload.
• Now consider another case where VB is equal to VOH and VA switches from
VOH to VOL. In this case, the output voltage Vout, will rise, but the internal node
voltage Vx, will remain low because the bottom driver transistor is on. Thus,
the lumped output capacitance is
15-10- Side
2020 89