ELEC 2200-002 Digital Logic Circuits Fall 2015 Delay and Power Vishwani D. Agrawal James J. Danaher Professor Department of Electrical and Computer Engineering.

Slides:



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

9/15/05ELEC / Lecture 71 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic Circuits.
ELEC Digital Logic Circuits Fall 2014 Logic Synthesis (Chapters 2-5) Vishwani D. Agrawal James J. Danaher Professor Department of Electrical and.
Elettronica T A.A Digital Integrated Circuits © Prentice Hall 2003 Inverter CMOS INVERTER.
Low Power Design of CMOS Circuits Vishwani D. Agrawal James J. Danaher Professor ECE Dept., Auburn University, Auburn, AL Nov 19, 20091Agrawal: Low.
Fall 06, Sep 19, 21 ELEC / Lecture 6 1 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic.
Copyright Agrawal & Srivaths, 2007 Low-Power Design and Test, Lecture 2 1 Low-Power Design and Test Dynamic and Static Power in CMOS Vishwani D. Agrawal.
8/29/06 and 8/31/06 ELEC / Lecture 3 1 ELEC / (Fall 2006) Low-Power Design of Electronic Circuits (ELEC 5970/6970) Low Voltage.
10/27/05ELEC / Lecture 161 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic Circuits.
Copyright Agrawal, 2007 ELEC5270/6270 Spring 09, Lecture 4 1 ELEC / Spring 2009 Low-Power Design of Electronic Circuits Power Dissipation.
10/25/05ELEC / Lecture 151 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic Circuits.
11/01/05ELEC / Lecture 171 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic Circuits.
EE42/100, Spring 2006Week 14a, Prof. White1 Week 14a Propagation delay of logic gates CMOS (complementary MOS) logic gates Pull-down and pull-up The basic.
S. Reda EN160 SP’08 Design and Implementation of VLSI Systems (EN1600) Lecture 14: Power Dissipation Prof. Sherief Reda Division of Engineering, Brown.
Spring 07, Feb 20 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Reducing Power through Multicore Parallelism Vishwani.
Spring 08, Jan 15 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Introduction Vishwani D. Agrawal James J. Danaher.
8/22/06 and 8/24/06 ELEC / Lecture 2 1 ELEC / (Fall 2006) Low-Power Design of Electronic Circuits (ELEC 5270/6270) Power.
Spring 08, Jan 31.. ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Timing Simulation and STA Vishwani D. Agrawal.
8/19/04ELEC / ELEC / Advanced Topics in Electrical Engineering Designing VLSI for Low-Power and Self-Test Fall 2004 Vishwani.
Copyright Agrawal, 2007 ELEC6270 Fall 07, Lecture 12 1 ELEC 5270/6270 Fall 2007 Low-Power Design of Electronic Circuits Pass Transistor Logic: A Low Power.
Copyright Agrawal, 2007 ELEC6270 Fall 07, Lecture 5 1 ELEC 5270/6270 Fall 2007 Low-Power Design of Electronic Circuits Low Voltage Low-Power Devices Vishwani.
9/20/05ELEC / Lecture 81 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic Circuits.
9/13/05ELEC / Lecture 61 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic Circuits.
8/18/05ELEC / Lecture 11 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic Circuits.
Fall 2006, Nov. 28 ELEC / Lecture 11 1 ELEC / (Fall 2006) Low-Power Design of Electronic Circuits Power Analysis: High-Level.
10/11/05ELEC / Lecture 121 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic Circuits.
9/29/05ELEC / Lecture 101 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic Circuits.
Fall 2006, Oct. 5 ELEC / Lecture 8 1 ELEC / (Fall 2006) Low-Power Design of Electronic Circuits Glitch-Free ASICs and Custom.
Fall 2006, Oct. 17 ELEC / Lecture 9 1 ELEC / (Fall 2006) Low-Power Design of Electronic Circuits Power Analysis: Logic Level.
Fall 2006, Sep. 26, Oct. 3 ELEC / Lecture 7 1 ELEC / (Fall 2006) Low-Power Design of Electronic Circuits Dynamic Power:
8/23-25/05ELEC / Lecture 21 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic Circuits.
Spring 07, Apr 5 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Retiming Vishwani D. Agrawal James J. Danaher Professor.
Copyright Agrawal, 2007 ELEC6270 Fall 07, Lecture 13 1 ELEC 5270/6270 Fall 2007 Low-Power Design of Electronic Circuits Pseudo-nMOS, Dynamic CMOS and Domino.
10/20/05ELEC / Lecture 141 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic Circuits.
Fall 06, Sep 14 ELEC / Lecture 5 1 ELEC / (Fall 2006) Low-Power Design of Electronic Circuits (Formerly ELEC / )
Spring 07, Mar 1, 6 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Timing Simulation and STA Vishwani D. Agrawal.
Copyright Agrawal, 2007 ELEC6270 Fall 07, Lecture 6 1 ELEC 5270/6270 Fall 2007 Low-Power Design of Electronic Circuits Dynamic Power: Device Sizing Vishwani.
Fall 2006: Dec. 5 ELEC / Lecture 13 1 ELEC / (Fall 2006) Low-Power Design of Electronic Circuits Adiabatic Logic Vishwani.
Copyright Agrawal, 2007 ELEC6270 Fall 07, Lecture 11 1 ELEC 5270/6270 Fall 2007 Low-Power Design of Electronic Circuits Adiabatic Logic Vishwani D. Agrawal.
9/27/05ELEC / Lecture 91 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic Circuits.
Lecture 21, Slide 1EECS40, Fall 2004Prof. White Lecture #21 OUTLINE –Sequential logic circuits –Fan-out –Propagation delay –CMOS power consumption Reading:
The CMOS Inverter Slides adapted from:
Jan 7, 2010Agrawal: Low Power CMOS Design1 Vishwani D. Agrawal James J. Danaher Professor ECE Dept., Auburn University, Auburn, AL
Fall 2010, Nov 16ELEC / Guest Lecture1 ELEC / Fall 2010 VLSI Design Low Power VLSI Design Vishwani D. Agrawal James J. Danaher.
EE415 VLSI Design DYNAMIC LOGIC [Adapted from Rabaey’s Digital Integrated Circuits, ©2002, J. Rabaey et al.]
THE INVERTERS. DIGITAL GATES Fundamental Parameters l Functionality l Reliability, Robustness l Area l Performance »Speed (delay) »Power Consumption »Energy.
Low Power Architecture and Implementation of Multicore Design Khushboo Sheth, Kyungseok Kim Fan Wang, Siddharth Dantu ELEC6270 Low Power Design of Electronic.
ELEC 7770 Advanced VLSI Design Spring 2014 Timing Simulation and STA Vishwani D. Agrawal James J. Danaher Professor ECE Department, Auburn University,
VLSI Design Lecture 5: Logic Gates Mohammad Arjomand CE Department Sharif Univ. of Tech. Adapted with modifications from Wayne Wolf’s lecture notes.
Penn ESE370 Fall DeHon 1 ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 18: October 14, 2013 Energy and Power.
Penn ESE370 Fall DeHon 1 ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 17: October 19, 2011 Energy and Power.
Spring 2010, Mar 10ELEC 7770: Advanced VLSI Design (Agrawal)1 ELEC 7770 Advanced VLSI Design Spring 2010 Gate Sizing Vishwani D. Agrawal James J. Danaher.
Basics of Energy & Power Dissipation
Modern VLSI Design 3e: Chapter 3 Copyright  1998, 2002 Prentice Hall PTR Topics n Electrical properties of static combinational gates: –transfer characteristics;
Copyright Agrawal, 2007ELEC6270 Spring 13, Lecture 101 ELEC 5270/6270 Spring 2013 Low-Power Design of Electronic Circuits Adiabatic Logic Vishwani D. Agrawal.
ELEC Digital Logic Circuits Fall 2014 Delay and Power Vishwani D. Agrawal James J. Danaher Professor Department of Electrical and Computer Engineering.
Copyright Agrawal 2007ELEC / Spr 2015 Lecture 2 Jan ELEC / Spring 2015 Low-Power Design of Electronic Circuits Power.
LOW POWER DESIGN METHODS
Damu, 2008EGE535 Fall 08, Lecture 51 EGE535 Low Power VLSI Design Lecture #5 & 6 CMOS Inverter.
ELEC 7770 Advanced VLSI Design Spring Gate Delay and Circuit Timing
VLSI Testing Lecture 5: Logic Simulation
LOW POWER DESIGN METHODS V.ANANDI ASST.PROF,E&C MSRIT,BANGALORE.
ELEC 5270/6270 Spring 2013 Low-Power Design of Electronic Circuits Pseudo-nMOS, Dynamic CMOS and Domino CMOS Logic Vishwani D. Agrawal James J. Danaher.
Vishwani D. Agrawal James J. Danaher Professor
ELEC 5270/6270 Spring 2015 Low-Power Design of Electronic Circuits Pseudo-nMOS, Dynamic CMOS and Domino CMOS Logic Vishwani D. Agrawal James J. Danaher.
Vishwani D. Agrawal James J. Danaher Professor
CSV881: Low-Power Design Power Dissipation in CMOS Circuits
ELEC 7770 Advanced VLSI Design Spring 2012 Timing Simulation and STA
ELEC 5270/6270 Spring 2009 Low-Power Design of Electronic Circuits Pseudo-nMOS, Dynamic CMOS and Domino CMOS Logic Vishwani D. Agrawal James J. Danaher.
Presentation transcript:

ELEC Digital Logic Circuits Fall 2015 Delay and Power Vishwani D. Agrawal James J. Danaher Professor Department of Electrical and Computer Engineering Auburn University, Auburn, AL Fall 2015, Nov 30 ELEC Lecture 8 1

Fall 2015, Nov 30 ELEC Lecture 8 2 Power and Delay of a Transition V DD Ground CLCL R on R = large v i (t) v o (t) i c (t) C L =Total load capacitance for gate; includes transistor capacitances of driving gate + routing capacitance + transistor capacitances of driven gates; obtained by layout analysis.

Fall 2015, Nov 30 ELEC Lecture 8 3 Charging of a Capacitor V DD C = C L R = R on i(t) i(t) v(t) Charge on capacitor, q(t)=C v(t) Current, i(t)=dq(t)/dt=C dv(t)/dt t = 0

Fall 2015, Nov 30 ELEC Lecture 8 4 i(t)=C dv(t)/dt=[V DD – v(t)] /R dv(t) dt ∫ ───── = ∫ ──── V DD – v(t) RC – t ln [V DD – v(t)]=──+ A RC Initial condition, t = 0, v(t) = 0 → A = ln V DD – t v(t) =V DD [1 – exp(───)] = 0.5V DD RC t = 0.69 RC

