Digital Integrated Circuits A Design Perspective

Slides:



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

UNIT 4 BASIC CIRCUIT DESIGN CONCEPTS
Elettronica T A.A Digital Integrated Circuits © Prentice Hall 2003 Inverter CMOS INVERTER.
Digital Integrated Circuits A Design Perspective
© Digital Integrated Circuits 2nd Inverter Digital Integrated Circuits A Design Perspective The Inverter Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic.
Fall 06, Sep 19, 21 ELEC / Lecture 6 1 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic.
Digital Integrated Circuits A Design Perspective
© Digital Integrated Circuits 2nd Inverter CMOS Inverter: Digital Workhorse  Best Figures of Merit in CMOS Family  Noise Immunity  Performance  Power/Buffer.
Digital Integrated Circuits A Design Perspective
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.
MOS Inverter: Static Characteristics
EE466: VLSI Design Power Dissipation. Outline Motivation to estimate power dissipation Sources of power dissipation Dynamic power dissipation Static power.
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.
1 The Physical Structure (NMOS) Field Oxide SiO2 Gate oxide Field Oxide n+ Al SiO2 Polysilicon Gate channel L P Substrate D S L W (D) (S) Metal n+ (G)
Digital Integrated Circuits© Prentice Hall 1995 Inverter THE INVERTERS.
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.
Chapter 07 Electronic Analysis of CMOS Logic Gates
Modern VLSI Design 2e: Chapter 3 Copyright  1998 Prentice Hall PTR Topics n Electrical properties of static combinational gates: –transfer characteristics;
1 The Physical Structure (NMOS) Field Oxide SiO2 Gate oxide Field Oxide n+ Al SiO2 Polysilicon Gate channel L P Substrate D S L W (D) (S) Metal n+ (G)
Inverter Chapter 5 The Inverter April 10, Inverter Objective of This Chapter  Use Inverter to know basic CMOS Circuits Operations  Watch for performance.
© Digital Integrated Circuits 2nd Inverter EE5900 Advanced Algorithms for Robust VLSI CAD The Inverter Dr. Shiyan Hu Office: EERC 731 Adapted.
EE141 © Digital Integrated Circuits 2nd Inverter 1 Digital Integrated Circuits A Design Perspective The Inverter Jan M. Rabaey Anantha Chandrakasan Borivoje.
Switch Logic EE141.
Digital Integrated Circuits A Design Perspective
© Digital Integrated Circuits 2nd Inverter Digital Integrated Circuits A Design Perspective The Inverter Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic.
Solid-State Devices & Circuits
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.]
Copyright © 2004 The McGraw-Hill Companies, Inc. All rights reserved.
Digital Integrated Circuits for Communication
Lecture 05: Static Behaviour of CMOS Inverter
Mary Jane Irwin ( ) CSE477 VLSI Digital Circuits Fall 2003 Lecture 04: CMOS Inverter (static view) Mary Jane.
Pass-Transistor Logic
The Inverter EE4271 VLSI Design Professor Shiyan Hu Office: EERC 518
VLSI Design CMOS Inverter UNIT II :BASIC ELECTRICAL PROPERTIES
CMOS technology and CMOS Logic gate
Lecture 21 OUTLINE The MOSFET (cont’d) P-channel MOSFET
EE141 Chapter 5 The Inverter April 10, 2003.
MOS Inverters 1.
Lecture 06: Dynamic Behaviour of CMOS Inverter
CMOS Inverter First Glance
VLSI Design MOSFET Scaling and CMOS Latch Up
Digital Integrated Circuits A Design Perspective
Reading: Hambley Ch. 7; Rabaey et al. Sec. 5.2
Mary Jane Irwin ( ) CSE477 VLSI Digital Circuits Fall 2002 Lecture 10: The Inverter, A Dynamic View Mary.
Mary Jane Irwin ( ) CSE477 VLSI Digital Circuits Fall 2003 Lecture 10: The Inverter, A Dynamic View Mary.
Chapter #13: CMOS Digital Logic Circuits
Lecture No. 7 Logic Gates Asalam O Aleikum students. I am Waseem Ikram. This is the seventh lecture in a series of 45 lectures on Digital Logic Design.
Mary Jane Irwin ( ) CSE477 VLSI Digital Circuits Fall 2002 Lecture 04: CMOS Inverter (static view) Mary Jane.
Chapter 6 (II) Designing Combinational Logic Circuits (II)
Week 9a OUTLINE MOSFET ID vs. VGS characteristic
DC & Transient Response
The Physical Structure (NMOS)
Chapter 7 Complementary MOS (CMOS) Logic Design
UNIT-II Stick Diagrams
Lecture 21 OUTLINE The MOSFET (cont’d) P-channel MOSFET
Lecture 21 OUTLINE The MOSFET (cont’d) P-channel MOSFET
The Inverter EE4271 VLSI Design Dr. Shiyan Hu Office: EERC 731
Lecture 21 OUTLINE The MOSFET (cont’d) P-channel MOSFET
CP-406 VLSI System Design CMOS Transistor Theory
Lecture 5: DC & Transient Response
Lecture #22 ANNOUNCEMENTS OUTLINE Reading (Rabaey et al.)
Reading: Hambley Ch. 7; Rabaey et al. Secs. 5.2, 5.5, 6.2.1
Propagation Delay.
Presentation transcript:

