RC Modeling and Logical Effort Basics

Slides:



Advertisements
Similar presentations
Design and Implementation of VLSI Systems (EN1600)
Advertisements

Logic Gate Delay Modeling -1 Bishnu Prasad Das Research Scholar CEDT, IISc, Bangalore
Lecture 5: DC & Transient Response
Logical Effort A Method to Optimize Circuit Topology Swarthmore College E77 VLSI Design Adem Kader David Luong Mark Piper December 6, 2005.
A Look at Chapter 4: Circuit Characterization and Performance Estimation Knowing the source of delays in CMOS gates and being able to estimate them efficiently.
Introduction to CMOS VLSI Design Lecture 4: DC & Transient Response
S. Reda EN160 SP’07 Design and Implementation of VLSI Systems (EN0160) Lecture 11: Logical Effort (1/2) Prof. Sherief Reda Division of Engineering, Brown.
Introduction to CMOS VLSI Design Lecture 5: Logical Effort David Harris Harvey Mudd College Spring 2004.
Introduction to CMOS VLSI Design Lecture 4: DC & Transient Response Credits: David Harris Harvey Mudd College (Material taken/adapted from Harris’ lecture.
Logical Effort.
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE VLSI Circuit Design Lecture 13 - More about.
Lecture #24 Gates to circuits
Outline Noise Margins Transient Analysis Delay Estimation
DC and transient responses Lezione 3
S. Reda EN160 SP’07 Design and Implementation of VLSI Systems (EN0160) Lecture10: Delay Estimation Prof. Sherief Reda Division of Engineering, Brown University.
1 MICROELETTRONICA Logical Effort and delay Lection 4.
CMOS VLSI Design4: DC and Transient ResponseSlide 1 EE466: VLSI Design Lecture 05: DC and transient response – CMOS Inverters.
EE141 © Digital Integrated Circuits 2nd Combinational Circuits 1 Logical Effort - sizing for speed.
Design and Implementation of VLSI Systems (EN0160)
EE4800 CMOS Digital IC Design & Analysis
Introduction to CMOS VLSI Design Lecture 4: DC & Transient Response Greco/Cin-UFPE (Material taken/adapted from Harris’ lecture notes)
EE 447 VLSI Design Lecture 5: Logical Effort. EE 447 VLSI Design 5: Logical Effort2 Outline Introduction Delay in a Logic Gate Multistage Logic Networks.
EE 447 VLSI Design 4: DC and Transient Response1 VLSI Design DC & Transient Response.
Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 5.1 EE4800 CMOS Digital IC Design & Analysis Lecture 5 Logic Effort Zhuo Feng.
MOS Inverter: Static Characteristics
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.
Review: CMOS Inverter: Dynamic
Elmore Delay, Logical Effort
Chapter 07 Electronic Analysis of CMOS Logic Gates
Logical Effort: optimal CMOS device sizing Albert Chun (M.A.Sc. Candidate) Ottawa-Carleton Institute for Electrical & Computer Engineering (OCIECE) Ottawa,
Introduction  Chip designers face a bewildering array of choices –What is the best circuit topology for a function? –How many stages of logic give least.
Optimal digital circuit design Mohammad Sharifkhani.
Logical Effort and Transistor Sizing Digital designs are usually expected to operate at high frequencies, thus designers often have to choose the fastest.
Lecture 6: Logical Effort
Introduction to CMOS VLSI Design Lecture 5: Logical Effort GRECO-CIn-UFPE Harvey Mudd College Spring 2004.
Introduction to CMOS VLSI Design Lecture 6: Logical Effort
Linear Delay Model In general the propagation delay of a gate can be written as: d = f + p –p is the delay due to intrinsic capacitance. –f is the effort.
Introduction to CMOS VLSI Design MOS devices: static and dynamic behavior.
Notes on Transistor Sizing for equal pullup/pulldown We assume that electron mobility to hole mobility ratio is 2 in this class. This means that a minimum.
Day 16: October 6, 2014 Inverter Performance
BR 6/001 The RC Delay Model for Gates Recall that the RC Delay model for NMOS/PMOS from Harris (k is the width of the gate)
Chapter 6 Copyright © 2004 The McGraw-Hill Companies, Inc. All rights reserved. High-Speed CMOS Logic Design.
Modern VLSI Design 3e: Chapter 4 Copyright  1998, 2002 Prentice Hall PTR Topics n Transistor sizing: –Spice analysis. –Logical effort.
Circuit Delay Performance Estimation Most digital designs have multiple signal paths and the slowest one of these paths is called the critical path Timing.
COE 360 Principles of VLSI Design Delay. 2 Definitions.
CMOS VLSI Design Lecture 4: DC & Transient Response Younglok Kim Sogang University Fall 2006.
Copyright © 2004 The McGraw-Hill Companies, Inc. All rights reserved.
EE141 Chapter 5 The Inverter April 10, 2003.
Introduction to CMOS VLSI Design Chapter 4 Delay
Lecture 6: Logical Effort
DC & Transient Response
Logical Effort Basics from Bart Zeydel.
The Physical Structure (NMOS)
Introduction to CMOS VLSI Design Lecture 5: DC & Transient Response
Lecture 6: Logical Effort
Introduction to CMOS VLSI Design Lecture 5: Logical Effort
Estimating Delays Would be nice to have a “back of the envelope” method for sizing gates for speed Logical Effort Book by Sutherland, Sproull, Harris Chapter.
UNIT-II Stick Diagrams
Day 18: October 20, 2010 Ratioed Logic Pass Transistor Logic
Lecture 6: Logical Effort
Lecture 3: CMOS Transistor Theory
CP-406 VLSI System Design CMOS Transistor Theory
Lecture 5: DC & Transient Response
Lecture 3: CMOS Transistor Theory
Introduction to CMOS VLSI Design Lecture 4: DC & Transient Response
Lecture 3: CMOS Transistor Theory
Advanced Logical Effort
COMBINATIONAL LOGIC - 2.
Dr. Hari Kishore Kakarla ECE
Propagation Delay.
Presentation transcript:

RC Modeling and Logical Effort Basics

Logical Effort Components Template Template Width Scaled by a Input Capacitance increases by a · Ctemplate Resistance decreases by Rtemplate / a Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Logical Effort Input Capacitance Cox  eox / tox (unit: F/m2) Leff = L – 2xd Cgate = CoxWLeff = CoxWL(1 – 2xd / L) k1 = Cox(1 – 2xd / L) Input Capacitance Cin is the sum of the gate capacitances Cin(inv) = k1WnLn + k1WpLp Scaling all transistor widths by a, scales Cinv by a C = k1aWnLn + k1aWpLp = a Cin Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Logical Effort Resistance R = (r / t) (L / W) ohms Rchannel = Rsheet (L / W) ohms Rsheet = 1 / ( mCox ( Vgs – Vt )) ohms m = surface mobility Rchannel = L / (mCoxW ( Vgs – Vt )) ohms Scaling the transistor width by a factor a, results in: R = L / (mCoxaW ( Vgs – Vt ) ) = Rchannel / a Resistance is inversely proportional to a Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Logical Effort Parasitics Cja junction capacitance per m2 Cjp periphery capacitance per m W width of diffusion region m Ldiff length of diffusion region m Scaling the transistor width by a factor a, results in: Parasitic capacitance scales proportional to a Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

thl delay derivation for step input Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Delay derivation (cont.) Saturation: Linear: Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Delay derivation (cont.) Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Delay derivation (cont.) Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Delay derivation (cont.) Substituting R Rchannel = L / (mCox ( Vgs – Vt ) W) ohms Yeilds an RC Delay model k Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

tlh delay derivation for step input Concerns: Vtn and Vtp mn and mp Must distinguish Rchannel(tlh) and Rchannel(thl) Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Handling Pull-up and Pull-down For tlh we refer to Rchannel as Rup Rup = Lp / (mpCoxWp( Vgs – Vtp )) ohms For thl we refer to Rchannel as Rdown Rdown = Ln / (mnCoxWn( Vgs – Vtn )) ohms For now lets assume that Vdd-Vtp = Vtn Rup = Lp / (mpCoxWp( Vgs – Vt )) ohms Rdown = Ln / (mnCoxWn( Vgs – Vt )) ohms For the same length and width, difference is due to mobility. Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Equalizing Pull-up and Pull-down How to equalize Rup and Rdown Example: Assume 2mn = mp and Lp = Ln Rup = Lp / (0.5mnCoxWp( Vgs – Vt )) ohms Rdown = Ln / (mnCoxWn( Vgs – Vt )) ohms To equalize resistance, Wp = 2Wn When Rup = Rdown, tlh = thl for the same output load Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

RC Model for a CMOS logic gate Graphical Representation of RC model: Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

RC Model for a CMOS logic gate Can use this model for any static CMOS gate: Find the equivalent resistance for the pull-up and pull down paths of the logic gate Assume parasitic only occur at output node Example: 2-input NAND gate (* 2mn = mp) Rup = Rp(a) or = Rp(b) Only 1 transistor on pull-up path… Rdown = Rn(a) + Rn(b) Want Rup = Rdown 2 transistors in the pulldown. Can treat as resistors in series. For inverter occurs when Wp = 2Wn Here occurs when Wp = Wn Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Delay of each gate is the same, right? We can equalize the delay associated with RCout However RCp depends on the gate Is the only difference between gates RCp? Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Delay of each gate is the same, right? We can equalize the delay associated with RCout However RCp depends on the gate Is the only difference between gates RCp? We forgot about Cin We equalized the resistance of each gate, but the capacitance Isn’t the same…. Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Moving to Logical Effort (accounting for Cin) * t refers to the template Gate Template a Scaled Gate Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Logical Effort Gate Delay Model Simplify Analysis by Normalizing to Inverter Template Logical Effort Parasitics Electrical Effort Doesn’t change with a Doesn’t change with a Same derivation can be performed for tlh Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Technology independence Relative delay of gates is ~ technology independent. Allows for comparisons to be fairly accurate across technologies Anyone heard of fanout of four (FO4)? 4C C or C C C C C Before transistor sizing The delay of an inverter Loaded with 4 inverters With transistor sizing The delay of an inverter loaded with 4 identical inverters Can cause some confusion… FO4 is not exactly logical fanout…. Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Examples: Estimating g and p of Gates Inverter NAND2 NOR2 2 2 4 2 4 2 1 2 1 1 g = (2+1)/(2+1) = 1 p = Cp-inv/Cinv = pinv g = (2+2)/(2+1) = 4/3 p = [(2+2+2)/(2+1)]pinv = 2pinv g = (4+1)/(2+1) = 5/3 p = [(4+1+1)/(2+1)]pinv = 2pinv Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Obtaining LE Values from Simulation In real world we don’t have a step input… What do the delay characteristics of a gate look like when simulating? Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Vojin G. Oklobdzija: High-Performance System Design 130nm Delay of Gates vs. h NOR2 NAND2 Inverter Slope = t = 7.3ps Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Normalized Delay of Gates vs. h t = 7.3ps NOR2: g=1.57, p=1.89 NAND2: g=1.14, p=1.45 Inverter: g=1, p=0.93 Effort Delay Parasitic Delay Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Normalized Delay Estimate of Gates vs. h Note: To simplify analysis Assume Cp-inv = Cinv NOR2: g=5/3, p=2 NAND2: g=4/3, p=2 Inverter: g=1, p=1 Effort Delay Parasitic Delay Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Vojin G. Oklobdzija: High-Performance System Design Finding Optimal delay How should we size the gates to get the best delay? Given Cout = 64Cin [Harris, Sutherland] Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Vojin G. Oklobdzija: High-Performance System Design LE Path Delay Gate 1 Gate 2 Gate 3 Cout Input Capacitance Cin C2 C3 Logical Effort: g1 g2 g3 Parasitic Delay p1 p2 p3 Stage Effort: f1 f2 f3 Any n-stage path can be described using Logical Effort Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

LE Path Delay Optimization Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

LE Path Delay Optimization (cont.) By Definition, Cin and Cout are fixed. Solve for C2 and C3: Minimum delay occurs when stage efforts are equal Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Simplified Path Optimization We want the effort of each stage to be equal. = Path Effort = Stage Effort To quickly solve for F: = Logical Effort of the path Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Delay Optimization Example Cin = 1 C2 C3 C4 g f = gh Ci Gate 1 1 Gate 2 1 Gate 3 1 Gate 4 1 81 Total Delay = (84 + 4pinv)t Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Delay Optimization Example Cin = 1 C2 C3 C4 g f = gh Ci Gate 1 1 Gate 2 1 Gate 3 1 40.5 Gate 4 1 2 40.5 Total Delay = (44.5 + 4pinv)t Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Delay Optimization Example Cin = 1 C2 C3 C4 g f = gh Ci Gate 1 1 Gate 2 1 10.1 Gate 3 1 4 10.1 Gate 4 1 2 40.5 Total Delay = (17.1 + 4pinv)t Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Delay Optimization Example Cin = 1 C2 C3 C4 g f = gh Ci Gate 1 1 10.1 Gate 2 1 10.1 Gate 3 1 4 10.1 Gate 4 1 2 40.5 Total Delay = (17.1 + 4pinv)t Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Optimal Sizing for Delay Cin = 1 C2 C3 C4 g f = gh Ci Gate 1 1 3 Gate 2 1 3 Gate 3 1 3 9 Gate 4 1 3 27 Optimal Delay = (12 + 4pinv)t Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Delay Optimization and Sizing Example Cin = 1 C2 C3 C4 Use Logical Effort to optimize sizes for Delay Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Vojin G. Oklobdzija: High-Performance System Design Delay Optimization and Sizing Example Cin = 1 C2 C3 C4 Size from output to input using fopt Delay Estimate Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Example 2: Path Optimization C2 C4 Cin = 1 C3 g f = gh Ci Size Gate 1 1 Gate 2 5/3 5/3*3/5 1 Gate 3 4/3 4/3*3/4 1 Gate 4 1 81 Total Delay = (85 + 6pinv)t Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Example 2: Path Optimization Cin = 1 C2 C3 C4 g f = gh Ci Size Gate 1 1 3.66 Gate 2 5/3 3.66 2.2 Gate 3 4/3 3.66 8.06 6.04 Gate 4 1 3.66 22.1 Optimal Delay = (14.64 + 6pinv)t Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Vojin G. Oklobdzija: High-Performance System Design Example 2: LE Solution Cin = 1 C2 C3 C4 Size from output to input using fopt S1 = 1, S2 = 2.2, S3 = 6.04, S4 = 22.1 Delay Estimate Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Logical Effort for Multi-path From LE, and Minimum delay occurs when Da = Db or Fa = Fb (ignoring parasitics) Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Logical Effort for Multi-path (cont.) Branching: Ratio of total capacitance to on-path capacitance Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Logical Effort for Multi-path (cont) Substituting C0 and C3 Since Minimum Delay occurs when Da = Db or Fa = Fb Similarly Branching = 2 when Ga = Gb and Cout1 = Cout2 Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Vojin G. Oklobdzija: High-Performance System Design Example 3: Uniform Branching C6 C5 Cout2 = C5+C3 Cin = 1 C2 C4 C3 g f = gh Ci b Gate 1 1 Gate 2 5/3 10/3 1 2 Gate 3,5 4/3 1 Gate 4,6 1 81 Total Delay = (86.67 + 6pinv)t Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Vojin G. Oklobdzija: High-Performance System Design Example 3: Uniform Branching C6 C5 Cout2 = C5+C3 Cin = 1 C2 C4 C3 g f = gh Ci b Gate 1 1 4.36 Gate 2 5/3 4.36 2 Gate 3,5 4/3 4.36 5.69 1 Gate 4,6 1 4.36 18.6 Optimal Delay = (17.44 + 6pinv)t Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Vojin G. Oklobdzija: High-Performance System Design Example 3: LE Solution C6 Cout2 = C5+C3 C5 Cin = 1 C2 C3 C4 Size from output to input using fopt Delay Estimate Fall 2005 Vojin G. Oklobdzija: High-Performance System Design

Complex Multi-path Optimization If each path has internal branching, ba and bb are as follows Note: This solution and previous solution differ from that described in LE book (which is incorrect) Fall 2005 Vojin G. Oklobdzija: High-Performance System Design