Delay: Definitions Rise time is the time a signal takes to rise from 10% to 90% of its peak value. Fall time is the time a signal takes to drop from 90% to 10% of its peak value. Delay of a gate or circuit is the time interval between the input crossing 50% of peak value and the output crossing 50% of peak value. Fall 2015, Nov 30 ELEC Lecture 8 5 1→0 0→1 NOT gate A B VDD GND Fall timeA Time 10% VDD 90% VDD VDD GND Rise timeB Time 10% VDD 90% VDD Gate delay

Fall 2015, Nov 30 ELEC Lecture 8 6 Inverter: Idealized Input t = 0 V DD 0.5V DD GND V DD GND time 0.69CR INPUT OUTPUT Gate delay

Timing of a Digital Circuit Most digital circuits are clocked synchronous finite state machines (FSM). Fall 2015, Nov 30 ELEC Lecture 8 7 FF Primary Inputs Primary Outputs Combinational circuit (Gates interconnected without feedback) Clock

Large Circuit Timing Analysis Determine gate delays: From layout analysis, or use approximate delays: –Gate delay increases in proportion to number of fanouts (increased capacitance) –Delay decreases in proportion to increase in gate size (reduced transistor channel resistance) Purpose of analysis is to verify timing behavior – determine maximum speed of operation. Methods of analysis: Circuit simulation – most accurate, expensive (Spice program) Static timing analysis (STA) – most efficient, approximate Fall 2015, Nov 30 ELEC Lecture 8 8

Fall 2015, Nov 30 ELEC Lecture 8 9 Static Timing Analysis (STA) Combinational logic for critical path delays. Circuit represented as an acyclic directed graph (DAG). Gates characterized by delays; gate function ignored. No inputs are used – worst-case analysis – static analysis (simulation would be dynamic).

Fall 2015, Nov 30 ELEC Lecture 8 10 Combinational Circuit of an FSM A1A1 B1B1 D1D1 E4E4 F2F2 J1J1 G 1 H1H1 C2C2 Gate delay Input to Output delay must not exceed clock period Fanout = 4

Fall 2015, Nov 30 ELEC Lecture 8 11 Static Timing Analysis (STA) Step 1 A1A1 B1B1 D1D1 E4E4 F2F2 J1J1 G 1 H1H1 C2C2 Levelize circuit. Initialize arrival times at primary inputs to Level Level of a gate is one greater than the maximum of fanin gate levels