Digital Integrated Circuits A Design Perspective EE141 Digital Integrated Circuits A Design Perspective The Inverter

The CMOS Inverter: A First Glance out C L DD -Nucleus of ICs -Analysis can be extended to study Complex logic gates (NAND/NOR/XOR) Cost (complexity and area) Robustness (static/steady state behavior) Performance (dynamic/transient response) Energy efficiency (power/energy consumption)

CMOS Inverter N Well V DD PMOS 2l Contacts Out In Metal 1 Polysilicon NMOS GND

Two Inverters Share power and ground Abut cells Connect in Metal

CMOS Inverter First-Order DC Analysis VOL = 0 VOH = VDD VM = f(Rn, Rp) V DD in = out R n p Low and High o/p levels equal VDD and GND (High Noise Margin) Ratioless (logic levels do not depend on device sizes) Vout is always connected to either VDD or ground (Low o/p impedance) therefore, Less sensitive to noise. High i/p impedance (Fanout-large) No static power dissipation

CMOS Inverter: Transient Response DD DD t pHL = f(R on .C L ) = 0.69 R C R Charging p V out V out C -For building fast gates, keep either CL small or decrease the ON resistance of FET -RON is decreased by Increasing W/L ratio NOTE:RON is not fixed L C L R n discharging V = V = V in in DD (a) Low-to-high (b) High-to-low

Voltage Transfer Characteristic

CMOS Inverter Load Characteristics

CMOS Inverter VTC res: Resisitive/ON VM

Switching Threshold as a function of Transistor Ratio 10 1 0.8 0.9 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 M V (V) W p /W n -VM is insensitive to small variations in W/L , ie., VTC remains unaffected -Increasing W of PMOS or NMOS moves VM towards VDD or GND VM=(rVDD)/(1+r)

(W/L)p= (W/L)n X (VDSATn K’n)/ (VDSATp K’p) VM=(rVDD)/(1+r) considering VDD is very large VM= VDD/2 when r =1 To move VM upwards, a larger value of r is required, which means making the PMOS wider (stronger). Strengthening the NMOS on the other hand, moves VM closer to GND (W/L)p= (W/L)n X (VDSATn K’n)/ (VDSATp K’p)

Changing the inverter threshold can improve the circuit reliability

Determining VIH and VIL (Noise Margin) OH OL in out M IL IH A simplified approach

Inverter Gain CLM consider (1+λVout) Find dVout/dVin = g by ignoring some second order terms -high gain in transition region (useful for amplifier applications) ID(VM) is current when Vin=VM previous equation: equating saturation currents of PMOS and NMOS and then differentiating to find dVout/dVin = g ; put VM = Vin

# an inverter in 0.25 um technology PMOS to NMOS ratio of 3.4 NMOS transistor minimum size (Wn=0.375 um Ln=0.25 um) (59 uA) VM=1.25 V --Find gain g -- Find Noise Margins (* First find ID(Vin=VM); use k’n = 115 x 10-6 , k’p = 30 x 10-6 ,VDSATn= 0.63 V, VDSATp= 1.0 V, VTn=0.43 V, VTp=0.4 V, λn=0.06, λp= -0.1 ; THEN find ‘g’ and then noise margins) Simulate an inverter with same parameters and compare the calculated and simulated results

