Estimating Delays. Gate Delay Model. Gate Delay. Effort Delay. Computing Logical Effort. Logical Effort

Similar documents
Logic effort and gate sizing

Lecture 7: Multistage Logic Networks. Best Number of Stages

Logical Effort. Sizing Transistors for Speed. Estimating Delays

Introduction to CMOS VLSI Design. Lecture 5: Logical Effort. David Harris. Harvey Mudd College Spring Outline

Introduction to CMOS VLSI Design. Logical Effort B. Original Lecture by Jay Brockman. University of Notre Dame Fall 2008

ECE429 Introduction to VLSI Design

EE 447 VLSI Design. Lecture 5: Logical Effort

Lecture 6: Logical Effort

VLSI Design, Fall Logical Effort. Jacob Abraham

Lecture 8: Combinational Circuit Design

Lecture 4: Adders. Computer Systems Laboratory Stanford University

Lecture 8: Logic Effort and Combinational Circuit Design

+ v i F02E2P2 I. Solution (a.) The small-signal transfer function of the stages can be written as, V out (s) V in (s) = g m1 /g m3.

Logical Effort of Higher Valency Adders

( ) = ( ) + ( 0) ) ( )

55:041 Electronic Circuits

1.4 Small-signal models of BJT

Logical Effort: Designing for Speed on the Back of an Envelope David Harris Harvey Mudd College Claremont, CA

Problem Set 9 Solutions

Correlation and Regression. Correlation 9.1. Correlation. Chapter 9

ORIGIN 1. PTC_CE_BSD_3.2_us_mp.mcdx. Mathcad Enabled Content 2011 Knovel Corp.

CIS526: Machine Learning Lecture 3 (Sept 16, 2003) Linear Regression. Preparation help: Xiaoying Huang. x 1 θ 1 output... θ M x M

e i is a random error

THE ROYAL STATISTICAL SOCIETY 2006 EXAMINATIONS SOLUTIONS HIGHER CERTIFICATE

55:041 Electronic Circuits

Chapter 2 - The Simple Linear Regression Model S =0. e i is a random error. S β2 β. This is a minimization problem. Solution is a calculus exercise.

STAT 511 FINAL EXAM NAME Spring 2001

The Fundamental Theorem of Algebra. Objective To use the Fundamental Theorem of Algebra to solve polynomial equations with complex solutions

Calculation of time complexity (3%)

Interconnect Optimization for Deep-Submicron and Giga-Hertz ICs

MAE140 - Linear Circuits - Winter 16 Final, March 16, 2016

Chapter Newton s Method

The optimal delay of the second test is therefore approximately 210 hours earlier than =2.

NUMERICAL DIFFERENTIATION

Grover s Algorithm + Quantum Zeno Effect + Vaidman

Lecture Notes on Linear Regression

AS-Level Maths: Statistics 1 for Edexcel

LINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity

Lecture 12: Classification

Lecture 4: Universal Hash Functions/Streaming Cont d

Planning and Scheduling to Minimize Makespan & Tardiness. John Hooker Carnegie Mellon University September 2006

ENGR-4300 Electronic Instrumentation Quiz 4 Fall 2010 Name Section. Question Value Grade I 20 II 20 III 20 IV 20 V 20. Total (100 points)

Very Large Scale Integration (VLSI)

Kernel Methods and SVMs Extension

KIRCHHOFF CURRENT LAW

SIO 224. m(r) =(ρ(r),k s (r),µ(r))

Coarse-Grain MTCMOS Sleep

Generalized Linear Methods

A NOTE ON CES FUNCTIONS Drago Bergholt, BI Norwegian Business School 2011

Department of Statistics University of Toronto STA305H1S / 1004 HS Design and Analysis of Experiments Term Test - Winter Solution

Topic 23 - Randomized Complete Block Designs (RCBD)

Errors for Linear Systems

Math Review. CptS 223 Advanced Data Structures. Larry Holder School of Electrical Engineering and Computer Science Washington State University

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur

Numerical Solution of Ordinary Differential Equations

Inductor = (coil of wire)

