SlideShare a Scribd company logo
Mr. S. M. Karve
Department of Electronics & Telecommunication
Engineering
VLSI Design
Unit No. 5
CMOS Logic Design
Prepared By
 Logic Values
 Encoder bits
 Logic Gates
 Logic Families
 MOS Transistors
 CMOS Inverter
 CMOS Electrical Characteristics
 Power Consumption Analysis of CMOS Circuits
 Pull-up and Pull-Down Network
 DC Analysis/Characteristics of CMOS Inverter
 Beta Ratio
 Switching Characteristics of CMOS Inverter
 CMOS logic gates and its Examples
 Implementation of Boolean equations using CMOS Logic
Contents
Logic Values
• Logic values = {0, 1}
• A logic value, 0 or 1, is called as BInary DigiT or BIT.
• Physical states representing bits in digital
technologies:
Encoding Bits
• Information can be encoded in Analog System
using:
– Current, Voltage, Phase, Frequency
• Digital systems use two voltage levels for encoding
bits.
– LOW: A signal close to the GND
– HIGH: A signal close to the VCC
Encoding Bits
• Positive logic
– High: 1 and Low: 0
– Our convention in this unit
• Negative logic
– High: 0 and Low: 1
Logic Gates
• Gates are basic digital devices.
– A gate takes one or more inputs and produces an output.
– Inputs are either 0 or 1.
• Although they may have very different values of voltage.
– Output is either 0 or 1.
– A logic gate’s operation is fully described by a truth table.
Logic Families – What is inside of a logic gate?
• A logic family is a collection of different integrated-
circuit chips that have similar input, output, and
internal circuit characteristics, but that perform
different logic functions.
• Logic gates are made from transistors.
– TTL (Transistor-Transistor Logic) family gates are made from
bipolar transistors.
– CMOS (Complementary Metal Oxide Semiconductor) family
logic gates are made from MOS transistors.
MOS Transistors – N-type MOSFET
• OFF (open circuit) : when gate is logical zero
• ON (short circuit) : when gate is logical one
•
•
Passes a good logical zero
Degrades a logical one
MOS Transistors – P-type MOSFET
• OFF (open circuit) : when gate is logical one
• ON (short circuit) : when gate is logical zero
•
•
Passes a good logical one
Degrades a logical zero
CMOS Inverter
 The inverter circuit as shown in the figure above. It consists
of PMOS and NMOS FET. The input A serves as the gate
voltage for both transistors & The terminal Y is output
 The NMOS transistor has an input from ground (Vss) and
PMOS transistor has an input from High voltage (Vdd).
 When a high voltage (1v) is given at input terminal (A) of the
inverter, the PMOS becomes open circuit and NMOS switched
OFF so the output will be pulled down to ground (Vss)
 When a low-level voltage (0v) applied to the inverter, the
NMOS switched OFF and PMOS switched ON. So the output
becomes Vdd or the circuit is pulled up to High voltage (Vdd)
CMOS Electrical Characteristics
• Digital analysis works only if circuits are operated in
specs:
– Power supply voltage
– Temperature
– Input-signal quality
– Output loading
• Must do some “analog” analysis to prove that circuits
are operated in spec.
– Fan-out specs
– Timing analysis (setup and hold times)
– Analysis involves only consequences of V = IR
(static) and q = CV (dynamic)
CMOS Electrical Characteristics
• Logic voltage levels
• DC noise margin
• DC Output Loading
• Fan-in
• Fan-out
• AC Loading (Speed)
• Transition Time
• Propagation Delay
• Power
Logic Levels
• Typical transfer characteristic of a CMOS inverter:
– LOW input level: < 2.4 Volt
– HIGH input level: > 2.6 Volt
• Transfer characteristic depends on power-supply
voltage, temperature and output loading.
DC Noise Margins
• DC noise margin is a measure of how much noise it
takes to corrupt a worst-case output voltage into a
value that may not be recognized properly by an input.
– Noise Margin Low = VILmax– VOLmax
= 1.35 – 0.1 = 1.25V
– Noise Margin High = VOHmin– VIHmin
= 4.4 – 3.15 = 1.25V
DC Output Loading
• An output must sink
current from a load when
the output is in the LOW
state.
• An output must source
current to a load when
the output is in the HIGH
state.
DC Output Loading - Output-voltage Drops
• Resistance of “off” transistor is > 1 Megaohm, but
resistance of “on” transistor is nonzero,
– Voltage drops across “on” transistor, V = IR
• For “CMOS” loads, current and voltage drop are
negligible.
• For TTL inputs, LEDs, terminations, or other resistive
loads, current and voltage drop are significant and must
be calculated.
• If too much load, output voltage will go outside of valid
logic-voltage range.
– VOHmin,VIHmin
– VOLmax,VILmax
Fan-in
• The number of inputs that a gate can have in a
particular logic family is called the logic family’s fan-in.
– You could design a CMOS NAND or NOR gates with a very
large number of inputs.
– In practice, additive “on” resistance of series transistors
limits the fan-in of CMOS gates – Lower speed.
• Max fan-in = 4 for NOR, 6 for NAND
3-input NAND gate
7-input NAND gate using
4-input NAND gates
Fan-out
• The fan-out of a gate is the number of inputs that the
gate can drive without exceeding its worst-case loading
specifications.
– Characteristics of the gate’s output
– Characteristics of the inputs that it is driving
• DC fan-out: The number of inputs that an output can
drive with the output in a constant state (high or low).
• AC fan-out: The ability of an output to charge or
discharge the stray capacitance associated with the
inputs that it drives.
– If the capacitance is too large, the transition from low to high
(or vice versa) may be too slow, causing improper system
operation.
AC Loading (Speed)
• AC loading has become a critical design factor as
industry has moved to pure CMOS systems.
– CMOS inputs have very high impedance, DC loading is
frequently negligible (low fan-outs).
– CMOS inputs and related packaging and wiring have significant
capacitance.
– Time to charge and discharge capacitance is a major
component of delay.
• Gate’s speed and power consumption depend on the AC
characteristics of the gate and its load.
Transition Time
• The amount of time that the output of a logic circuit
takes to change from one state to another is called the
transition time.
– tR: rise time – time to chage from low to high
– tF: fall time – time to chage from high to low
Transition Time
• The rise and fall times of a CMOS output depend
mainly on
– “on” transistor resistance
– capacitive load
• Capacitive load = Stray capacitance = AC load
– Output circuits: A gate’s output transistors, internal wiring,
packaging
– The wiring that connects an output to other inputs
– Input circuits: A gate’s input transistors, internal wiring,
packaging
Propagation Delay
• The propagation delay is the amount of time that it takes for a
change in the input signal to produce a change in the output signal.
– tPHL : high-to-low propogation time
– tPLH : low-to-high propogation time
– tPD: propogation delay; tPD=max (tPHL, tPLH)
•tPD determines the gate speed
Power Consumption Analysis of CMOS Circuits
 Two components of power consumption in a CMOS circuit
 Static power dissipation
 Caused by the leakage current and other static current
 Dynamic power dissipation
 Caused by the total output capacitance
 Caused by the short-circuit current
 The total power consumption of a CMOS circuit is
 Pt Ps Psw Psc
