VLSI _2nd module
VLSI _2nd module
2nd Module
ADARSH K S
A.P ECE
VIMAL JYOTHI ENGINEERING COLLEGE
CHEMPERI,KANNUR
MOSFET
NMOS and PMOS
Saturated region
MOS Transistor Characteristics
MOS Inverter : Static Characteristics
Introduction
• Inverter is most fundamental logic gate that uses single input.
• The basic principles employed in design and analysis of MOS inverters can be
directly applied on more complex logic circuits.
Fig. 1
Fig. 2
• The logic symbol and the truth table of the ideal inverter are
shown in Fig. 1.
• In MOS inverter circuits, both the input variable A and the output
variable B are represented by node voltages, referenced to the
ground potential.
• Using positive logic convention, the Boolean (or logic) value of "1"
can be represented by a high voltage of VDD, and the Boolean (or
logic) value of "0" can be represented by a low voltage of 0.
• The DC voltage transfer characteristic (VTC) of the ideal inverter
circuit is shown in Fig. 2.
• The voltage Vth is called the inverter threshold voltage. Note that
for any input voltage between 0 and Vth = VDD/2 , the output
voltage is equal to VDD (logic"1").
• The output switches from VDD to 0 when the input is equal to Vth
• For any input voltage between Vth and, VDD the output voltage
assumes a value of 0 (logic "0"). Thus, an input voltage 0 < Vin<
Vth is interpreted by this ideal inverter as a logic "0," while an
input voltage Vth < Vin < VDD is interpreted as a logic " 1."
• The DC characteristics of actual inverter circuits will obviously
differ in various degrees from the ideal characteristic shown in
Fig. 2.
Actual Inverter Characteristics
General Model of inverter
Fig. 3 Fig. 4
• Figure 3 shows the generalized circuit structure of an nMOS inverter.
The input voltage of the inverter circuit is also the gate-to-source
voltage of the nMOS transistor (Vin = VGS), while the output voltage
of the circuit is equal to the drain-to-source voltage (Vout= VDS).
• The source and the substrate terminals of the nMOS transistor, also
called the driver transistor, are connected to ground potential;
hence, the source-to-substrate voltage is VSB = 0.
• In this generalized representation, the load device is represented as
a two-terminal circuit element with terminal current IL and terminal
voltage VL(IL).
• One terminal of the load device is connected to the drain of the n-
channel MOSFET, while the other terminal is connected to VDD, the
power supply voltage
• The output terminal of the inverter shown in Fig.3 is
connected to the input of another MOS inverter.
• Consequently, the next circuit seen by the output node
can be represented as a lumped capacitance, Cout.
• Since the DC gate current of an MOS transistor is
negligible for all practical purposes, there will be no
current flow into or out of the input and output terminals
of the inverter in DC steady state.
• Applying Kirchhoff’s Current Law (KCL) to this simple
circuit, we see that the load current is always equal to the
nMOS drain current.
• ID (Vin, Vout) =IL (VL) ............ (1)
Voltage Transfer Characteristic (VTC)
• The voltage transfer characteristic describing V as a function
of Vin under DC conditions can then be found by analytically
solving (1) for various input voltage values.
• The typical VTC of a realistic nMOS inverter is shown in Fig. 4.
• Upon examination, we can identify a number of important
properties of this DC transfer characteristic.
• For very low input voltage levels, the output voltage V is
equal to the high value of VOH (output high voltage). In this
case, the driver nMOS transistor is in cut-off, and hence, does
not conduct any current.
• Consequently, the voltage drop across the load device is very
small in magnitude, and the output voltage level is high.
• As the input voltage V increases, the driver transistor starts
conducting a certain drain current, and the output voltage
eventually starts to decrease.
• Notice that this drop in the output voltage level does not
occur abruptly, such as the vertical drop assumed for the
ideal inverter VTC, but rather gradually and with a finite
slope.
• We identify two critical voltage points on this curve, where
the slope of the Vt(Vin) characteristic becomes equal to -1,
i.e.,
dVout/dVin = -1 ………… (2)
• The smaller input voltage value satisfying this condition is
called the input low voltage VIL and the larger input
voltage satisfying this condition is called the input high
voltage VIH.
• Both of these voltages play significant roles in
determining the noise margins of the inverter circuit.
• As the input voltage is further increased, the output
voltage continues to drop and reaches a value of VOL
(output low voltage) when the input voltage is equal to
VOH.
• The inverter threshold voltage Vth, which is considered
as the transition voltage, is defined as the point where
Vin = Vout on the VTC.
Critical Parameters for Inverter design
• There are five critical voltage points determine DC
Characteristics and Noise margins :
• VIL : Maximum input voltage which can be
interpreted as logic "0"
• VIH : Minimum input voltage which can be
interpreted as logic " 1"
• VOL : Minimum output voltage when the output
level is logic "0"
• VOH : Maximum output voltage when the output
level is logic " 1"
Noise Immunity and Noise Margin
•Noise margin is the amount of noise that a MOS circuit could withstand without
compromising the operation of circuit.
• Noise margin does makes sure that any signal which is logic ‘1’ with finite noise
added to it, is still recognized as logic ‘1’ and not logic ‘0’.
• It is basically the difference between signal value and the noise value. Refer to
the diagram below.
Vdd
Basic Inverter: Transistor with source
connected to ground and a load resistor
connected from the drain to the positive
R Pull-Up
Supply rail
Vo Output is taken from the drain and control
input connected between gate and ground
Non-zero output S
Vss
Vi
Vgs=0.2VDD
Ids
Vgs=0(relevent) •To obtain inverter transfer
Vgs=-0.2 VDD
characteristics,we superimpose
Vgs=-0.4 VDD vgs=0 depletion mode
Vgs=-0.6VDD characteristicscurves on family of
Vds
curves for enhancement mode
Vgs=VDD
device
Ids •Maximum voltage corresponding
Vgs=0.8VDD
Vgs(dep)=0
to enhancement mode device
Vgs=0.6 VDD corresponds to minimum voltage
Vgs=0.4 VDD across the depletion mode
Vgs=0.2VDD
Vds(enh)
transistor
VDD
Vds(dep)
0V(dep)
Vin > Vt,current begins to flow –Vout
decreses,subsequant increse in Vin
will cause the p.d transistor to come
out of saturation and become
resistive
3).NMOS enhancement Mode Transistor Pull - Up
• This basic inverter consist of two
enhancement-only NMOS transistors
• Much more practical than the resister loaded
inverter
• An n-channel enhancement-mode MOSFET with gate connected to the
drain can be used as a load device
• .When vI > Vt
Transistors as Switches
• We can view MOS transistors as electrically controlled switches
• Voltage at gate controls path from source to drain
g=0 g=1
d d d
nMOS g OFF
ON
s s s
d d d
pMOS g OFF
ON
s s s
CMOS Inverter
• an enhancement-type nMOS transistor and an
enhancement-type pMOS transistor, operating
in complementary mode VDD
• The circuit topology is complementary push-
pull in the sense that for high input, the nMOS
transistor drives (pulls down) the output node A Y
while the pMOS transistor acts as the load, and
for low input the pMOS transistor drives (pulls
up) the output node while the nMOS transistor
acts asthe load. GND
• Consequently, both devices contribute equally
to the circuit operation characteristics.
Advantages over other inverters
• steady state power dissipation of CMOS inverter circuit is
negligible small
• VTC exhibits a full output voltage swing between 0V and VDD
Limitations
• CMOS process is more complex than standard NMOS only
process
• Due to parasitic effect chance of occurring latch up condition
CMOS Inverter
A Y VDD
0
1
A Y
A Y
GND
CMOS Inverter
A Y VDD
0
1 0 OFF
A=1 Y=0
ON
A Y
GND
CMOS Inverter
A Y VDD
0 1
1 0 ON
A=0 Y=1
OFF
A Y
GND
Inverter DC Characteristics
• Ideal characteristics of inverter
• The actual characteristics are drawn by plotting the values of output voltage for different values of the input
voltage.
D Linear Saturation
E Linear Cutoff
Region 1 ->vin=logic 0 -> n transistor OFF &p transistor ON -> no current flow-
> output is directly connected to VDD thorough p transistor. Output logic 1 level
Output High Voltage, VOH
maximum output voltage
occurs when input is low (Vin = 0V)
pMOS is ON, nMOS is OFF
pMOS pulls Vout to VDD
VOH = VDD
Region 5 -> vin=logic 1 -> n transistor ON &p transistor OFF -> no current
flow-> output logic 0 level
Region 1 & 5 static conditions
Calculation of Vth
•The inverter threshold voltage is defined as Vth = Vin= 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.
• Effect of βn/βp ratio change on the DC characteristics of CMOS inverter
Switching characteristics of CMOS inverter
• The switching speed of a CMOS gate is limited by the time taken to charge and discharge the load
capacitance CL
• An input transition results in an output transition that either charges CL towards VDD or discharge
CL towards Vss
– Rise time tr = time taken for a waveform to rise from the 10% point to 90% of its steady state value.
– Fall time tf = time taken for a waveform to fall from 90% to 10% of its steady state value.
– Delay time td = time difference between input transition(50%) and 50 % output level
– Falling delay tdf = delay time with output falling
– Rising delay tdr = delay time with output rising
• CMOS Inverter can be viewed as a single transistor either charging the Cload or discharging the Cload
– Vin is assumed to switch abruptly
– If Vin switches high, the NMOS Tx discharges Cload while the PMOS Tx turns OFF
– If Vin switches low, the PMOS Tx charges Cload while the NMOS Tx turns OFF
• Cload is comprised of
– Cgate due to the gate capacitance of receiving circuits
– Cwire of the interconnect metal
– Cdiffusion of the inverter output junctions
Estimation of CMOS inverter delay
• CMOS inverter either charges or discharges a capacitive load CL
Rise time estimation
• assume that the p device stay in saturation for the entire charging period of the load capacitor CL.
• The circuit can modelled as
– Current pulse from vdd to vss results in a ‘short circuit’ dissipation that is independent of the input
rise/fall time,load capaciance and the gate design
– The dynamic dissipation can be modelled by assuming that the rise and fall time of the step input is
much less than the repetition period
– The average dynamic power Pd , dissipated during switching for a square wave input, vin, having a
repetition frequency ,is given by 1
fp
tp
Pd CLVDD f p
2
– Thus for a repetitive step input the average power that is dissipated is proportional to the energy required to
charge and discharge the circuit capacitance
– The important factor to be noted here is that ,power to be proportional to switching frequency but
independent of device parameters
Short circuit dissipation
Short circuit dissipation is given by
PSC I meanVDD
− where tp is the period of the waveform.
− It shows that the short-circuit current is dependent on β and the input waveform rise and fall times.
− Slow rise times on nodes can result in significant (20%) short-circuit power dissipation for loaded inverters.
Total power dissipation
Total power dissipation can be obtained from the sum of three components, so
Ptotal PS Pd PSC
CMOS Logic Structures
Static logic circuits hold their output
values indefinitely
Dynamic logic circuits store the output
in a capacitor, so it decays with time
unless it is refreshed.
We will look at a few of these
structures
ADARSH K S
Static CMOS Circuit
• At every point in time (except during the switching transients)
each gate output is connected to either VDD or Vss via a low-
resistive path.
• 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).
• This is in contrast to the dynamic circuit class, which relies on
temporary storage of signal values on the capacitance of high
impedance circuit nodes.
Static CMOS Circuit
ADARSH K S
• The static and transient performance strongly depend upon the
availability of an high quality switch with low parasitic resistance and
capacitance
A single transistor is used as switch: Pass Transistor
N- and P-transistor are used: Transmission Gate
ADARSH K S
Pass Transistors
– The pass transistor is an nFET used as a switch-like element to connect logic and storage.
VC = 1
VC
Vin Vout VC = 0
s d
s d
ADARSH K S
Pass Transistors
ADARSH K S
ADARSH K S
ADARSH K S
• N-Channel MOS Transistors pass a 0 better than a 1
• This is the reason that N-Channel transistors are used in the pull-down network and P-Channel
in the pull-up network of a CMOS gate. Otherwise the noise margin would be significantly
reduced.
• This figure shows a simple XNOR
implementation using pass transistors:
• If A is high, B is passed through the
gate to the output
• If A is low, B’ is passed through the
gate to the output
No pass transistor gate may be driven through one or more
pass transistors
ADARSH K S
TRANSMISSION GATES
ADARSH K S
Complementary Pass Transistor Logic To accept and
ADARSH K S
N Switch
0
S 1
G
S’ 0
1
P Switch
Open Circuit, High Z
Bi-directional Switch
Transmission Gates
• A transmission gate is a essentially a switch that connects two points. In order to pass
0’s and 1’s equally well, a pair of transistors (one N-Channel and one P-Channel) are
used as shown below:
A : Input
B : Output
C : Control Signal
0, Z ( high impedance)
C
1, B A
ADARSH K S
Transmission Gate Circuits
ADARSH K S
ADARSH K S
The 2:1 MUX can be modified to produced other useful function, such as XOR & XNOR
circuits.
s
TG0
P0
s F
P1
TG1
s
b b
a a
ab ab
b b
b XOR b XNOR
ADARSH K S
Tristates
EN
• Transmission gate acts as tristate buffer
ADARSH K S
• A tri-state circuit produces the usual 0 and 1 voltages, but also has a third
high impedance Z (or Hi-Z)
– Useful for isolating circuits from common bus lines
– In Hi-Z case, the output capacitance can hold a voltage even though n hardwire
connection exists
• A non-inverting circuit ( a buffer) can be obtained by adding a regular static
inverter to the input
• Utilizes CMOS transmission gate (or just the single polarity version of TG) to perform logic
– Logical inputs may be applied to both the device gates as well as device source/drain regions
– Only a limited number of Pass Gates may be ganged in series before a clocked Pull-up (or pull-down) stage is required
• (a) and (b) show simple XNOR implementation:
– If A is high, B is passed through the gate to the output
– If A is low, -B is passed through the gate to the output
• (c) shows XNOR circuit including a cross-coupled input with P pull-up devices which does not require inverted inputs
ADARSH K S
Complementary Pass-Transistor Logic (CPL)
Pass Variables
Inputs
Control f f
Variables
F F
ADARSH K S
Basic logic functions in CPL
A B
A B
ADARSH K S
A A A A
A B
XOR/XNOR
ADARSH K S