Inverter Gain calculated values of: VIL= 1.2 V, VIH = 1.3 V, NML=NMH = 1.2 V Inverter Gain simulated VTC and gain in 0.25 um process The actual values of VIL= 1.03 V, VIH = 1.45 V, NML= 1.03 V, NMH = 1.05 V

#calculated values of: VIL= 1.2 V, VIH = 1.3 V, NML=NMH = 1.2 V #The actual values of VIL= 1.03 V, VIH = 1.45 V, NML= 1.03 V, NMH = 1.05 V These values are lower than those predicted; for two reasons 1) Gain equation overestimates the gain. From gain plot, the maximum gain (at VM) equals only 17. This reduced gain would yield values for VIL and VIH of 1.17 V and 1.33 V. (operating conditions: velocity saturation ?) 2) The gain expression are useful as first order approximations only.

Supply Voltage (VDD) Scaling *trend is to reduce device dimensions and supply voltage, however, threshold voltage is kept constant subthreshold operation Low switching current/slow Operation (watches) -sensitive to noise (N don’t scale) Gain=-1 Reducing VDD improves gain Gain deteriorates at very low supply voltages

Why not opt for low voltage operation when the high gain can be achieved at lower supply voltages ?

Why not opt for low voltage operation when the high gain can be achieved at lower supply voltages ? --delay ? --sensitive dc characteristics ? --noise sensitive ? Supply must be at least a couple times φT =kT/q (=25 mV at room temperature), thermal noise becomes an issue in unreliable operation. The only way to get CMOS inverters to operate below 100 mV is to reduce the ambient temperature, or in other words to cool the circuit.

Impact of Process Variations (Robustness) 0.5 1 1.5 2 2.5 V in (V) out Good PMOS Bad NMOS Good NMOS Bad PMOS Nominal The good device has smaller tox(-3nm), smaller L(-25nm), higher W(+30nm), smaller threshold (-60mV) *Operation of the gate is insensitive to process variations

Parasitics affecting delay

Parasitics affecting delay M1 and M2 are either in cut-off or in the saturation mode (up to 50% point) of the output transient. gate-drain capacitors: Cgd12 = 2 CGD0W (with CGD0 the overlap capacitance per unit width as used in the SPICE model). [*Miller effect] (non-linear) A multiplication factor Keq is introduced to relate the linearized capacitor to the value of the junction capacitance under zero-bias conditions.

[Dally 98]

Parasitics affecting delay

Problem… Find Keq and Keqsw

Solution…

Solution…

Fan-out distance and number Length, width, Fan-out distance and number *It assumes that all components of the gate capacitance are connected between Vout and GND (or VDD), and ignores the Miller effect on the gate-drain capacitances. Second approximation is that the channel capacitance of the connecting gate is constant over the interval of interest. [10% error]

0.25 um CMOS technology. VDD = 2.5 V. From the layout, derive the transistor sizes, diffusion areas, and perimeters. As an example, we will derive the drain area and perimeter for the NMOS tran- sistor. The drain area is formed by the metal-diffusion contact, which has an area of and the rectangle between contact and gate, which has an area of This results in a total area of AD= The perimeter of the drain area is rather involved and consists of the following components (going counterclockwise): 5 + 4 + 4 + 1 +1= *Notice that the gate side of the drain perimeter is not included, as this is not considered a part of the side-wall Similarly, the drain area and perimeter of the PMOS transistor are found

Wire capacitance Cw can also be calculated drain area and perimeter of the PMOS transistor Wire capacitance Cw can also be calculated This physical information can be combined with the approximations derived above to come up with an estimation of CL using Table 3-5

