Optimal digital circuit design Mohammad Sharifkhani.

Slides:



Advertisements
Similar presentations
EE 447 VLSI Design Lecture 7: Combinational Circuits
Advertisements

Introduction to CMOS VLSI Design Combinational Circuits
Design and Implementation of VLSI Systems (EN1600)
Logic Gate Delay Modeling -1 Bishnu Prasad Das Research Scholar CEDT, IISc, Bangalore
Topics Electrical properties of static combinational gates:
Lecture 9: Combinational Circuit Design. CMOS VLSI DesignCMOS VLSI Design 4th Ed. 10: Combinational Circuits2 Outline  Bubble Pushing  Compound Gates.
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.
Combinational circuits Lection 6
Logical Effort Section Problems: P6.2 Compute the oscillation frequency of a seven-stage ring oscillator using 0.18 micron technology. Does.
Introduction to CMOS VLSI Design Combinational Circuits.
S. Reda EN1600 SP’08 Design and Implementation of VLSI Systems (EN1600S08) Lecture12: Logical Effort (1/2) Prof. Sherief Reda Division of Engineering,
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.
Logical Effort.
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE VLSI Circuit Design Lecture 13 - More about.
Outline Noise Margins Transient Analysis Delay Estimation
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.
Introduction to CMOS VLSI Design Lecture 5: Logical Effort
Lecture 4 – Logical Effort
Digital Integrated Circuits© Prentice Hall 1995 Arithmetic Arithmetic Building Blocks.
EE141 © Digital Integrated Circuits 2nd Combinational Circuits 1 Logical Effort - sizing for speed.
S. Reda EN160 SP’08 Design and Implementation of VLSI Systems (EN1600) Lecture 13: Logical Effort (2/2) Prof. Sherief Reda Division of Engineering, Brown.
Design and Implementation of VLSI Systems (EN0160)
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.
S. Reda EN160 SP’07 Design and Implementation of VLSI Systems (EN0160) Lecture 17: Static Combinational Circuit Design (1/2) Prof. Sherief Reda Division.
1 Final Exam Review. 2 word7 is high if A2 A1 A0 = 111 word0 is high if A2 A1 A0 = 000 logical effort of each input is (1+3.5)/3 per wordline output.
Cascading CMOS gates. Elettronica T A.A Digital Integrated Circuits © Prentice Hall 2003 Cascading CMOS Goal l Designing for minimum propagation.
Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 10.1 EE4800 CMOS Digital IC Design & Analysis Lecture 10 Combinational Circuit Design Zhuo Feng.
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
A comparison between different logic synthesis techniques from the digital switching noise viewpoint G. Boselli, V. Ciriani, V. Liberali G. Trucco Dept.
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.
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.
Lecture 10: Circuit Families. CMOS VLSI DesignCMOS VLSI Design 4th Ed. 10: Circuit Families2 Outline  Pseudo-nMOS Logic  Dynamic Logic  Pass Transistor.
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.
UNIVERSITY OF ROSTOCK Institute of Applied Microelectronics and Computer Science Single-Rail Self-timed Logic Circuits in Synchronous Designs Frank Grassert,
EE 466/586 VLSI Design Partha Pande School of EECS Washington State University
EEC 118 Lecture #7: Designing with Logical Effort Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation.
Digital Integrated Circuits© Prentice Hall 1995 Arithmetic Arithmetic Building Blocks.
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.
EE141 © Digital Integrated Circuits 2nd Combinational Circuits 1 A few notes for your design  Finger and multiplier in schematic design  Parametric analysis.
Project : GasP pipeline in asynchronous circuit Wilson Kwan M.A.Sc. Candidate Ottawa-Carleton Institute for Electrical & Computer Engineering (OCIECE)
Modern VLSI Design 3e: Chapter 4 Copyright  1998, 2002 Prentice Hall PTR Topics n Transistor sizing: –Spice analysis. –Logical effort.
1 Timing Closure and the constant delay paradigm Problem: (timing closure problem) It has been difficult to get a circuit that meets delay requirements.
EE141 Arithmetic Circuits 1 Chapter 14 Arithmetic Circuits Rev /12/2003.
Copyright © 2004 The McGraw-Hill Companies, Inc. All rights reserved.
Reading: Hambley Ch. 7; Rabaey et al. Sec. 5.2
Introduction to CMOS VLSI Design Chapter 4 Delay
Lecture 10: Circuit Families
Lecture 6: Logical Effort
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.
Lecture 9: Combinational Circuit Design
Lecture 6: Logical Effort
Lecture 10: Circuit Families
CS 258 Parallel Computer Architecture Lecture 5 Routing (Con’t)
COMBINATIONAL LOGIC - 2.
Presentation transcript:

Optimal digital circuit design Mohammad Sharifkhani

Outline Introduction Optimization for speed –Logical effort Optimization considering power consumption

Optimization for speed Assume we want to design a multi-stage block that does a special function –What is the best sizes of the transistors to achieve optimal speed?

Logical effort What is the best circuit topology for a function? o How large should the transistors be? o How many stages of logic give least delay? Logical Effort is a method of answering these questions: o Uses a very simple model of delay o Back of the envelope calculations and tractable optimization o Gives new names to old ideas to emphasize remarkable symmetries Who cares about logical effort? o Circuit designers waste too much time simulating and tweaking circuits o High speed logic designers need to know where time is going in their logic o CAD engineers need to understand circuits to build better tools

Example Decoder specification: o 16 word register file o Each word is 32 bits wide o Each bit presents a load of 3 unit-sized transistors o True and complementary inputs of address bits a are available o Each input may drive 10 unit-sized transistors o How many stages to use? o How large should each gate be? o How fast can the decoder operate?

Delay of a gate

Normalized delays Delay is expressed in terms of a basic delay unit, τ = 3RC, the delay of an inverter driving an identical inverter with no parasitic capacitance In a typical 600-nm process τ is about 50 ps. For a 250-nm process, τ is about 20 ps. In modern 45 nm processes the delay is approximately 4 to 5 ps.

Normalized delays Parasitic delay, p : an intrinsic delay of the gate and can be found by considering the gate driving no load Stage effort, f = gh: dependent on the load Logical effort, g: the ratio of the input capacitance of a given gate to that of an inverter capable of delivering the same output current –a constant for a particular class of gate and can be described as capturing the intrinsic properties of the gate Electrical effort, h: the ratio of the input capacitance of the load to that of the gate d = f + p

Logical effort/Electrical effort

Computing logical effort

Logical effort and parasitic delay Note: for any inverter size!

Example

Multi-stage paths It can quickly be extended to circuits composed of multiple stages. Total normalised path delay D =overall path effort, F, plus path parasitic delay P (which is the sum of the individual parasitic delays): –D = F + P Path effort, F = G x H – path logical effort G : the product of the individual logical efforts of the gates –path electrical effort H :the ratio of the load of the path to its input capacitance

Multi-stage paths

Branching effort

branching effort, b: the ratio of total capacitance being driven by the gate to the capacitance on the path of interest

Branching effort

Total delay The total delay of a path is the sum of individual effort delays f i and parasitic delays p i

Key point How to relate individual effort delays to total path effort delay? Lowest possible path delay can be found without even calculating the sizes of each gate in the path.

Gate sizing Gate sizes can be found by starting at the end of the path and working backward. Check your work by verifying that the input capacitance specification is satisfied at the beginning of the path.

Example 1

Optimal number of stages

n1 F: Path effort

Optimal number of stages For inverter chain:

Example Decoder specification: o 16 word register file o Each word is 32 bits wide o Each bit presents a load of 3 unit-sized transistors o True and complementary inputs of address bits a are available o Each input may drive 10 unit-sized transistors o How many stages to use? o How large should each gate be? o How fast can the decoder operate?

Example

Three other inputs create 8 different paths, only one of which is active: C total /C active =8

Example

g of 4 input NAND

Example

Summary

Method of Logical Effort

Limitation Logical effort is not a panacea. Some limitations include: o Chicken & egg problem –how to estimate G and best number of stages before the path is designed o Simplistic delay model –neglects effects of input slopes o Interconnect –iteration required in designs with branching and non-negligible wire C or RC –same convergence difficulties as in synthesis / placement problem o Maximum speed only –optimizes circuits for speed, not area or power under a fixed speed constraint

Conclusion Logical effort is a useful concept for thinking about delay in circuits: o Facilitates comparison of different circuit topologies o Easily select gate sizes for minimum delay o Circuits are fastest when effort delays of each stage are equal and about 4 o Path delay is insensitive to modest deviations from optimal sizes Some further results from logical effort include: o Logical effort can be applied to domino, pass gate, and other logic families o Logic gates can be skewed to favor one input or edge at the cost of another o While the logical effort of a multiplexer is independent of the number of inputs, parasitic delay increases with size, so 4-way multiplexers are best o Circuits that fork should equalize delays between legs of the fork