Where
Ps: static power (leakage power);
Psw: switching power;
Psc: short-circuit power
Power Consumption Analysis of CMOS Circuits
Power Consumption Analysis of CMOS Circuits
Dynamic Power Dissipation
 Switching Power
Caused by charging and discharging the output
capacitive load
 Consider an inverter operated at a switching
frequency f=1/T
Power Consumption Analysis of CMOS Circuits
Pull-up and Pull-Down Network
 In CMOS technology, both N-type and P-type
transistors are used to design logic functions. The
same signal which turns ON a transistor of one
type is used to turn OFF a transistor of the other
type. This characteristic allows the design of logic
devices using only simple switches, without the
need for a pull-up resistor
 In CMOS logic gates a collection of n-type
MOSFETs is arranged in a pull-down network
between the output and the low voltage power
supply
 CMOS logic gates have a collection of p-type
MOSFETs in a pull-up network between the output
and the higher-voltage
 Thus, if both a p-type and n-type transistor have
their gates connected to the same input, the p-
type MOSFET will be ON when the n-type
MOSFET is OFF, and vice-versa. The networks are
arranged such that one is ON and the other OFF
for any input which is “pullup and pulldown nework
DC Analysis/Characteristics of CMOS Inverter
Before we begin our analysis it is important to mention four assumptions.
 The MOSFETS (nMOS & pMOS)must have the same threshold voltage magnitude
and conduction parameter.
 The drain current through the nMOS device equals the drain current through the
pMOS device at all times.
 MOSFET (nMOS & pMOS) gates have a high input impedance and we assume the
circuit’s output sees no significant loading.
 VDD equals the voltage across the PMOS plus the voltage across the NMOS by
KVL.
DC Analysis/Characteristics of CMOS Inverter
Region I
In this case when we apply an input voltage between 0 and VTN.
The PMOS device on since a low voltage is being applied to it.
The NMOS device is off, there is no current flow through either device.
VDD is available at the Vo terminal
•The PMOS device is forward biased (VSG > -VTP) and therefore on.
•This MOSFET is in the linear region (VSD <= VSG + VTP=VDD - Vo + VTP).
•The NMOS device is cut off since the input voltage is below VTN
(Vi=VGS<VTN).
•The power dissipation is zero.
Region II
Here we raise the input voltage above VTN. We find that the PMOS device
remains in the linear. The NMOS turns on
•The PMOS device is in the linear region (VSD <= VSG + VTP).
•The NMOS device is in the saturation region (Vi = Vo - VTN).
•Current now flows through both devices. Power dissipation is no longer zero.
The maximum allowable input voltage at the low logic state (VIL)
occurs in this region
DC Analysis/Characteristics of CMOS Inverter
Region III
In the middle of this region there exists a point where Vi=Vo.
We label this point VM and identify it as the gate threshold voltage.
The voltage dropped across the NMOS device equals the voltage dropped across
the PMOS device when the input voltage is VM.
•The PMOS device is in the saturation region (VSD>=VSG+VTP=VDD-Vo+VTP).
•The NMOS device is in the saturation region (VDS>=VGS-VTN=Vo-VTN).
•Power dissipation reaches a peak in this region, namely at where VM=Vi=Vo.
Region IV
Region IV occurs between an input voltage slightly higher than VM
but lower than VDD-VTP. Now the NMOS device is conducting in the linear
region
PMOS into saturation. This region is effectively the reverse of region II.
•The PMOS device is in the saturation region (VSD>=VSG+VTP=VDD-Vo+VTP).
•The NMOS device is forward biased (Vi=VGS > VTN) and therefore on.
•This MOSFET is in the linear region (Vi=VDS<=VGS-VTN=Vo-VTN).
The minimum allowable input voltage at the logic high state (VIH)
occurs in this region
DC Analysis/Characteristics of CMOS Inverter
Region V
The NMOS wants to conduct but its drain current is severely limited due to
the PMOS device only letting through a tiny leakage current
 The PMOS device is cut off when the input is at VDD (VSG=0 V).
 The NMOS device is forward biased (Vi=VGS > VTN) and therefore on.
 This MOSFET is in the linear region (Vi=VDS<=VGS-VTN).
