Lecture 7: Multistage Logic Networks. Best Number of Stages

Similar documents
Logic effort and gate sizing

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

Lecture 6: Logical Effort

EE 447 VLSI Design. Lecture 5: Logical Effort

ECE429 Introduction to VLSI Design

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

VLSI Design, Fall Logical Effort. Jacob Abraham

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

Lecture 8: Combinational Circuit Design

Logical Effort. Sizing Transistors for Speed. Estimating Delays

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

Logical Effort of Higher Valency Adders

Very Large Scale Integration (VLSI)

7. Combinational Circuits

Lecture 8: Logic Effort and Combinational Circuit Design

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

How Strong Are Weak Patents? Joseph Farrell and Carl Shapiro. Supplementary Material Licensing Probabilistic Patents to Cournot Oligopolists *

Grover s Algorithm + Quantum Zeno Effect + Vaidman

Chapter Newton s Method

1.4 Small-signal models of BJT

Coarse-Grain MTCMOS Sleep

Lecture 4: Adders. Computer Systems Laboratory Stanford University

Errors for Linear Systems

Stanford University CS359G: Graph Partitioning and Expanders Handout 4 Luca Trevisan January 13, 2011

Basic Statistical Analysis and Yield Calculations

EE M216A.:. Fall Lecture 5. Logical Effort. Prof. Dejan Marković

AGC Introduction

Abstract. The assumptions made for rank computation are as follows. (see Figure 1)

V V. This calculation is repeated now for each current I.

EEL 6266 Power System Operation and Control. Chapter 3 Economic Dispatch Using Dynamic Programming

VQ widely used in coding speech, image, and video

Interconnect Optimization for Deep-Submicron and Giga-Hertz ICs

Module 9. Lecture 6. Duality in Assignment Problems

T E C O L O T E R E S E A R C H, I N C.

Problem Set 9 Solutions

Transfer Characteristic

Logic Gate Sizing. The method of logical effort. João Canas Ferreira. March University of Porto Faculty of Engineering

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

ELCT 503: Semiconductors. Fall 2014

Graphical Analysis of a BJT Amplifier

Multilayer Perceptrons and Backpropagation. Perceptrons. Recap: Perceptrons. Informatics 1 CG: Lecture 6. Mirella Lapata

Lecture 9: Combinational Circuit Design

Design and Analysis of Algorithms

Physics 1202: Lecture 11 Today s Agenda

18.1 Introduction and Recap

PHYSICS - CLUTCH CH 28: INDUCTION AND INDUCTANCE.

University of Toronto. Final Exam

Copyright 2004 by Oxford University Press, Inc.

Announcements. Lecture #2

College of Engineering Department of Electronics and Communication Engineering. Test 1 With Model Answer

ELE B7 Power Systems Engineering. Power Flow- Introduction

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

Energy-Delay Space Exploration of Clocked Storage Elements Using Circuit Sizing

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

Linear regression. Regression Models. Chapter 11 Student Lecture Notes Regression Analysis is the

6.01: Introduction to EECS 1 Week 6 October 15, 2009

Lecture 8 Modal Analysis

Boise State University Department of Electrical and Computer Engineering ECE 212L Circuit Analysis and Design Lab

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

I certify that I have not given unauthorized aid nor have I received aid in the completion of this exam.

IV. Performance Optimization

55:041 Electronic Circuits

Calculation of time complexity (3%)

Simultaneous Device and Interconnect Optimization

Boise State University Department of Electrical and Computer Engineering ECE 212L Circuit Analysis and Design Lab

55:041 Electronic Circuits

Lecture 5. Logical Effort Using LE on a Decoder

A 2D Bounded Linear Program (H,c) 2D Linear Programming

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur

THE ROYAL STATISTICAL SOCIETY 2006 EXAMINATIONS SOLUTIONS HIGHER CERTIFICATE

Chapter 4. Digital Integrated Circuit Design I. ECE 425/525 Chapter 4. CMOS design can be realized meet requirements from

Leakage and Dynamic Glitch Power Minimization Using Integer Linear Programming for V th Assignment and Path Balancing

Section 8.3 Polar Form of Complex Numbers

CHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE

3.6 Limiting and Clamping Circuits

Lecture 4: Universal Hash Functions/Streaming Cont d

