Logic Synthesis For Low Power CMOS Digital Design.

Slides:



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

Transmission Gate Based Circuits
Digital Integrated Circuits© Prentice Hall 1995 Low Power Design Low Power Design in CMOS.
Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Power Reduction Techniques For Microprocessor Systems
Elettronica T A.A Digital Integrated Circuits © Prentice Hall 2003 Inverter CMOS INVERTER.
L 18 : Circuit Level Design 성균관대학교 조 준 동 교수
Introduction to CMOS VLSI Design Lecture 18: Design for Low Power David Harris Harvey Mudd College Spring 2004.
Designing Combinational Logic Circuits: Part2 Alternative Logic Forms:
S. Reda EN160 SP’08 Design and Implementation of VLSI Systems (EN1600) Lecture 14: Power Dissipation Prof. Sherief Reda Division of Engineering, Brown.
Technology Mapping.
Logic Synthesis For Low Power CMOS Digital Design.
Decomposition of Instruction Decoder for Low Power Design TingTing Hwang Department of Computer Science Tsing Hua University.
Sheila Ross and W. G. OldhamEECS 40 Fall 2002 Lecture 2 Copyright Regents of University of California Logic Gates: NOT a Prerequisite! Today: Gates, gates.
S. Reda EN160 SP’07 Design and Implementation of VLSI Systems (EN0160) Lecture 13: Power Dissipation Prof. Sherief Reda Division of Engineering, Brown.
Lecture 5 – Power Prof. Luke Theogarajan
Lecture 7: Power.
© 2000 Prentice Hall Inc. Figure 6.1 AND operation.
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE VLSI Circuit Design Lecture 8 - Comb. Logic.
Digital Integrated Circuits© Prentice Hall 1995 Combinational Logic COMBINATIONAL LOGIC.
Power, Energy and Delay Static CMOS is an attractive design style because of its good noise margins, ideal voltage transfer characteristics, full logic.
Combinational Logic Design
The CMOS Inverter Slides adapted from:
Digital Integrated Circuits for Communication
ECE 331 – Digital System Design Power Dissipation and Propagation Delay.
EE466: VLSI Design Power Dissipation. Outline Motivation to estimate power dissipation Sources of power dissipation Dynamic power dissipation Static power.
Gheorghe M. Ştefan
ENGG 6090 Topic Review1 How to reduce the power dissipation? Switching Activity Switched Capacitance Voltage Scaling.
Penn ESE370 Fall DeHon 1 ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 19: October 16, 2013 Energy and Power.
Combinational Logic Design CS341 Digital Logic and Computer Organization F2003.
Review: CMOS Inverter: Dynamic
EE415 VLSI Design DYNAMIC LOGIC [Adapted from Rabaey’s Digital Integrated Circuits, ©2002, J. Rabaey et al.]
POWER-DRIVEN MAPPING K-LUT-BASED FPGA CIRCUITS I. Bucur, N. Cupcea, C. Stefanescu, A. Surpateanu Computer Science and Engineering Department, University.
A comparison between different logic synthesis techniques from the digital switching noise viewpoint G. Boselli, V. Ciriani, V. Liberali G. Trucco Dept.
Logic Synthesis for Low Power(CHAPTER 6) 6.1 Introduction 6.2 Power Estimation Techniques 6.3 Power Minimization Techniques 6.4 Summary.
Penn ESE370 Fall DeHon 1 ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 19: October 15, 2014 Energy and Power.
1 Power Dissipation in CMOS Two Components contribute to the power dissipation: »Static Power Dissipation –Leakage current –Sub-threshold current »Dynamic.
Basics of Energy & Power Dissipation Lecture notes S. Yalamanchili, S. Mukhopadhyay. A. Chowdhary.
1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University
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;
Notices You have 18 more days to complete your final project!
Pass-Transistor Logic. AND gate NMOS-only switch.
EEE2243 Digital System Design Chapter 7: Advanced Design Considerations by Muhazam Mustapha, extracted from Intel Training Slides, April 2012.
XIAOYU HU AANCHAL GUPTA Multi Threshold Technique for High Speed and Low Power Consumption CMOS Circuits.
Chapter 6 (I) Designing Combinational Logic Circuits Static CMOS
VLSI Design Lecture 5: Logic Gates Mohammad Arjomand CE Department Sharif Univ. of Tech. Adapted with modifications from Wayne Wolf’s lecture notes.
CSE477 L07 Pass Transistor Logic.1Irwin&Vijay, PSU, 2003 CSE477 VLSI Digital Circuits Fall 2003 Lecture 07: Pass Transistor Logic Mary Jane Irwin (
경종민 Low-Power Design for Embedded Processor.
Penn ESE370 Fall DeHon 1 ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 17: October 19, 2011 Energy and Power.
Basics of Energy & Power Dissipation
Technology Mapping. 2 Technology mapping is the phase of logic synthesis when gates are selected from a technology library to implement the circuit. Technology.
Introduction to Clock Tree Synthesis
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
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Topics n Low power design. n Pipelining.
Modern VLSI Design 3e: Chapter 3 Copyright  1998, 2002 Prentice Hall PTR Topics n Electrical properties of static combinational gates: –transfer characteristics;
Dynamic Logic Circuits Static logic circuits allow implementation of logic functions based on steady state behavior of simple nMOS or CMOS structures.
Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 6.1 EE4800 CMOS Digital IC Design & Analysis Lecture 6 Power Zhuo Feng.
The George Washington University School of Engineering and Applied Science Department of Electrical and Computer Engineering ECE122 – 30 Lab 2: NAND gate.
Dynamic Logic.
EE141 Combinational Circuits 1 Chapter 6 (I) Designing Combinational Logic Circuits Dynamic CMOS LogicDynamic CMOS Logic V1.0 5/4/2003.
EE 466/586 VLSI Design Partha Pande School of EECS Washington State University
ELEC Digital Logic Circuits Fall 2015 Delay and Power Vishwani D. Agrawal James J. Danaher Professor Department of Electrical and Computer Engineering.
The George Washington University School of Engineering and Applied Science Department of Electrical and Computer Engineering ECE122 – 30 Lab 2: NAND gate.
Damu, 2008EGE535 Fall 08, Lecture 51 EGE535 Low Power VLSI Design Lecture #5 & 6 CMOS Inverter.
Timing Optimization.
DESIGN OF SEQUENTIAL CIRCUITS
Low Power Digital Design
Presentation transcript:

Logic Synthesis For Low Power CMOS Digital Design

Outlines Power consumption model Dynamic power minimization –Reduction of output gate transitions i. Logic synthesis for low power ii. State assignment for low power –Turning-off portions of a circuit Leakage power minimization

Power Dissipation Static dissipation due to leakage circuit Short-circuit dissipation Charge and discharge of a load capacitor V in V out V DD GND o

Power Dissipation Model P: the power dissipation for a gate, C: the load capacitance, V dd : the supply voltage, T cyc : the clock period, E: the transition count of the gate per clock cycle.

How to Compute Transition Density? signal probability P 1 (g): the probability of a logic 1 at the output of gate g signal probability P 0 (g): the probability of a logic 0 at the output of gate g, 1-P 1 (g) signal transition probability(density) P t 0 1 or i1 i2 i3 i4

Simulation-based Computation Logic Simulator Logic waveform of each node Input-pattern dependent Two many input patterns

Probability-based Computation A simple method : g i1 P 0 (g) = P 1 (g) = P 1 (i1) P 0 (i1) P 1 (g) = P 1 (i1) *P 1 (i2) P 0 (g) = 1-P 1 (g) P 0 (g) = P 0 (i1) *P 0 (i2) P 1 (g) = 1-P 0 (g) g g i1 i2 i1 i2

Probability-based Computation A simple method : i1 i2 i3 i4 Time titi t i+1 P 0 (e) P 1 (e) P 0 (e)..... (1-P 1 (g))*P 1 (g) P 1 (g)*(1-P 1 (g)) => 2*P 1 (g)*(1-P 1 (g)) Inaccuracy of the simple model – Temporal relations – Spatial relations

Technology Mapping For Low Power (a) Circuit to be mapped Gate Type Area Intrinsic Input Load Cap. Cap. INV NAND NAND AOI (b) Characteristics of the Library Pt=0.179 G1 G2 G3 a b c d e f Pt=0.109 out

Technology Mapping For Low Power G1 G2 G3 a b c d e f out AOI33 INV Area Cost: 4176 Power Cost: (c) Minimum-Area Mapping out G1 G2 G3 a b c d e f NAND3 NAND2 WIRE NAND3 Area Cost: 5104 Power Cost: (d) Minimum-Power Mapping

State Assignment S2S2 S1S1 S3S Combinational Logic PIPO PS NS u1u1 u2u2 v1v1 v2v2 S4S4

State Assignment for Low Power Design Uneven distribution of state transitions in Finite State Machine State assignment such that states with high transitions are given state codes of short distance Minimize –w(s,t): transition between s and t (power cost)

State Probability Model SkSk SiSi I k,i Prob(S i ) = where PS(S i ) : the set of immediately previous states of S i, Prob(I k,i ): the probability of input pattern I k,i

State Probability Model (cont.) The summation of all states probability is equal to 1, therefore The state probabilities of S i ’s can be obtained by solving the linear system using the Cholesky Decomposition method.

Partitioning of a Controller START s4 s6 s5 s2 s7 s3 M1 M2 1/00 0/00 0/01 0/00 1/10 0/10 1/10 1/01 0/00 1/10 0/00 00/0 1/00 Turning Off Portions of a Circuit

Four Questions: 1. How do we determine the submachine to be turned on in each clock cycle? 2. When an inactive submachine becomes active, how do we set it to the correct state for the next clock cycle? 3. How does an active submachine relinquish control and pass it to the submachine which will become active in the next clock cycle? 4. Physically, how do we turn off a piece of combinational logic?

Question 1 How do we determine which submachine to be turned on? current state + input next state the submachine to be turned on To simplify the control logic: state code: –States in the same submachine will have the same control bits. –The remaining bits will be used to distinguish among states in the same submachine. need control logic to make this decision control bits

State Code of the Sub-machines START S4 s6 s5 s2 s7 s3 M1 M2 1/00 0/00 0/01 0/00 1/10 0/10 1/10 1/01 0/00 1/10 0/00 00/0 1/00

Question 2 When an inactive submachine becomes active, how do we set it to the correct state?  Include the crossing transition in the state transition table of the submachine

An Example s0 s1 s2 s3 s4 s M1M2 input present state next state output M s0 s1 s2 s1 s3 s2 s3 s1 s input present state next state output M s3 s4 s5 s0 s1 s5 s4 s

Question 3 How does an active submachine relinquish control to allow another submachine to become active?  The above state assignment will allow control to be transferred from one machine to another with no additional circuitry

Question 4 How we actually turn on and off a piece of combinational logic? mux_1 2 1 mux mux_2 2 1 mux mux_3 2 1 mux mux_4 2 1 mux mux_5 2 1 mux O1O2 Com_1(M 1)Com_2(M 2) 1 2 decoder e1 e2 ABCDEFGH X1 control_1 FF 1 FF 2 FF 3

Two Subproblems to Solve 1. Partitioning a Finite State Machine into submachines 2. State assignment for submachines

Leakage Power Optimization –Gate threshold voltage assignment high threshold voltage: –leakage power↓ –delay↑ low threshold voltage: –leakage power ↑ –delay↓

How to Reduce Leakage Power Without Performance Loss 1.use low threshold voltage gates for timing optimization 2.compute the slack time of each node 3.find all non-critical nodes and compute cost for each non-critical node 4find candidate nodes for replacement 5replace candidate nodes by high threshold voltage gates to save leakage power 6re-compute the slack time of each node 7if timing requirement is not violated, go to step 3.

An Example to Reduce Leakage Power Without Performance Loss Initial solution are all low threshold voltage gates for timing optimization Critical path = w  u  z  x (x,y, z) means (slack, timing cost, power reduction) x y z u wv a b c d e f y (0, 0.5, 1) (0, 0.2, 0.5) (0.5, 0.25, 0.5) (0, 0.5, 0.25) (0.5, 0.25, 1) (0, 0.5, 0.5) x Low threshold voltage gate x High threshold voltage gate

An Example to Reduce Leakage Power Without Performance Loss High threshold gate = {v, y} Low threshold gate = {w, u, z, x} Power reduction = 1.5 No performance degradation x y z u wv a b c d e f y (0, 0.5, 1) (0, 0.2, 0.5) (0.25, 0, 0) (0, 0.5, 0.25) (0.25, 0, 0) (0, 0.5, 0.5) (x,y, z) means (slack, timing cost, power reduction) x Low threshold voltage gate x High threshold voltage gate