The total power dissipation is zero just as in region I.
Region nMOS pMOS
Region I Cutoff Linear
Region II Saturation Linear
Region III Saturation Saturation
Region IV Linear Saturation
Region V Linear Cutoff
Beta Ratio
 Device Sizing is the Width to Length
ratio (W/L) of the transistor.
 When discussing a CMOS logic gate,
we relate to the pMOS/nMOS
ratio i.e.((Wp/Lp)/(Wn/Ln)).
We will call this ratio β.
 To get a balanced inverter
( If p / n  1 i.e. Vm=VDD/2)
 we usually will need β=3-3.5, mainly
due to the mobility ratio of holes and
electrons.
 This generally equates the propagation
delay of
High-to-Low and Low-to-High
transitions.
 However, this does not imply that this
ratio yields the minimum overall
propagation delay.
Switching Characteristics of CMOS Inverter
Switching Characteristics of CMOS Inverter
 Rise time (tr)
 The time for a waveform to rise from 10% to 90%
of its steady-state value
 Fall time (tf)
 The time for a waveform to fall from 90% to 10%
steady-state value
 Delay time (td)
 The time difference between input transition
(50%) and the 50% output level. (This is the time
taken for a logic transition to pass from input to
output
 High-to-low delay (tdf)
 Low-to-high delay (tdr)
CMOS Logic Gates and its Examples
Inverter
Inverter
NAND – Not AND
NAND
NOR – Not OR
Non-inverting Buffer
AND Gate
OR Gate

More Related Content

What's hot (20)

Latch up
Latch upLatch up
Latch up
 
LOW POWER DESIGN VLSI
LOW POWER DESIGN VLSILOW POWER DESIGN VLSI
LOW POWER DESIGN VLSI
 
Logic family
Logic familyLogic family
Logic family
 
Second order effects
Second order effectsSecond order effects
Second order effects
 
Power dissipation cmos
Power dissipation cmosPower dissipation cmos
Power dissipation cmos
 
Cmos design
Cmos designCmos design
Cmos design
 
MOSFETs
MOSFETsMOSFETs
MOSFETs
 
CMOS Topic 5 -_cmos_inverter
CMOS Topic 5 -_cmos_inverterCMOS Topic 5 -_cmos_inverter
CMOS Topic 5 -_cmos_inverter
 
Logic families
Logic  familiesLogic  families
Logic families
 
Pass Transistor Logic
Pass Transistor LogicPass Transistor Logic
Pass Transistor Logic
 
CMOS LOGIC STRUCTURES
CMOS LOGIC STRUCTURESCMOS LOGIC STRUCTURES
CMOS LOGIC STRUCTURES
 
CMOS Logic
CMOS LogicCMOS Logic
CMOS Logic
 
CMOS
CMOS CMOS
CMOS
 
MOSFET....complete PPT
MOSFET....complete PPTMOSFET....complete PPT
MOSFET....complete PPT
 
Hybrid model for Transistor, small signal Analysis
Hybrid model for Transistor, small signal AnalysisHybrid model for Transistor, small signal Analysis
Hybrid model for Transistor, small signal Analysis
 
CMOS TG
CMOS TGCMOS TG
CMOS TG
 
digital logic_families
digital logic_familiesdigital logic_families
digital logic_families
 
Mos and cmos technology
Mos and cmos technologyMos and cmos technology
Mos and cmos technology
 
current mirrors
current mirrorscurrent mirrors
current mirrors
 
EMIR.pdf
EMIR.pdfEMIR.pdf
EMIR.pdf
 

Similar to Unit no. 5 cmos logic design

Introduction to MOS Technology.pdf
Introduction to MOS Technology.pdfIntroduction to MOS Technology.pdf
Introduction to MOS Technology.pdfAshishSoni509
 
circuit families in vlsi.pptx
circuit families in vlsi.pptxcircuit families in vlsi.pptx
circuit families in vlsi.pptxanitha862251
 
LM315x Synchronous Simple Switcher® Controller Series
LM315x Synchronous Simple Switcher® Controller SeriesLM315x Synchronous Simple Switcher® Controller Series
LM315x Synchronous Simple Switcher® Controller SeriesPremier Farnell
 
Characteristics of cmos ic series
Characteristics of cmos ic seriesCharacteristics of cmos ic series
Characteristics of cmos ic seriesPraveen Kumar
 
CMOS logic circuits
CMOS logic circuitsCMOS logic circuits
CMOS logic circuitsMahesh_Naidu
 
TTL Driving CMOS - Digital Electronic Presentation ALA 2018
TTL Driving CMOS - Digital Electronic Presentation ALA 2018TTL Driving CMOS - Digital Electronic Presentation ALA 2018
TTL Driving CMOS - Digital Electronic Presentation ALA 2018Mr. RahüL YøGi
 
Power Electronics- Power Semiconductor devices.pptx
Power Electronics- Power Semiconductor devices.pptxPower Electronics- Power Semiconductor devices.pptx
Power Electronics- Power Semiconductor devices.pptxPoornima D
 
Basic knowledge of ldo voltage regulators
Basic knowledge of ldo voltage regulatorsBasic knowledge of ldo voltage regulators
Basic knowledge of ldo voltage regulatorsĐức Hữu
 
B sc cs i bo-de u-iv logic families
B sc cs i bo-de u-iv logic familiesB sc cs i bo-de u-iv logic families
B sc cs i bo-de u-iv logic familiesRai University
 
Basic Electronic UNIT-IV PPT
Basic Electronic UNIT-IV PPTBasic Electronic UNIT-IV PPT
Basic Electronic UNIT-IV PPTPraveen Kunda
 
lecture 10 - electrical machines - dc to dc converters 1.pptx
lecture 10 - electrical machines - dc to dc converters 1.pptxlecture 10 - electrical machines - dc to dc converters 1.pptx
lecture 10 - electrical machines - dc to dc converters 1.pptxJohnkamanda3
 
Pccoe basic mobile_robot
Pccoe basic mobile_robotPccoe basic mobile_robot
Pccoe basic mobile_robotAjendra Joshi
 
Power Electronics Basics_Sonam Welanjkar
Power Electronics Basics_Sonam WelanjkarPower Electronics Basics_Sonam Welanjkar
Power Electronics Basics_Sonam WelanjkarSonam Welanjkar
 
vlsi 2 unit.pdfvlsi unit 2 important notes for ece department
vlsi 2 unit.pdfvlsi unit 2 important notes for ece departmentvlsi 2 unit.pdfvlsi unit 2 important notes for ece department
vlsi 2 unit.pdfvlsi unit 2 important notes for ece departmentnitcse
 

Similar to Unit no. 5 cmos logic design (20)

Introduction to MOS Technology.pdf
Introduction to MOS Technology.pdfIntroduction to MOS Technology.pdf
Introduction to MOS Technology.pdf
 
circuit families in vlsi.pptx
circuit families in vlsi.pptxcircuit families in vlsi.pptx
circuit families in vlsi.pptx
 
Module-2.pptx
Module-2.pptxModule-2.pptx
Module-2.pptx
 
LM315x Synchronous Simple Switcher® Controller Series
LM315x Synchronous Simple Switcher® Controller SeriesLM315x Synchronous Simple Switcher® Controller Series
LM315x Synchronous Simple Switcher® Controller Series
 
cmoshssd-220105164535.pptx
cmoshssd-220105164535.pptxcmoshssd-220105164535.pptx
cmoshssd-220105164535.pptx
 
Characteristics of cmos ic series
Characteristics of cmos ic seriesCharacteristics of cmos ic series
Characteristics of cmos ic series
 
IO Circuit_1.pptx
IO Circuit_1.pptxIO Circuit_1.pptx
IO Circuit_1.pptx
 
CMOS logic circuits
CMOS logic circuitsCMOS logic circuits
CMOS logic circuits
 
PPT CMOS.pptx
PPT CMOS.pptxPPT CMOS.pptx
PPT CMOS.pptx
 
TTL Driving CMOS - Digital Electronic Presentation ALA 2018
TTL Driving CMOS - Digital Electronic Presentation ALA 2018TTL Driving CMOS - Digital Electronic Presentation ALA 2018
TTL Driving CMOS - Digital Electronic Presentation ALA 2018
 
Power Electronics- Power Semiconductor devices.pptx
Power Electronics- Power Semiconductor devices.pptxPower Electronics- Power Semiconductor devices.pptx
Power Electronics- Power Semiconductor devices.pptx
 
Basic knowledge of ldo voltage regulators
Basic knowledge of ldo voltage regulatorsBasic knowledge of ldo voltage regulators
Basic knowledge of ldo voltage regulators
 
B sc cs i bo-de u-iv logic families
B sc cs i bo-de u-iv logic familiesB sc cs i bo-de u-iv logic families
B sc cs i bo-de u-iv logic families
 
Basic Electronic UNIT-IV PPT
Basic Electronic UNIT-IV PPTBasic Electronic UNIT-IV PPT
Basic Electronic UNIT-IV PPT
 
Aj pmosfet
Aj pmosfetAj pmosfet
Aj pmosfet
 
lecture 10 - electrical machines - dc to dc converters 1.pptx
lecture 10 - electrical machines - dc to dc converters 1.pptxlecture 10 - electrical machines - dc to dc converters 1.pptx
lecture 10 - electrical machines - dc to dc converters 1.pptx
 
Pccoe basic mobile_robot
Pccoe basic mobile_robotPccoe basic mobile_robot
Pccoe basic mobile_robot
 
Power Electronics Basics_Sonam Welanjkar
Power Electronics Basics_Sonam WelanjkarPower Electronics Basics_Sonam Welanjkar
Power Electronics Basics_Sonam Welanjkar
 
vlsi 2 unit.pdfvlsi unit 2 important notes for ece department
vlsi 2 unit.pdfvlsi unit 2 important notes for ece departmentvlsi 2 unit.pdfvlsi unit 2 important notes for ece department
vlsi 2 unit.pdfvlsi unit 2 important notes for ece department
 
video.ppt
video.pptvideo.ppt
video.ppt
 

More from swagatkarve

Revised-SOP-FOR-UG-AFFILIATED-01.01.2021.pdf
Revised-SOP-FOR-UG-AFFILIATED-01.01.2021.pdfRevised-SOP-FOR-UG-AFFILIATED-01.01.2021.pdf
Revised-SOP-FOR-UG-AFFILIATED-01.01.2021.pdfswagatkarve
 
Unit No. 1 Artificial Intelligence Overview.pptx
Unit No. 1 Artificial Intelligence Overview.pptxUnit No. 1 Artificial Intelligence Overview.pptx
Unit No. 1 Artificial Intelligence Overview.pptxswagatkarve
 
Unit 2. Image Enhancement in Spatial Domain.pptx
Unit 2. Image Enhancement in Spatial Domain.pptxUnit 2. Image Enhancement in Spatial Domain.pptx
Unit 2. Image Enhancement in Spatial Domain.pptxswagatkarve
 
CN PPT MMZ 9 Jan 2024.pptx
CN PPT MMZ 9 Jan 2024.pptxCN PPT MMZ 9 Jan 2024.pptx
CN PPT MMZ 9 Jan 2024.pptxswagatkarve
 
Intro to Subject.pptx
Intro to Subject.pptxIntro to Subject.pptx
Intro to Subject.pptxswagatkarve
 
Spatial Domain Filtering.pdf
Spatial Domain Filtering.pdfSpatial Domain Filtering.pdf
Spatial Domain Filtering.pdfswagatkarve
 
Lab Charts .pptx
Lab Charts .pptxLab Charts .pptx
Lab Charts .pptxswagatkarve
 
Unit 3 testing of logic circuits
Unit 3 testing of logic circuitsUnit 3 testing of logic circuits
Unit 3 testing of logic circuitsswagatkarve
 
Vlsi design mc qs
Vlsi design mc qsVlsi design mc qs
Vlsi design mc qsswagatkarve
 

More from swagatkarve (11)

Revised-SOP-FOR-UG-AFFILIATED-01.01.2021.pdf
Revised-SOP-FOR-UG-AFFILIATED-01.01.2021.pdfRevised-SOP-FOR-UG-AFFILIATED-01.01.2021.pdf
Revised-SOP-FOR-UG-AFFILIATED-01.01.2021.pdf
 
Unit No. 1 Artificial Intelligence Overview.pptx
Unit No. 1 Artificial Intelligence Overview.pptxUnit No. 1 Artificial Intelligence Overview.pptx
Unit No. 1 Artificial Intelligence Overview.pptx
 
Unit 2. Image Enhancement in Spatial Domain.pptx
Unit 2. Image Enhancement in Spatial Domain.pptxUnit 2. Image Enhancement in Spatial Domain.pptx
Unit 2. Image Enhancement in Spatial Domain.pptx
 
CN PPT MMZ 9 Jan 2024.pptx
CN PPT MMZ 9 Jan 2024.pptxCN PPT MMZ 9 Jan 2024.pptx
CN PPT MMZ 9 Jan 2024.pptx
 
Intro to Subject.pptx
Intro to Subject.pptxIntro to Subject.pptx
Intro to Subject.pptx
 
Spatial Domain Filtering.pdf
Spatial Domain Filtering.pdfSpatial Domain Filtering.pdf
Spatial Domain Filtering.pdf
 
EXPT1.pptx
EXPT1.pptxEXPT1.pptx
EXPT1.pptx
 
Lab Charts .pptx
Lab Charts .pptxLab Charts .pptx
Lab Charts .pptx
 
osi.ppt
osi.pptosi.ppt
osi.ppt
 
Unit 3 testing of logic circuits
Unit 3 testing of logic circuitsUnit 3 testing of logic circuits
Unit 3 testing of logic circuits
 
Vlsi design mc qs
Vlsi design mc qsVlsi design mc qs
Vlsi design mc qs
 

Recently uploaded

Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industriesMuhammadTufail242431
 
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical EngineeringC Sai Kiran
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdfAhmedHussein950959
 
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfKamal Acharya
 
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES  INTRODUCTION UNIT-IENERGY STORAGE DEVICES  INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES INTRODUCTION UNIT-IVigneshvaranMech
 
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and ClusteringKIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and ClusteringDr. Radhey Shyam
 
Explosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdfExplosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdf884710SadaqatAli
 
İTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopİTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopEmre Günaydın
 
2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edgePaco Orozco
 
Top 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering ScientistTop 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering Scientistgettygaming1
 
Hall booking system project report .pdf
Hall booking system project report  .pdfHall booking system project report  .pdf
Hall booking system project report .pdfKamal Acharya
 
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and VisualizationKIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and VisualizationDr. Radhey Shyam
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Aryaabh.arya
 
Furniture showroom management system project.pdf
Furniture showroom management system project.pdfFurniture showroom management system project.pdf
Furniture showroom management system project.pdfKamal Acharya
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234AafreenAbuthahir2
 
IT-601 Lecture Notes-UNIT-2.pdf Data Analysis
IT-601 Lecture Notes-UNIT-2.pdf Data AnalysisIT-601 Lecture Notes-UNIT-2.pdf Data Analysis
IT-601 Lecture Notes-UNIT-2.pdf Data AnalysisDr. Radhey Shyam
 
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdfRESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdfKamal Acharya
 
fluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answerfluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answerapareshmondalnita
 
Laundry management system project report.pdf
Laundry management system project report.pdfLaundry management system project report.pdf
Laundry management system project report.pdfKamal Acharya
 
A case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfA case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfKamal Acharya
 

Recently uploaded (20)

Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
 
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES  INTRODUCTION UNIT-IENERGY STORAGE DEVICES  INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
 
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and ClusteringKIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
 
Explosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdfExplosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdf
 
İTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopİTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering Workshop
 
2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge
 
Top 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering ScientistTop 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering Scientist
 
Hall booking system project report .pdf
Hall booking system project report  .pdfHall booking system project report  .pdf
Hall booking system project report .pdf
 
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and VisualizationKIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
Furniture showroom management system project.pdf
Furniture showroom management system project.pdfFurniture showroom management system project.pdf
Furniture showroom management system project.pdf
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
IT-601 Lecture Notes-UNIT-2.pdf Data Analysis
IT-601 Lecture Notes-UNIT-2.pdf Data AnalysisIT-601 Lecture Notes-UNIT-2.pdf Data Analysis
IT-601 Lecture Notes-UNIT-2.pdf Data Analysis
 
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdfRESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
RESORT MANAGEMENT AND RESERVATION SYSTEM PROJECT REPORT.pdf
 
fluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answerfluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answer
 
Laundry management system project report.pdf
Laundry management system project report.pdfLaundry management system project report.pdf
Laundry management system project report.pdf
 
A case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfA case study of cinema management system project report..pdf
A case study of cinema management system project report..pdf
 

Unit no. 5 cmos logic design

  • 1. Mr. S. M. Karve Department of Electronics & Telecommunication Engineering VLSI Design Unit No. 5 CMOS Logic Design Prepared By
  • 2.  Logic Values  Encoder bits  Logic Gates  Logic Families  MOS Transistors  CMOS Inverter  CMOS Electrical Characteristics  Power Consumption Analysis of CMOS Circuits  Pull-up and Pull-Down Network  DC Analysis/Characteristics of CMOS Inverter  Beta Ratio  Switching Characteristics of CMOS Inverter  CMOS logic gates and its Examples  Implementation of Boolean equations using CMOS Logic Contents
  • 3. Logic Values • Logic values = {0, 1} • A logic value, 0 or 1, is called as BInary DigiT or BIT. • Physical states representing bits in digital technologies:
  • 4. Encoding Bits • Information can be encoded in Analog System using: – Current, Voltage, Phase, Frequency • Digital systems use two voltage levels for encoding bits. – LOW: A signal close to the GND – HIGH: A signal close to the VCC
  • 5. Encoding Bits • Positive logic – High: 1 and Low: 0 – Our convention in this unit • Negative logic – High: 0 and Low: 1
  • 6. Logic Gates • Gates are basic digital devices. – A gate takes one or more inputs and produces an output. – Inputs are either 0 or 1. • Although they may have very different values of voltage. – Output is either 0 or 1. – A logic gate’s operation is fully described by a truth table.
  • 7. Logic Families – What is inside of a logic gate? • A logic family is a collection of different integrated- circuit chips that have similar input, output, and internal circuit characteristics, but that perform different logic functions. • Logic gates are made from transistors. – TTL (Transistor-Transistor Logic) family gates are made from bipolar transistors. – CMOS (Complementary Metal Oxide Semiconductor) family logic gates are made from MOS transistors.
  • 8. MOS Transistors – N-type MOSFET • OFF (open circuit) : when gate is logical zero • ON (short circuit) : when gate is logical one • • Passes a good logical zero Degrades a logical one
  • 9. MOS Transistors – P-type MOSFET • OFF (open circuit) : when gate is logical one • ON (short circuit) : when gate is logical zero • • Passes a good logical one Degrades a logical zero
  • 10. CMOS Inverter  The inverter circuit as shown in the figure above. It consists of PMOS and NMOS FET. The input A serves as the gate voltage for both transistors & The terminal Y is output  The NMOS transistor has an input from ground (Vss) and PMOS transistor has an input from High voltage (Vdd).  When a high voltage (1v) is given at input terminal (A) of the inverter, the PMOS becomes open circuit and NMOS switched OFF so the output will be pulled down to ground (Vss)  When a low-level voltage (0v) applied to the inverter, the NMOS switched OFF and PMOS switched ON. So the output becomes Vdd or the circuit is pulled up to High voltage (Vdd)
  • 11. CMOS Electrical Characteristics • Digital analysis works only if circuits are operated in specs: – Power supply voltage – Temperature – Input-signal quality – Output loading • Must do some “analog” analysis to prove that circuits are operated in spec. – Fan-out specs – Timing analysis (setup and hold times) – Analysis involves only consequences of V = IR (static) and q = CV (dynamic)
  • 12. CMOS Electrical Characteristics • Logic voltage levels • DC noise margin • DC Output Loading • Fan-in • Fan-out • AC Loading (Speed) • Transition Time • Propagation Delay • Power
  • 13. Logic Levels • Typical transfer characteristic of a CMOS inverter: – LOW input level: < 2.4 Volt – HIGH input level: > 2.6 Volt • Transfer characteristic depends on power-supply voltage, temperature and output loading.
  • 14. DC Noise Margins • DC noise margin is a measure of how much noise it takes to corrupt a worst-case output voltage into a value that may not be recognized properly by an input. – Noise Margin Low = VILmax– VOLmax = 1.35 – 0.1 = 1.25V – Noise Margin High = VOHmin– VIHmin = 4.4 – 3.15 = 1.25V
  • 15. DC Output Loading • An output must sink current from a load when the output is in the LOW state. • An output must source current to a load when the output is in the HIGH state.
  • 16. DC Output Loading - Output-voltage Drops • Resistance of “off” transistor is > 1 Megaohm, but resistance of “on” transistor is nonzero, – Voltage drops across “on” transistor, V = IR • For “CMOS” loads, current and voltage drop are negligible. • For TTL inputs, LEDs, terminations, or other resistive loads, current and voltage drop are significant and must be calculated. • If too much load, output voltage will go outside of valid logic-voltage range. – VOHmin,VIHmin – VOLmax,VILmax
  • 17. Fan-in • The number of inputs that a gate can have in a particular logic family is called the logic family’s fan-in. – You could design a CMOS NAND or NOR gates with a very large number of inputs. – In practice, additive “on” resistance of series transistors limits the fan-in of CMOS gates – Lower speed. • Max fan-in = 4 for NOR, 6 for NAND 3-input NAND gate 7-input NAND gate using 4-input NAND gates
  • 18. Fan-out • The fan-out of a gate is the number of inputs that the gate can drive without exceeding its worst-case loading specifications. – Characteristics of the gate’s output – Characteristics of the inputs that it is driving • DC fan-out: The number of inputs that an output can drive with the output in a constant state (high or low). • AC fan-out: The ability of an output to charge or discharge the stray capacitance associated with the inputs that it drives. – If the capacitance is too large, the transition from low to high (or vice versa) may be too slow, causing improper system operation.
  • 19. AC Loading (Speed) • AC loading has become a critical design factor as industry has moved to pure CMOS systems. – CMOS inputs have very high impedance, DC loading is frequently negligible (low fan-outs). – CMOS inputs and related packaging and wiring have significant capacitance. – Time to charge and discharge capacitance is a major component of delay. • Gate’s speed and power consumption depend on the AC characteristics of the gate and its load.
  • 20. Transition Time • The amount of time that the output of a logic circuit takes to change from one state to another is called the transition time. – tR: rise time – time to chage from low to high – tF: fall time – time to chage from high to low
  • 21. Transition Time • The rise and fall times of a CMOS output depend mainly on – “on” transistor resistance – capacitive load • Capacitive load = Stray capacitance = AC load – Output circuits: A gate’s output transistors, internal wiring, packaging – The wiring that connects an output to other inputs – Input circuits: A gate’s input transistors, internal wiring, packaging
  • 22. Propagation Delay • The propagation delay is the amount of time that it takes for a change in the input signal to produce a change in the output signal. – tPHL : high-to-low propogation time – tPLH : low-to-high propogation time – tPD: propogation delay; tPD=max (tPHL, tPLH) •tPD determines the gate speed
  • 23. Power Consumption Analysis of CMOS Circuits  Two components of power consumption in a CMOS circuit  Static power dissipation  Caused by the leakage current and other static current  Dynamic power dissipation  Caused by the total output capacitance  Caused by the short-circuit current  The total power consumption of a CMOS circuit is  Pt Ps Psw Psc Where Ps: static power (leakage power); Psw: switching power; Psc: short-circuit power
  • 24. Power Consumption Analysis of CMOS Circuits
  • 25. Power Consumption Analysis of CMOS Circuits Dynamic Power Dissipation  Switching Power Caused by charging and discharging the output capacitive load  Consider an inverter operated at a switching frequency f=1/T
  • 26. Power Consumption Analysis of CMOS Circuits
  • 27. Pull-up and Pull-Down Network  In CMOS technology, both N-type and P-type transistors are used to design logic functions. The same signal which turns ON a transistor of one type is used to turn OFF a transistor of the other type. This characteristic allows the design of logic devices using only simple switches, without the need for a pull-up resistor  In CMOS logic gates a collection of n-type MOSFETs is arranged in a pull-down network between the output and the low voltage power supply  CMOS logic gates have a collection of p-type MOSFETs in a pull-up network between the output and the higher-voltage  Thus, if both a p-type and n-type transistor have their gates connected to the same input, the p- type MOSFET will be ON when the n-type MOSFET is OFF, and vice-versa. The networks are arranged such that one is ON and the other OFF for any input which is “pullup and pulldown nework
  • 28. DC Analysis/Characteristics of CMOS Inverter Before we begin our analysis it is important to mention four assumptions.  The MOSFETS (nMOS & pMOS)must have the same threshold voltage magnitude and conduction parameter.  The drain current through the nMOS device equals the drain current through the pMOS device at all times.  MOSFET (nMOS & pMOS) gates have a high input impedance and we assume the circuit’s output sees no significant loading.  VDD equals the voltage across the PMOS plus the voltage across the NMOS by KVL.
  • 29. DC Analysis/Characteristics of CMOS Inverter Region I In this case when we apply an input voltage between 0 and VTN. The PMOS device on since a low voltage is being applied to it. The NMOS device is off, there is no current flow through either device. VDD is available at the Vo terminal •The PMOS device is forward biased (VSG > -VTP) and therefore on. •This MOSFET is in the linear region (VSD <= VSG + VTP=VDD - Vo + VTP). •The NMOS device is cut off since the input voltage is below VTN (Vi=VGS<VTN). •The power dissipation is zero. Region II Here we raise the input voltage above VTN. We find that the PMOS device remains in the linear. The NMOS turns on •The PMOS device is in the linear region (VSD <= VSG + VTP). •The NMOS device is in the saturation region (Vi = Vo - VTN). •Current now flows through both devices. Power dissipation is no longer zero. The maximum allowable input voltage at the low logic state (VIL) occurs in this region
  • 30. DC Analysis/Characteristics of CMOS Inverter Region III In the middle of this region there exists a point where Vi=Vo. We label this point VM and identify it as the gate threshold voltage. The voltage dropped across the NMOS device equals the voltage dropped across the PMOS device when the input voltage is VM. •The PMOS device is in the saturation region (VSD>=VSG+VTP=VDD-Vo+VTP). •The NMOS device is in the saturation region (VDS>=VGS-VTN=Vo-VTN). •Power dissipation reaches a peak in this region, namely at where VM=Vi=Vo. Region IV Region IV occurs between an input voltage slightly higher than VM but lower than VDD-VTP. Now the NMOS device is conducting in the linear region PMOS into saturation. This region is effectively the reverse of region II. •The PMOS device is in the saturation region (VSD>=VSG+VTP=VDD-Vo+VTP). •The NMOS device is forward biased (Vi=VGS > VTN) and therefore on. •This MOSFET is in the linear region (Vi=VDS<=VGS-VTN=Vo-VTN). The minimum allowable input voltage at the logic high state (VIH) occurs in this region
  • 31. DC Analysis/Characteristics of CMOS Inverter Region V The NMOS wants to conduct but its drain current is severely limited due to the PMOS device only letting through a tiny leakage current  The PMOS device is cut off when the input is at VDD (VSG=0 V).  The NMOS device is forward biased (Vi=VGS > VTN) and therefore on.  This MOSFET is in the linear region (Vi=VDS<=VGS-VTN). The total power dissipation is zero just as in region I. Region nMOS pMOS Region I Cutoff Linear Region II Saturation Linear Region III Saturation Saturation Region IV Linear Saturation Region V Linear Cutoff
  • 32. Beta Ratio  Device Sizing is the Width to Length ratio (W/L) of the transistor.  When discussing a CMOS logic gate, we relate to the pMOS/nMOS ratio i.e.((Wp/Lp)/(Wn/Ln)). We will call this ratio β.  To get a balanced inverter ( If p / n  1 i.e. Vm=VDD/2)  we usually will need β=3-3.5, mainly due to the mobility ratio of holes and electrons.  This generally equates the propagation delay of High-to-Low and Low-to-High transitions.  However, this does not imply that this ratio yields the minimum overall propagation delay.
  • 34. Switching Characteristics of CMOS Inverter  Rise time (tr)  The time for a waveform to rise from 10% to 90% of its steady-state value  Fall time (tf)  The time for a waveform to fall from 90% to 10% steady-state value  Delay time (td)  The time difference between input transition (50%) and the 50% output level. (This is the time taken for a logic transition to pass from input to output  High-to-low delay (tdf)  Low-to-high delay (tdr)
  • 35. CMOS Logic Gates and its Examples
  • 39. NAND