Vote today! Physics 122, Fall November (c) University of Rochester 1. Today in Physics 122: applications of induction

Outline and Reading. Dynamic Programming. Dynamic Programming revealed. Computing Fibonacci. The General Dynamic Programming Technique

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix

FE REVIEW OPERATIONAL AMPLIFIERS (OP-AMPS)( ) 8/25/2010

CSci 6974 and ECSE 6966 Math. Tech. for Vision, Graphics and Robotics Lecture 21, April 17, 2006 Estimating A Plane Homography

Lecture 10 Support Vector Machines II

DC Circuits. Crossing the emf in this direction +ΔV

MAE140 - Linear Circuits - Winter 16 Midterm, February 5

Assortment Optimization under MNL

Structure and Drive Paul A. Jensen Copyright July 20, 2003

CS 331 DESIGN AND ANALYSIS OF ALGORITHMS DYNAMIC PROGRAMMING. Dr. Daisy Tang

Mechanics Physics 151

VQ widely used in coding speech, image, and video

CS4495/6495 Introduction to Computer Vision. 3C-L3 Calibrating cameras

EE141. Administrative Stuff

MAE140 - Linear Circuits - Fall 13 Midterm, October 31

since [1-( 0+ 1x1i+ 2x2 i)] [ 0+ 1x1i+ assumed to be a reasonable approximation

princeton univ. F 17 cos 521: Advanced Algorithm Design Lecture 7: LP Duality Lecturer: Matt Weinberg

SIMPLE LINEAR REGRESSION

Introduction to Information Theory, Data Compression,

Optimization Methods for Engineering Design. Logic-Based. John Hooker. Turkish Operational Research Society. Carnegie Mellon University

VLSI Design I; A. Milenkovic 1

FEEDBACK AMPLIFIERS. v i or v s v 0

An Integrated OR/CP Method for Planning and Scheduling

OPTIMISATION. Introduction Single Variable Unconstrained Optimisation Multivariable Unconstrained Optimisation Linear Programming

Lecture 21: Numerical methods for pricing American type derivatives

Module 9. Lecture 6. Duality in Assignment Problems

Department of Quantitative Methods & Information Systems. Time Series and Their Components QMIS 320. Chapter 6

EEE 241: Linear Systems

Using the estimated penetrances to determine the range of the underlying genetic model in casecontrol

PHYS 705: Classical Mechanics. Calculus of Variations II

Polynomial Regression Models

= z 20 z n. (k 20) + 4 z k = 4

FE REVIEW OPERATIONAL AMPLIFIERS (OP-AMPS)

Important Instructions to the Examiners:

Chapter 3 Describing Data Using Numerical Measures

Resource Allocation with a Budget Constraint for Computing Independent Tasks in the Cloud

Thermal-Fluids I. Chapter 18 Transient heat conduction. Dr. Primal Fernando Ph: (850)

Statistical Circuit Optimization Considering Device and Interconnect Process Variations

ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM

Using the Minimum Set of Input Combinations to Minimize the Area of Local Routing Networks in Logic Clusters. FPGAs. Andy Ye Ryerson University

JAB Chain. Long-tail claims development. ASTIN - September 2005 B.Verdier A. Klinger

The Second Anti-Mathima on Game Theory

For now, let us focus on a specific model of neurons. These are simplified from reality but can achieve remarkable results.

Transcription:

Estmatng Delas Would be nce to have a back of the envelope method for szng gates for speed Logcal Effort ook b Sutherland, Sproull, Harrs Chapter s on our web page Gate Dela Model Frst, normalze a model of dela to dmensonless unts to solate fabrcaton effects d abs = d τ τ s the dela of a mnmum nverter drvng another mnmum nverter wth no parastcs In a 0.6u process, ths s appro 0ps Now we can thnk about dela n terms of d and scale t to whatever process we re buldng the crcut n Gate Dela Dela of a gate d has two components fed part called parastc dela p part proportonal to the load on the output called the effort dela or stage effort f Total dela s measured n unts of τ, and s sum of these delas d = f + p Effort Dela The effort dela (due to load) can be further broken down nto two terms f = g * h g = logcal effort whch captures propertes of the gate s structure h = electrcal effort whch captures propertes of load and transstor szes h = C out /C n C out s capactance that loads the output C n s capactance presented at the nput So, d = gh + p Logcal Effort Logcal effort normalzes the output drve capablt of a gate to match a unt nverter How much more nput capactance does a gate need to present to offer the same drve as n nverter? a b a g = g = /3 a b g = 5/3 Computng Logcal Effort DEF: Logcal effort s the rato of the nput capactance of a gate to the nput capactance of an nverter delverng the same output current. Measure from dela vs. fanout plots Or estmate b countng transstor wdths Y Y Y (a ) (b ) (c) C n = 3 g = 3/3 C n = g = /3 C n = 5 g = 5/3

Logcal Effort of Other Gates Logcal effort of common gates assumng that P/N sze rato s Number of nputs Gate Tpe 3 5 n Inverter NND /3 5/3 6/3 7/3 (n+)/3 NOR 5/3 7/3 9/3 /3 (n+)/3 MUX XOR 3 Electrcal Effort Value of logcal effort g s ndependent of transstor sze It s related to the ratos and the topolog Electrcal effort h captures the drve capablt of the transstors va szng Electrcal effort h = C out /C n Note that as transstor szes for a gate ncrease, h decreases because C n goes up Parastc Dela Plots of Gate Dela Parastc dela p s caused b the nternal capactance of the gate It s constant and ndependent of transstor sze s ou ncrease the transstor sze, ou also ncrease the cap of the gate/source/dran areas whch keeps t constant For our purposes, normalze p nv to N-nput NND = n*p nv N-nput NOR = n*p nv N-wa mu = n*p nv XOR = * p nv 6 5 3 0 0 3 Two-nput NND : g =, p = Effort dela Parastc dela 3 5 Electrcal effort: h Inverter: g =, p = Dela Estmaton Dela Estmaton Remember, τ n Our process ~ 0ps Remember, τ n Our process ~ 0ps ~00ps ~00ps τ n 0nm = ~ ps FO Inverter dela = 60ps FO NND dela = 7ps ~0ps ~0ps

Eample: Rng Oscllator Estmate the frequenc of an N-stage rng oscllator Eample: Rng Oscllator Estmate the frequenc of an N-stage rng oscllator Logcal Effort: g = Electrcal Effort: h = Parastc Dela: p = Stage Dela: d = Perod of osc = Logcal Effort: g = Electrcal Effort: h = Parastc Dela: p = Stage Dela: d = so d abs = 0ps Perod: *N*d abs =.96ns, Freq = ~00MHz Eample: FO Inverter Estmate the dela of a fanout-of- (FO) nverter d Eample: FO Inverter Estmate the dela of a fanout-of- (FO) nverter d Logcal Effort: g = Electrcal Effort: h = Parastc Dela: p = Stage Dela: d = Logcal Effort: g = Electrcal Effort: h = Parastc Dela: p = Stage Dela: d = gh + p = 5 The FO dela s about 00 ps n 0.6 μm process 60 ps n a 0 nm process f/3 ns n an f μm process Dela Estmaton Mult Stage Dela If Cn =, Cout = 0, thus h = 0 g = 9/3 = 3 d = gh + p = 3*0 + * = 3 (360 ps) 3

Off-Path Load Summar multstage networks Logcal effort generalzes to multstage networks G = g Path Logcal Effort Path Electrcal Effort C H = out path C n path Ctotal Cuseful Path Effort F = f = gh Can we wrte F = GH? ranchng Effort Remember branchng effort ccounts for branchng between stages n path Con path + Coff path b = C = b on path Note: h = H Multstage Delas Path Effort Dela Path Parastc Dela Path Dela D F = f P = p D = d = D + P F Now we compute the path effort F = GH Desgnng Fast Crcuts D = d = D + P Dela s smallest when each stage bears same effort ˆ N f = gh = F F Mnmzng Path Dela Thus mnmum dela of N stage path s D = NF + P Ths s a ke result of logcal effort Fnd fastest possble dela Doesn t requre calculatng gate szes N

Choosng Transstor Szes Eample 0 mnd=n*f /N + P Eample, contnued Transstor Szes for Eample nother Eample, Larger Load C Load Eample Cont. 5

Eample.6 from Chap Eample.6 Contnued 0 Eample: 3-stage path Eample: 3-stage path Select gate szes and for least dela from to Logcal Effort G = Electrcal Effort H = ranchng Effort = Path Effort F = est Stage Effort Parastc Dela ˆf = P = Dela D = Eample: 3-stage path Logcal Effort G = (/3)*(5/3)*(5/3) = 00/7 Electrcal Effort H = / ranchng Effort = 3 * = 6 Path Effort F = GH = 5 est Stage Effort Parastc Dela 3 f ˆ = F = 5 P = + 3 + = 7 Dela D = 3*5 + 7 = =. FO Eample: 3-stage path Work backward for szes = = 6

Eample: 3-stage path Eample.7 from Chap Work backward for szes = * (5/3) / 5 = 5 = (5*) * (5/3) / 5 = 0 P: N: P: N: 6 P: N: 3 Note: Don t care about parastcs for gate szng, onl f ou want to know absolute dela Msc. Comments Note that ou never sze the frst gate Ths gate s assumed to be fed If ou were allowed to sze t, the algorthm would tr to make t as large as possble Ths s an estmaton algorthm uthors clam that szng a gate b.5 too bg or small stll results n a path dela wthn 5% of mnmum Senstvt nalss How senstve s dela to usng eactl the best number of stages? D(N) /D(N).6...0 0.0.5 (ρ=6).5 0.5 0.7.0..0 N / N.6 (ρ =.). < ρ < 6 gves dela wthn 5% of optmal We can be slopp! I lke ρ = Evaluatng Dfferent Optons Opton # 7

Opton # How man stages? Consder three alternatves for drvng a load 5 tmes the nput capactance One nverter Three nverters n seres Fve nverters n seres The all do the job, but whch one s fastest? How man stages? In all cases: G =, =, and H = 5 Path dela s N(5) /N + N P nv N =, D = 6 unts N = 3, D =. unts N = 5, D =.5 unts Snce N=3 s best, each stage wll bear an effort of (5) /3 =.9 So, each stage s ~3 larger than the last In general, the best stage effort s between 3 and (not e as often stated) The e value doesn t use parastcs Choosng the est # of Stages You can solve the dela equatons to determne the number of stages N that wll acheve the mnmum dela ppromate b Log F Path Effort F est N Mn Dela D Stage effort f 0-5.3.0-6. 0-5. 5.3-.3 6.-..-.7.3-. 3.-6.0.-..-300 6.0-0.7 3.0-. 300-090 5 0.7-5.3 3.-. 090-390 6 5.3-9. 3.-.0 Eample Strng of nverters drvng an off-chp load Pad cap and load = 0pf Equvalent to 0,000 mcrons of gate cap ssume frst nverter n chan has 7.u of nput cap How man stages n nv chan? H = 0,000/7. = 777 From the table, 6 stages s best Stage effort = f = (777) /6 = 3.75 Path dela D = 6*3.75 +6*Pnv =.5 D =.ns f τ = 0ps Summar Compute path effort F = GH Use table, or estmate N = log F to decde on number of stages Estmate mnmum possble dela D = NF /N + Σp dd or remove stages n our logc to get close to N Compute effort at each stage f = F /N Startng at output, work backwards to compute transstor szes C n = (g /f)c out

Lmts of Logcal Effort Chcken and egg problem Need path to compute G ut don t know number of stages wthout G Smplstc dela model Neglects nput rse tme effects Interconnect Iteraton requred n desgns wth wre Mamum speed onl Not mnmum area/power for constraned dela Summar Logcal effort s useful for thnkng of dela n crcuts Numerc logcal effort characterzes gates NNDs are faster than NORs n CMOS Paths are fastest when effort delas are ~ Path dela s weakl senstve to stages, szes ut usng fewer stages doesn t mean faster paths Dela of path s about log F FO nverter delas Inverters and NND best for drvng large caps Provdes language for dscussng fast crcuts ut requres practce to master 9