Fall 2015, Nov 30 ELEC Lecture 8 12 Static Timing Analysis (STA) Step 2 A1A1 B1B1 D1D1 E4E4 F2F2 J1J1 G 1 H1H1 C2C Level Determine output arrival times of gates in level order Arrival time at a gate output = maximum of input arrivals + gate delay

Fall 2015, Nov 30 ELEC Lecture 8 13 Static Timing Analysis (STA) Step 3 A1A1 B1B1 D1D1 E4E4 F2F2 J1J1 G 1 H1H1 C2C Level Trace critical paths from the output with longest arrival time. Critical path: C, E, F, G, H; delay = 10

Fall 2015, Nov 30 ELEC Lecture 8 14 Power in CMOS Logic (Inverter) F. M. Wanlass and C. T. Sah, “Nanowatt Logic using Field-Effect Metal-Oxide-Semiconductor Triodes,” IEEE International Solid- State Circuits Conference Digest, vol. IV, February 1963, pp No current flows from power supply! Where is power consumed? VDD GND

Fall 2015, Nov 30 ELEC Lecture 8 15 Three Components of Power Dynamic, when output changes –Signal transitions (major component) Logic activity Glitches –Short-circuit (small, often neglected) Static, when signal is in steady state –Leakage (small) P total =P dyn + P stat =P tran + P sc + P stat

Charging of Output Capacitor From Slide 4: Fall 2015, Nov 30 ELEC Lecture 8 16 – t v(t)=V [1 – exp( ── )] RC dv(t) V – t i(t)=C ───=── exp( ── ) dt R RC

Fall 2015, Nov 30 ELEC Lecture 8 17 Total Energy Per Charging Transition from Power Supply ∞∞ V 2 – t E trans =∫ V i(t) dt=∫ ── exp( ── ) dt 00 R RC =CV 2

Fall 2015, Nov 30 ELEC Lecture 8 18 Energy Dissipated Per Transition in Transistor Channel Resistance ∞ V 2 ∞ -2t R ∫ i 2 (t) dt=R ── ∫ exp( ── ) dt 0 R 2 0 RC 1 = ─ CV 2 2

Fall 2015, Nov 30 ELEC Lecture 8 19 Energy Stored in Charged Capacitor ∞∞ - t V - t ∫ v(t) i(t) dt = ∫ V [1-exp( ── )] ─ exp( ── ) dt 00 RC R RC 1 = ─ CV 2 2

Fall 2015, Nov 30 ELEC Lecture 8 20 Transition Power Gate output rising transition – –Energy dissipated in pMOS transistor = ½CV 2 – –Energy stored in capacitor = ½CV 2 Gate output falling transition – –Energy dissipated in nMOS transistor = ½ CV 2 Energy dissipated per transition = ½ CV 2 Power dissipation: P trans =E trans α f ck = ½ α f ck CV 2 α = activity factor = prob.(gate has transition) f ck = clock frequency

Power Density of a Chip Assume dynamic power is major component. Power density = ½ α f ck CV 2 × gate density C = average gate capacitance Gate density = number of gates per unit area Example: α = 0.5, f ck = 1GHz, C = 1pF, V = 1 volt, gate density = 1 million gates/cm 2 Power density = 250 watts/cm 2 Fall 2015, Nov 30 ELEC Lecture 8 21

Fall 2015, Nov 30 ELEC Lecture 8 22 CMOS Gate Power V Ground C R = R on Large resistance v i (t) v(t) i(t) time v(t) i(t) i sc (t) Leakage current i sc (t) Output signal transition Dynamic current Short-circuit current Leakage current

Fall 2015, Nov 30 ELEC Lecture 8 23 References Delay modeling, simulation and testing: – –M. L. Bushnell and V. D. Agrawal, Essentials of Electronic Testing for Digital, Memory and Mixed-Signal VLSI Circuits, Springer, Timing analysis and design: – –G. De Micheli, Synthesis and Optimization of Digital Circuits, McGraw-Hill, – –N. Maheshwari and S. S. Sapatnekar, Timing Analysis and Optimization of Sequential Circuits, Springer, PrimeTime (A static timing analysis tool): – –H. Bhatnagar, Advanced ASIC Chip Synthesis, Second Edition, Springer, 2002 CMOS digital circuit power: – –A. Chandrakasan and R. Brodersen, Low-Power Digital CMOS Design, Boston: Springer, 1995.