A Novel Gate-Level NBTI Delay Degradation Model with Stacking Effect

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

Second Order Analysis

Digital Microelectronic Circuits ( ) Logical Effort. Lecture 7: Presented by: Adam Teman

Please review the following statement: I certify that I have not given unauthorized aid nor have I received aid in the completion of this exam.

Lecture (02) NAND and NOR Gates

Lecture 21: Numerical methods for pricing American type derivatives

Lecture 4 Hypothesis Testing

Kernel Methods and SVMs Extension

COMBINATIONAL CIRCUITS

Lossy Compression. Compromise accuracy of reconstruction for increased compression.

55:141 Advanced Circuit Techniques Two-Port Theory

The stream cipher MICKEY

PHYSICS - CLUTCH 1E CH 28: INDUCTION AND INDUCTANCE.

Gated Clock Routing Minimizing the Switched Capacitance *

Math1110 (Spring 2009) Prelim 3 - Solutions

The Concept of Beamforming

Lecture 12: Classification

Module 14: THE INTEGRAL Exploring Calculus

Chapter 3 Describing Data Using Numerical Measures

Week 11: Differential Amplifiers

Annexes. EC.1. Cycle-base move illustration. EC.2. Problem Instances

CHAPTER 13. Exercises. E13.1 The emitter current is given by the Shockley equation:

U.C. Berkeley CS294: Beyond Worst-Case Analysis Luca Trevisan September 5, 2017

Transcription:

Lecture 7: Multstage Logc Networks Multstage Logc Networks (cont. from Lec 06) Examples Readng: Ch. Best Number of Stages How many stages should a path use? Mnmzng number of stages s not always fastest Example: drve 6-bt datapath wth unt nverter Intal Drver D = NF /N + P = N(6) /N + N F=GBH B= H=6 G= Datapath Load N: f: D: 6 65 8 2.8 6 8 23 6 6 6 6 2 8 8 3 5 Fastest 2.8 5.3

Best Stage Effort Dervaton Consder addng nverters to end of path How many gve least delay? N n = ( ) D= NF + p + N n p D N N N = F ln F + F + pnv = 0 N Defne best stage effort ρ = F N p + ρ lnρ = 0 nv ( ) Logc Block: n Stages Path Effort F N - n Ex tra Inv erters Neglectng parastcs (p nv = 0), we fnd ρ = 2.78 (e) For p nv =, solve numercally for ρ = 3.59 nv No closed-form soluton Senstvty Analyss How senstve s delay to usng exactly the best number of stages?.6.5 D(N) /D(N)..26.2.5.0 (ρ=6) (ρ =2.) 0.0 0.5 0.7.0. 2.0 2. < ρ < 6 gves delay wthn 5% of optmal We can be sloppy! I lke ρ = N / N 2

Example: extractng logcal effort from datasheets INVX Determne p, g and τ for INVX from datasheet Unt nverter capactance s 3.6fF Parastc or ntrnsc delay s (25.3+.6)/2=20ps Slope of delay vs. load capactance s the average of rsng and fallng K load values (.53+2.37)/2 ns/pf Normalzed Delay: d Recall d abs = (gh+p) τ 6 5 3 2 0 2-nput NAND Electrcal Ef f ort: h = C out / C n Inverter g = /3 p = 2 d = (/3)h + 2 g = p = d = h + Ef f ort Delay: f Parastc Delay: p 0 2 3 5 t pd = 20ps + (3.6fF/gate)(h gates)[(.53+2.37)/2 ns/pf] = (20ps + 2.h) ps = tau (20ps/tau + (2./tau)h) p nv = 20ps/2.ps =.6 g==2./tau à tau=2. d=(gh+p)=(h+.6) 3