Assignment-5 (Due date: 22/09/14 Multiply each dimension in the layout by 8 (eight) so that channel length is 2 um now and other dimensions also change. Find the propagation delay at the output of first inverter using SPICE simulation and compare it with the one obtained by finding CL, Req, Keq, etcetra using analytical expressions (as taught in the class).

Propagation Delay

CMOS Inverter Propagation Delay Approach 1

CMOS Inverter Propagation Delay Approach 2

? *Cgd that couples i/p to o/p even before transistor is ON Transient Response ? *Cgd that couples i/p to o/p even before transistor is ON *Overshoots result in delay Vin tp = (tpLH+tpHL)/2 Vout tp = 0.69 CL (Reqn+Reqp)/2 tpHL tpLH

Delay as a function of VDD optimize/manipulate delay *CLM ignored here VDD>> VTn + VDSATn/2 Delay independent of supply

Design for Performance Keep capacitances small Increase transistor sizes watch out for self-loading! Increase VDD (????) - (oxide breakdown, hot electron effects) - (energy-performance tradeoff)

Device Sizing Cint=SCref Req=Rref /S -PMOS wider: Rn=Rp, tpLH=tpHL, symmetrical VTC, Noise margin -Delay can be smaller if PMOS is small (else tpHL degrades) Device Sizing (for fixed load) Cint=SCref Req=Rref /S Self-loading effect: Intrinsic capacitances dominate Slow further improvement in delay *Increasing transistor size -> silicon area increases

Optimum NMOS/PMOS ratio tpLH tpHL while widening the PMOS improves the tpLH of the inverter by increasing the charging current, it also degrades the tpHL by cause of a larger parasitic capacitance tp How to derive optimum size ? b = Wp/Wn Fig. 5.18

Inverter Sizing

Finding Optimal Sizing ratio β β=(W/L)p / (W/L)n Assumed that WP = 2WN same pull-up and pull-down currents approx. equal resistances RN = RP approx. equal rise tpLH and fall tpHL delays (symmetrical VTC) doesn’t imply minimum propagation delay If symmetry and Noise margins are not important then it is possible to speed up inverter by reducing PMOS width. (widening PMOS improves tPLH by increasing charging current, but it degrades tPHL by causing larger parasitic capacitance) A transistor ratio is required that optimizes propagation delay of the inverter

Optimal Sizing ratio β ….. Out 1 2 3 CL1 CL CL1 is the load capacitance of first gate CL1=(Cdp1 + Cdn1) + (Cgp2 + Cgn2)+ CW When β=(W/L)p / (W/L)n is applied (all other transistor parameters also scale by the same factor) Cdp1 ≈ βCdn1 and Cgp2 ≈ βCgn2 so that CL1= (1+β)(Cdn1 + Cgn2)+ CW from tp = 0.69 CL (Reqn+Reqp)/2

Optimal Sizing ratio β ….. where The optimum value of β is found by setting ∂tp/∂β=0 Eqn. 5.26 If the wiring capacitance dominates, larger values of β should be used. Smaller device sizes yield faster designs at the expense of Symmetry and noise margin

Consider again our standard design example Consider again our standard design example. From the values of the equivalent resistances (Table 3.3), we find that a ratio β of 2.4 (= 31 kW / 13 kW) would yield a symmetrical transient response. Eq. (5.26) now predicts that the device ratio for an optimal performance should equal 1.6. These results are verified in Figure 5.18, which plots the simulated propagation delay as a function of the transistor ratio b. The graph clearly illustrates how a changing β trades off between tpLH and tpHL. The optimum point occurs around β = 1.9,

Inverter Chain In Out CL If CL is given: How many stages are needed to minimize the delay? How to size the inverters? May need some additional constraints.

Inverter Delay Minimum length devices, L=0.25mm Assume that for WP = 2WN =2W same pull-up and pull-down currents approx. equal resistances RN = RP approx. equal rise tpLH and fall tpHL delays Analyze as an RC network 2W W Delay (D): tpHL = (ln 2) RNCL tpLH = (ln 2) RPCL Load for the next stage:

Inverter with Load CP = 2Cunit 2W W Cint CL CN = Cunit Delay 2W W Cint CL Load CN = Cunit Delay = kRW(Cint + CL) = kRWCint + kRWCL = kRW Cint(1+ CL /Cint) = Delay (Internal) + Delay (Load)

How transistor sizing impacts the performance of a gate ? sizing factor S, which relates the transistor sizes of our inverter to a reference gate—typically a minimum-sized inverter tp0=0.69 ReqCint is independent of sizing of gate; and is determined purely by technology and inverter layout Making S infinitely large yields the maximum obtainable performance gain, eliminating the impact of any external load, and reducing the delay to the intrinsic one. S larger than Cext/Cint produce similar result at the cost of extra silicon area.

Delay Formula *Inverter delay as a function of load capacitance and input capacitance Cint = gCg with g  1 for most submicron technologies f = Cext/Cg - effective fanout :Cout/Cin tp0 = 0.69ReqCint

Apply to Inverter Chain Cg1 and CL are given In Out CL 1 2 N tp = tp1 + tp2 + …+ tpN delay expression for j-th inverter stage Total delay of the chain

Optimal Tapering for Given N --Delay equation has N - 1 unknowns, Cg2 – Cg,N --Minimum delay can be found by finding N - 1 partial -derivatives and equating them to zero ; ∂tp/∂Cg,j = 0 --Result: Cg,j+1/Cg,j = Cg,j /Cg,j-1 with j=2 to N [Eqn. 1] --For example: j=2 gives Cg3/Cg2 = Cg2/Cg1 --Or Optimum Size of each stage is the geometric mean of two neighbors this means that each inverter is sized up by the same factor ‘f ’ with respect to the preceding gate each stage has the same effective fanout (Cout/Cin) each stage has the same delay

Optimum Delay and Number of Stages When each stage is sized by f and has same eff. fanout Fj=F : Effective fanout of each stage ‘F’: Where f is sizing factor Minimum path delay through the chain

Example In Out CL= 8 C1 C1 Problem: Find the optimum sizes of all the inverters in this chain so that the delay is minimum.

Example In Out CL= 8 C1 1 f f2 C1 CL/C1 has to be evenly distributed across N = 3 stages:

Buffer Design - Size the inverters Consider tp0=1 - Find delay 1 64 1

Buffer Design N f tp 1 64 65 2 8 18 3 4 15 4 2.8 15.3 1 64 1 8 64 1 4 16 64 1 64 22.6 2.8 8

Power Dissipation

Where Does Power Go in CMOS?

Dynamic Power Dissipation Vin Vout C L Vdd Energy/transition = C * V 2 L dd Power = Energy/transition * f = C * V 2 * f L dd Not a function of transistor sizes! Need to reduce C , V , and f to reduce power. L dd

Short Circuit Currents

Leakage Sub-threshold current one of most compelling issues in low-energy circuit design!

Reverse-Biased Diode Leakage N p + Reverse Leakage Current - V dd GATE

Static Power Consumption Wasted energy … Should be avoided in almost all cases.

Principles for Power Reduction Prime choice: Reduce voltage! Recent years have seen an acceleration in supply voltage reduction Design at very low voltages still open question (0.6 … 0.9 V by 2010!) Reduce switching activity Reduce physical capacitance

Impact of Technology Scaling

Goals of Technology Scaling Make things cheaper: Want to sell more functions (transistors) per chip for the same money Build same products cheaper, sell the same part for less money Price of a transistor has to be reduced But also want to be faster, smaller, lower power

Technology Scaling Goals of scaling the dimensions by 30%: Reduce gate delay by 30% (increase operating frequency by 43%) Double transistor density Reduce energy per transition by 65% (50% power savings @ 43% increase in frequency Die size used to increase by 14% per generation Technology generation spans 2-3 years

Technology Evolution (2000 data) International Technology Roadmap for Semiconductors 186 177 171 160 130 106 90 Max mP power [W] 1.4 1.2 6-7 1.5-1.8 180 1999 1.7 1.6-1.4 2000 14.9 -3.6 11-3 7.1-2.5 3.5-2 2.1-1.6 Max frequency [GHz],Local-Global 2.5 2.3 2.1 2.4 2.0 Bat. power [W] 10 9-10 9 8 7 Wiring levels 0.3-0.6 0.5-0.6 0.6-0.9 0.9-1.2 1.2-1.5 Supply [V] 30 40 60 Technology node [nm] 2014 2011 2008 2004 2001 Year of Introduction Node years: 2007/65nm, 2010/45nm, 2013/33nm, 2016/23nm

Technology Evolution (1999)

Technology Scaling (3) Propagation Delay tp decreases by 13%/year 50% every 5 years! Propagation Delay

Technology Scaling Models

Scaling Relationships for Long Channel Devices

Transistor Scaling (velocity-saturated devices)