Chapter 07 Electronic Analysis of CMOS Logic Gates

Slides:



Advertisements
Similar presentations
Topics Electrical properties of static combinational gates:
Advertisements

Copyright © 2004 by Miguel A. Marin Revised CMOS CIRCUIT TECHNOLOGY NMOS & PMOS TRANSISTOR SWITCH NMOS & PMOS AS LOGIC CIRCUITS NMOS & PMOS.
ECE 424 – Introduction to VLSI
Elettronica T A.A Digital Integrated Circuits © Prentice Hall 2003 Inverter CMOS INVERTER.
DC Response DC Response: Vout vs. Vin for a gate Ex: Inverter
Lecture 5: DC & Transient Response
CMOS Family.
Chapter 08 Designing High-Speed CMOS Logic Networks
Chapter 09 Advanced Techniques in CMOS Logic Circuits
A Look at Chapter 4: Circuit Characterization and Performance Estimation Knowing the source of delays in CMOS gates and being able to estimate them efficiently.
ISLAMIC UNIVERSITY OF GAZA Faculty of Engineering Computer Engineering Department EELE3321: Digital Electronics Course Asst. Prof. Mohammed Alhanjouri.
Microelectronic Circuits, Sixth Edition Sedra/Smith Copyright © 2010 by Oxford University Press, Inc. C H A P T E R 13 CMOS Digital Logic Circuits.
Voltage Transfer Characteristic for TTL
Lecture #26 Gate delays, MOS logic
Introduction to VLSI Circuits and Systems, NCUT 2007 Chapter 6 Electrical Characteristic of MOSFETs Introduction to VLSI Circuits and Systems 積體電路概論 賴秉樑.
Introduction to CMOS VLSI Design Lecture 4: DC & Transient Response
11/5/2004EE 42 fall 2004 lecture 281 Lecture #28 PMOS LAST TIME: NMOS Electrical Model – NMOS physical structure: W and L and d ox, TODAY: PMOS –Physical.
Introduction to CMOS VLSI Design Lecture 4: DC & Transient Response Credits: David Harris Harvey Mudd College (Material taken/adapted from Harris’ lecture.
CMOS Digital Integrated Circuits 1 Lec 7 CMOS Inverters: Dynamic Analysis and Design.
© Digital Integrated Circuits 2nd Inverter CMOS Inverter: Digital Workhorse  Best Figures of Merit in CMOS Family  Noise Immunity  Performance  Power/Buffer.
Lecture #24 Gates to circuits
Fig Operation of the enhancement NMOS transistor as vDS is increased
Chapter 03 Physical Structure of CMOS Integrated Circuits
Outline Noise Margins Transient Analysis Delay Estimation
DC and transient responses Lezione 3
CMOS VLSI Design4: DC and Transient ResponseSlide 1 EE466: VLSI Design Lecture 05: DC and transient response – CMOS Inverters.
1 Lecture 4: Transistor Summary/Inverter Analysis Subthreshold MOSFET currents IEEE Spectrum, 7/99, p. 26.
EE4800 CMOS Digital IC Design & Analysis
© 2000 Prentice Hall Inc. Figure 6.1 AND operation.
EE 447 VLSI Design 4: DC and Transient Response1 VLSI Design DC & Transient Response.
Digital CMOS Logic Circuits
S. RossEECS 40 Spring 2003 Lecture 24 Today we will Review charging of output capacitance (origin of gate delay) Calculate output capacitance Discuss fan-out.
Lecture 21, Slide 1EECS40, Fall 2004Prof. White Lecture #21 OUTLINE –Sequential logic circuits –Fan-out –Propagation delay –CMOS power consumption Reading:
Power, Energy and Delay Static CMOS is an attractive design style because of its good noise margins, ideal voltage transfer characteristics, full logic.
The CMOS Inverter Slides adapted from:
Digital Integrated Circuits© Prentice Hall 1995 Inverter THE INVERTERS.
Digital logic families
Practical Aspects of Logic Gates COE 202 Digital Logic Design Dr. Aiman El-Maleh College of Computer Sciences and Engineering King Fahd University of Petroleum.
MOS Inverter: Static Characteristics
1 Delay Estimation Most digital designs have multiple data paths some of which are not critical. The critical path is defined as the path the offers the.
Mary Jane Irwin ( ) Modified by Dr. George Engel (SIUE)
Mary Jane Irwin ( ) CSE477 VLSI Digital Circuits Fall 2002 Lecture 04: CMOS Inverter (static view) Mary Jane.
Ch 10 MOSFETs and MOS Digital Circuits
Microelectronic Circuits, Sixth Edition Sedra/Smith Copyright © 2010 by Oxford University Press, Inc. C H A P T E R 14 Advanced MOS and Bipolar Logic Circuits.
1. Department of Electronics Engineering Sahand University of Technology NMOS inverter with an n-channel enhancement-mode mosfet with the gate connected.
THE INVERTERS. DIGITAL GATES Fundamental Parameters l Functionality l Reliability, Robustness l Area l Performance »Speed (delay) »Power Consumption »Energy.
Modern VLSI Design 2e: Chapter 3 Copyright  1998 Prentice Hall PTR Topics n Electrical properties of static combinational gates: –transfer characteristics;
Device Characterization ECE/ChE 4752: Microelectronics Processing Laboratory Gary S. May April 1, 2004.
Linear Delay Model In general the propagation delay of a gate can be written as: d = f + p –p is the delay due to intrinsic capacitance. –f is the effort.
VLSI Design Lecture 5: Logic Gates Mohammad Arjomand CE Department Sharif Univ. of Tech. Adapted with modifications from Wayne Wolf’s lecture notes.
Introduction to CMOS VLSI Design MOS devices: static and dynamic behavior.
Logic Gate Specifications Definitions. Currents and Voltages All currents are defined as positive when they flow into the terminal of a logical gate.
Digital Integrated Circuits A Design Perspective
1. Digital cmos.2 10/15 Figure 10.1 Digital IC technologies and logic-circuit families. Digital IC Technologies CMOS & Pass Transistor Logic dominate.
EE210 Digital Electronics Class Lecture 10 April 08, 2009
FPGA-Based System Design: Chapter 2 Copyright  2004 Prentice Hall PTR Topics n Logic gate delay. n Logic gate power consumption. n Driving large loads.
Solid-State Devices & Circuits
Chapter 6 Copyright © 2004 The McGraw-Hill Companies, Inc. All rights reserved. High-Speed CMOS Logic Design.
Modern VLSI Design 3e: Chapter 3 Copyright  1998, 2002 Prentice Hall PTR Topics n Electrical properties of static combinational gates: –transfer characteristics;
EE415 VLSI Design THE INVERTER [Adapted from Rabaey’s Digital Integrated Circuits, ©2002, J. Rabaey et al.]
Circuit Delay Performance Estimation Most digital designs have multiple signal paths and the slowest one of these paths is called the critical path Timing.
COE 360 Principles of VLSI Design Delay. 2 Definitions.
CMOS VLSI Design Lecture 4: DC & Transient Response Younglok Kim Sogang University Fall 2006.
Copyright © 2004 The McGraw-Hill Companies, Inc. All rights reserved.
DC & Transient Response
Introduction to CMOS VLSI Design Lecture 5: DC & Transient Response
UNIT-II Stick Diagrams
Lecture 5: DC & Transient Response
Introduction to CMOS VLSI Design Lecture 4: DC & Transient Response
Presentation transcript:

Chapter 07 Electronic Analysis of CMOS Logic Gates Introduction to VLSI Circuits and Systems 積體電路概論 Chapter 07 Electronic Analysis of CMOS Logic Gates 賴秉樑 Dept. of Electronic Engineering National Chin-Yi University of Technology Fall 2007

Outline DC Characteristic of the CMOS Inverter Inverter Switching Characteristic Power Dissipation DC Characteristic: NAND and NOR Gates NAND and NOR Transient Response Analysis of Complex Logic Gates Gate Design for Transient Performance Transmission Gates and Pass Transistors

The Inverter Circuit The CMOS inverter gives the basic for calculating the electrical characteristic of logic gates The conduction states of Mn and Mp is determined by input voltage Vin Two types of calculations: DC analysis and transient analysis DC analysis Provide a direct mapping of the input to the output, such that to determine Vout Transient analysis The input voltage is an explicit function of time Vin(t) corresponding to a changing logic value Figure 7.1 The CMOS inverter circuit

DC Analysis of Inverter The DC characteristics of the inverter are portrayed in the voltage transfer characteristic (VTC), which is a plot of Vout as a function of Vin Simply, the output high voltage of the circuits as The output low voltage The logic swing at the output is Since this is equal to the full value of the power supply, this is called a full-rail output (7.1) (Vin = 0) (a) Low input voltage (7.2) (Vin = VDD) (7.3) (full-rail output) (b) High input voltage Figure 7.2 VOH and VOL for the inverter

Figure 7.3 Voltage transfer curve for the NOT gate VTC of the Inverter Starting with an input voltage of Vin = 0V and then increasing it up to a value of Vin = VDD Mp goes into cutoff when The logic 0 and 1 voltage ranges are defined by the changing slope of the VTC A logic 0 input voltage (input low voltage) A logic 1 input voltage (input high voltage) The voltage noise margins give a quantitative measure of how stable the inputs are with respect to coupled electromagnetic signal interface, there are (7.4) (7.5) (7.6) (7.7) Figure 7.3 Voltage transfer curve for the NOT gate (7.8)

Definition of Noise Margins (7.8)

Figure 7.4 Inverter voltage for VM calculation Midpoint Voltage VM (Let Vin = Vout = VM) (7.9) (7.15) (7.10) (7.16) (7.11) (7.17) (7.12) Symmetrical inverter principle (7.18) (7.13) (7.19) (7.14) (7.20) Figure 7.4 Inverter voltage for VM calculation

VTC Variation In Figure 7.5(a), the pFET has a width of about Wp≒2Wn VM = (VDD/2) In Figure 7.5(b), the pFET has a width of about Wp≒Wn VM < (VDD/2) At the physical level, the relative device sizes contained in the ratio (βn/βp) determine the switching points (a) Large pFET design (b) Equal aspect ratios Figure 7.5 Comparison of the layouts Figure 7.6 Dependence of VM on the device ratio

Outline DC Characteristic of the CMOS Inverter Inverter Switching Characteristic Power Dissipation DC Characteristic: NAND and NOR Gates NAND and NOR Transient Response Analysis of Complex Logic Gates Gate Design for Transient Performance Transmission Gates and Pass Transistors

Switching Characteristic High-speed digital system design requires that logic gates introduce a minimum amount of time delay when the inputs change The output 1-to-0 transition introduces a fall time delay of tf The output 0-to-1 transition introduces a rise time delay of tr The rise time and fall time can be calculated by analyzing the electronic transitions of the circuits parasitic resistance parasitic capacitances of the transistors Figure 7.7 General switching waveforms

Figure 7.8 RC switch model equivalent for the CMOS inverter RC Model of Inverter Both FETs can be replaced by their switch equivalents, which results in the simplified RC model Given the aspect ratios and Finding the capacitance CDn and CDp at the output node It is significant that increasing the channel width of a FET increases the parasitic capacitance values (7.28) (a) FET circuit (7.29) (b) RC switch model equivalent Figure 7.8 RC switch model equivalent for the CMOS inverter

Fan-out (FO) The fan-out gates act as a load to the driving circuit because of their input capacitance Cin Therefore, the total input capacitance is (Figure 7.9(a)) In Figure 7.9(b), the external load capacitance CL is In Figure 7.10 where the total output capacitance is defined as (b) Loading due to fan-out (a) Single stage (7.30) Figure 7.9 Input capacitance and load effects (7.31) (b) Complete switch model (a) External load (7.32) Figure 7.10 Evolution of the inverter switching model (7.33)

Figure 7.12 Discharge circuit for the fall time calculation Initially, Vout(0) = VDD, and Vin = 0 V and is switched to Vin = VDD at time t = 0; we time shift this event to occur at t = 0 The current leaving the capacitor is The differential equation for the discharge events (7.42) (a) Discharge circuit (7.43, 44) (7.45) (7.46) (b) Output waveform Figure 7.12 Discharge circuit for the fall time calculation (7.48, 49)

Figure 7.13 Rise time calculation The Rise Time Initially, Vout(0) = 0 V, and Vin = VDD and is switched to Vin = 0 V at t = 0; we time shift this event to occur at t = 0 The charge current is given by The differential equation for the charge events fmax is the largest frequency that can be applied to the gate and still allow the output to settle to a definable state (7.50) (a) Charge circuit (7.51, 52) (7.53) (7.54) (7.55) (b) Output waveform Figure 7.13 Rise time calculation

Figure 7.14 Propagation time definitions Propagation Delay (1/2) The propagation delay time tp is often used to estimate the “reaction” delay time from input to output tpf is the output fall time from the maximum level to the “50%” voltage line, i.e., from VDD to (VDD/2) tpr is the propagation rise time from 0 V to (VDD/2) Commonly used in basic logic simulation programs because does not provide detailed information on the rise and fall times as individual quantities (7.64) (7.65) (7.65) (7.66) Figure 7.14 Propagation time definitions

Figure 7.15 General behavior of the rise and fall time Propagation Delay (2/2) The rise and fall time equations provide the basic for high-speed CMOS design (7.67) Case II: When CL ≠ 0, (7.71) (7.68) (7.72) (7.69) Case I: When CL = 0, (7.73) (7.70) Figure 7.15 General behavior of the rise and fall time

Delay Definitions

Outline DC Characteristic of the CMOS Inverter Inverter Switching Characteristic Power Dissipation DC Characteristic: NAND and NOR Gates NAND and NOR Transient Response Analysis of Complex Logic Gates Gate Design for Transient Performance Transmission Gates and Pass Transistors

Figure 7.16 Origin of power dissipation calculation The current IDD flowing from the power supply to ground gives a dissipated power of Since VDD is assumed to be a constant DC contribution Leakage current is very small, therefore, the value of PDC is thus quite small However, leakage power on today is critical for low-power Design (7.85) (7.86) Figure 7.16 Origin of power dissipation calculation Where PDC is the DC term and Pdyn is due to dynamic switching events (7.87) Where IDDQ is leakage current (a) VTC (b) DC current Figure 7.17 DC current flow

Figure 7.18 Circuit for finding the transient power dissipation Dynamic power dissipation Pdyn Pdyn arises from the observation that a complete cycle effectively creates a path for current to flow from the power supply to ground The average power dissipation over a single cycle with a period T is (7.88) (a) Input voltage (7.89) (7.90) (7.91) (b) Charge (c) Discharge (7.92) Figure 7.18 Circuit for finding the transient power dissipation DC term dynamic power term

Outline DC Characteristic of the CMOS Inverter Inverter Switching Characteristic Power Dissipation DC Characteristic: NAND and NOR Gates NAND and NOR Transient Response Analysis of Complex Logic Gates Gate Design for Transient Performance Transmission Gates and Pass Transistors

NAND Analysis (1/2) Figure 7.19 NAND2 logic circuit Figure 7.21 Layout of NAND2 for VM calculation (a) Transition table (b) VTC family (a) Separate transistors (b) Single equivalent FET Figure 7.22 Simplification of the series-connected nFETs Figure 7.20 NAND 2 VTC analysis

NAND Analysis (2/2) Find VM for the case of simultaneous switching, where the nFET and pFET transconductance are (βn/2) and 2βp (7.93) (a) Separate transistors (b) Single equivalent FET Figure 7.23 Simplification of the series-connected nFETs (7.94) (7.95) Figure 7.24 Simplified VM circuit for the NAND2 gate

NOR Analysis (7.96) (7.97) (7.98) (7.99) (7.100) Figure 7.27 NOR23 VM calculation Figure 7.25 NOR2 circuit (7.98) (7.99) (a) Transition table (b) VTC family (7.100) Figure 7.26 NOR 2 VTC analysis

Outline DC Characteristic of the CMOS Inverter Inverter Switching Characteristic Power Dissipation DC Characteristic: NAND and NOR Gates NAND and NOR Transient Response Analysis of Complex Logic Gates Gate Design for Transient Performance Transmission Gates and Pass Transistors

NAND Switching Times (1/2) Figure 7.28 Figure 7.29 (a) (7. 101) (7. 102) (7. 103) Figure 7.28 NAND2 circuit for transient calculations (7. 104) (7. 105) (7. 106) (7. 107) (a) Charge circuit (b) Discharge circuit (7. 108) Figure 7.29 NAND2 subcircuits for estimating rise and fall times (7. 109)

NAND Switching Times (2/2) (7. 110) (7. 120 from 7.111) (7. 121) (7. 111) (7. 112) (7. 122) (7. 113) (7. 114) (7. 115) (7. 116) (7. 117) (7. 118) (b) Discharge circuit (7. 119)

NOR Switching Times (1/2) Figure 7.30 Figure 7.31 (a) (7. 123) (7. 124) Figure 7.30 NOR2 circuit for switch time calculations (7. 125) (7. 126) (7. 127) (7. 128) (a) Discharge circuit (b) Charge circuit (7. 129) Figure 7.31 Subcircuits for the NOR2 transient calculations (7. 130)

NOR Switching Times (2/2) Figure 7.31 (b) (7. 131) (7. 132) (7. 133) (7. 134) (7. 135) (b) Charge circuit (7. 136) (7. 137) (7. 138)

Outline DC Characteristic of the CMOS Inverter Inverter Switching Characteristic Power Dissipation DC Characteristic: NAND and NOR Gates NAND and NOR Transient Response Analysis of Complex Logic Gates Gate Design for Transient Performance Transmission Gates and Pass Transistors

Analysis of Complex Logic Gates (7. 141) (7. 149) (7. 150) (7. 142) (7. 151) (7. 143) (7. 152) (7. 144) (7. 145) (7. 146) (7. 147) Figure 7.32 Complex logic gate circuit (7. 148)

Figure 7.33 Truth tables for determining activity coefficients Power Dissipation Power dissipation in a simple inverter We introduce the activity coefficient a that represents the probability that an output 0  1 transition takes place during one period (7. 153) Figure 7.33 Truth tables for determining activity coefficients (7. 154) (7. 158) (7. 155) (7. 159) (7. 156) (7. 160) (7. 157)

Outline DC Characteristic of the CMOS Inverter Inverter Switching Characteristic Power Dissipation DC Characteristic: NAND and NOR Gates NAND and NOR Transient Response Analysis of Complex Logic Gates Gate Design for Transient Performance Transmission Gates and Pass Transistors

Gate Design for Transient Performance (1/2) (Inverter reference starting) (a) Inverter (NOR2 vs Inverter) (NAND2 vs Inverter) (b) NAND2 (c) NOR2 Figure 7.34 Relative FET sizing

Gate Design for Transient Performance (2/2) Extend to large chains as Figure 7.35 Figure 7.36 (7. 177) (7. 178) (7. 179) (a) NAND3 (b) NOR3 Figure 7.35 Sizing for 3-input gates (7. 180) (7. 181) (7. 182) (7. 183) (7. 184) Figure 7.36 Sizing of a complex logic gate (7. 185)

Outline DC Characteristic of the CMOS Inverter Inverter Switching Characteristic Power Dissipation DC Characteristic: NAND and NOR Gates NAND and NOR Transient Response Analysis of Complex Logic Gates Gate Design for Transient Performance Transmission Gates and Pass Transistors

Figure 7.37 Transmission gate modeling Transmission Gates Large ratio of (W/L) decrease the resistance, but a large W implies large capacitances (7. 186) (7. 187) (a) Circuit (b) RC model Figure 7.37 Transmission gate modeling

Pass Transistor Pass FETs can be used in place of transmission gates in most circuits Less area and wiring, but cannot pass the entire voltage range (7. 188) (7. 195) (7. 189) (7. 196) Figure 7.38 nFET pass transistor (7. 190) (7. 197) (7. 191) (7. 198) (7. 192) (7. 199) (7. 193) (7. 200) Figure 7.39 Voltage waveforms for a nFET pass transistor (7. 194)