NAND2 Determne p, g and τ for NAND2X from datasheet Unt NAND2X capactance s.2ff Parastc or ntrnsc delay s (3.3+9.5)/2 Slope of delay vs. load capactance s the average of rsng and fallng K load values (.53+2.8)/2 ns/pf Normalzed Delay: d Recall d abs = (gh+p) τ 6 5 3 2 0 2-nput NAND Electrcal Ef f ort: h = C out / C n Inverter g = /3 p = 2 d = (/3)h + 2 g = p = d = h + Ef f ort Delay: f Parastc Delay: p 0 2 3 5 t pd = (3.3+9.5)/2 + (.2fF/gate)(h gates)[(.53+2.8)/2 ns/pf] = (25.ps + 5.5h) ps p nv = 25.ps/2.ps = 2.05 g=5.5/tau=.25=5/ Example Ben Btdddle s the memory desgner for the Motorol 68W86, an embedded automotve processor. Help Ben desgn the decoder for a regster fle. A[3:0] A[3:0] 32 bts Decoder specfcatons: 6 word regster fle Each word s 32 bts wde Each bt presents load of 3 unt-szed transstors True and complementary address nputs A[3:0] Each nput may drve 0 unt-szed transstors Ben needs to decde: How many stages to use? How large should each gate be? How fast can decoder operate? :6 Decoder 6 Regster Fle 6 words

Intal Dlema You need the path effort to calculate the optmum number of stages N = log ρ F You need the path logcal effort to calculate the path effort F = f = gh = GBH From ρ=f /N Stage effort ρ=3- Wthout knowng the number of stages you cannot draw a path, determne the logcal effort of the path and fnd the path effort G= g Number of Stages Decoder effort s manly electrcal and branchng Electrcal Effort: H = (32*3) / 0 = 9.6 Branchng Effort: B = 8 If we neglect logcal effort (assume G = ) Path Effort: F = GBH = 76.8 Number of Stages: N = log F = 3. Try a 3-stage decoder desgn Each address s used to compute Half of the 6 word lnes; ts Complement Is used for the other half 0000 000 000 00 000 00 00 0 000 00 00 0 00 0 0 5

Delay Logcal Effort: G = * 6/3 * = 2 Path Effort: F = GBH = 2*8*9.6=5 Stage Effort: /3 f ˆ = F = 5.36 Path Delay: D= 3fˆ + + + = 22. A[3] A[3] A[2] A[2] A[] A[] A[0] A[0] 0 0 0 0 0 0 0 0 y z word[0] 96 unts of wordlne capactance 0000 000 000 00 000 00 00 0 000 00 00 0 00 0 0 y z word[5] Gate Szes & Delay Gate szes: z = 96*/5.36 = 8 y = 8*2/5.36 = 6.7 fˆ = gh = g C C out n gc Cn = fˆ out A[3] A[3] A[2] A[2] A[] A[] A[0] A[0] 0 0 0 0 0 0 0 0 y z word[0] 96 unts of wordlne capactance y z word[5] 6

Comparson Compare many alternatves wth a spreadsheet Desgn N G P D NAND-INV 2 2 5 29.8 NAND2-NOR2 2 20/9 30. INV-NAND-INV 3 2 6 22. NAND-INV-INV-INV 2 7 2. NAND2-NOR2-INV-INV 20/9 6 20.5 NAND2-INV-NAND2-INV 6/9 6 9.7 INV-NAND2-INV-NAND2-INV 5 6/9 7 20. NAND2-INV-NAND2-INV-INV-INV 6 6/9 8 2.6 Revew of Defntons Term Stage Path number of stages logcal effort electrcal effort branchng effort effort effort delay parastc delay delay g h = b = Cout Cn Con-path + Coff-path Con-path f = gh f p d = f + p N G= g H = Cout-path Cn-path B= b F = GBH D F = f P= p D = d = D + P F 7

Method of Logcal Effort ) Compute path effort 2) Estmate best number of stages 3) Sketch path wth N stages ) Estmate least delay 5) Determne best stage effort F = GBH N = log F N D= NF + P ˆ N f = F 6) Fnd gate szes C n = gc fˆ out Lmts of Logcal Effort Chcken and egg problem Need path to compute G But don t know number of stages wthout G Smplstc delay model Neglects nput rse tme effects Interconnect Iteraton requred n desgns wth wre Maxmum speed only Not mnmum area/power for constraned delay 8

Summary Logcal effort s useful for thnkng of delay n crcuts Numerc logcal effort characterzes gates NANDs are faster than NORs n CMOS Paths are fastest when effort delays are ~ Path delay s weakly senstve to stages, szes But usng fewer stages doesn t mean faster paths Delay of path s about log F FO nverter delays (NxFO delay) Inverters and NAND2 best for drvng large caps 9