EE141 Arithmetic Circuits 1 Chapter 14 Arithmetic Circuits Rev. 1.0 05/12/2003.

Slides:



Advertisements
Similar presentations
Feb. 17, 2011 Midterm overview Real life examples of built chips
Advertisements

Chapter 9 Computer Design Basics. 9-2 Datapaths Reminding A digital system (or a simple computer) contains datapath unit and control unit. Datapath: A.
EE141 © Digital Integrated Circuits 2nd Arithmetic Circuits 1 Digital Integrated Circuits A Design Perspective Arithmetic Circuits Jan M. Rabaey Anantha.
EE141 Adder Circuits S. Sundar Kumar Iyer.
Digital Integrated Circuits A Design Perspective
EE 382 Processor DesignWinter 98/99Michael Flynn 1 AT Arithmetic Most concern has gone into creating fast implementation of (especially) FP Arith. Under.
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE VLSI Circuit Design Lecture 24 - Subsystem.
EE141 © Digital Integrated Circuits 2nd Arithmetic Circuits 1 [Adapted from Rabaey’s Digital Integrated Circuits, ©2002, J. Rabaey et al.]
S. Reda EN160 SP’07 Design and Implementation of VLSI Systems (EN0160) Lecture 27: Datapath Subsystems 1/3 Prof. Sherief Reda Division of Engineering,
Digital Integrated Circuits 2e: Chapter Copyright  2002 Prentice Hall PTR, Adapted by Yunsi Fei ECE 300 Advanced VLSI Design Fall 2006 Lecture.
EE 141 Project 2May 8, Outstanding Features of Design Maximize speed of one 8-bit Division by: i. Observing loop-holes in 8-bit division ii. Taking.
VLSI Arithmetic Adders Prof. Vojin G. Oklobdzija University of California
CSE477 VLSI Digital Circuits Fall 2002 Lecture 20: Adder Design
IMPLEMENTATION OF µ - PROCESSOR DATA PATH
Introduction to CMOS VLSI Design Lecture 11: Adders
Introduction to VLSI Circuits and Systems, NCUT 2007 Chapter 12 Arithmetic Circuits in CMOS VLSI Introduction to VLSI Circuits and Systems 積體電路概論 賴秉樑 Dept.
Digital Design – Optimizations and Tradeoffs
Modern VLSI Design 2e: Chapter 6 Copyright  1998 Prentice Hall PTR Topics n Shifters. n Adders and ALUs.
S. Reda EN1600 SP’08 Design and Implementation of VLSI Systems (EN1600) Lecture 25: Datapath Subsystems 1/4 Prof. Sherief Reda Division of Engineering,
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE VLSI Circuit Design Lecture 23 - Subsystem.
EE466: VLSI Design Lecture 14: Datapath Functional Units.
Digital Integrated Circuits© Prentice Hall 1995 Arithmetic Arithmetic Building Blocks.
Fall 2008EE VLSI Design I - © Kia Bazargan 1 EE 5323 – VLSI Design I Kia Bazargan University of Minnesota Adders.
Spring 2006EE VLSI Design II - © Kia Bazargan 68 EE 5324 – VLSI Design II Kia Bazargan University of Minnesota Part II: Adders.
Lecture 17: Adders.
VLSI Digital System Design 1.Carry-Save, 2.Pass-Gate, 3.Carry-Lookahead, and 4.Manchester Adders.
Adders. Full-Adder The Binary Adder Express Sum and Carry as a function of P, G, D Define 3 new variable which ONLY depend on A, B Generate (G) = AB.
Lec 17 : ADDERS ece407/507.
Parallel Prefix Adders A Case Study
Bar Ilan University, Engineering Faculty
Lecture 18: Datapath Functional Units
Evolution in Complexity Evolution in Transistor Count.
VLSI Arithmetic Adders & Multipliers Prof. Vojin G. Oklobdzija University of California
1. Copyright  2005 by Oxford University Press, Inc. Computer Architecture Parhami2 Figure 10.1 Truth table and schematic diagram for a binary half-adder.
Abdullah Aldahami ( ) Feb26, Introduction 2. Feedback Switch Logic 3. Arithmetic Logic Unit Architecture a.Ripple-Carry Adder b.Kogge-Stone.
Digital Integrated Circuits Chpt. 5Lec /29/2006 CSE477 VLSI Digital Circuits Fall 2002 Lecture 21: Multiplier Design Mary Jane Irwin (
Arithmetic Building Blocks
EE141 © Digital Integrated Circuits 2nd Arithmetic Circuits 1 Digital Integrated Circuits A Design Perspective Arithmetic Circuits Reference: Digital Integrated.
Arithmetic Building Blocks
Advanced VLSI Design Unit 05: Datapath Units. Slide 2 Outline  Adders  Comparators  Shifters  Multi-input Adders  Multipliers.
1/8/ L3 Data Path DesignCopyright Joanne DeGroat, ECE, OSU1 ALUs and Data Paths Subtitle: How to design the data path of a processor.
Chapter 14 Arithmetic Circuits (I): Adder Designs Rev /12/2003
A 240ps 64b Carry-Lookahead Adder in 90nm CMOS Faezeh Montazeri Advanced VLSI Course Presentation University of Tehran December.
1 CPSC3850 Adders and Simple ALUs Simple Adders Figures 10.1/10.2 Binary half-adder (HA) and full-adder (FA). Digit-set interpretation: {0, 1}
CSE115: Digital Design Lecture 20: Comparators, Adders and Subtractors Faculty of Engineering.
July 2005Computer Architecture, The Arithmetic/Logic UnitSlide 1 Part III The Arithmetic/Logic Unit.
Modern VLSI Design 4e: Chapter 6 Copyright  2008 Wayne Wolf Topics n Shifters. n Adders and ALUs.
CDA 3101 Fall 2013 Introduction to Computer Organization The Arithmetic Logic Unit (ALU) and MIPS ALU Support 20 September 2013.
EE 466/586 VLSI Design Partha Pande School of EECS Washington State University
EE141 © Digital Integrated Circuits 2nd Arithmetic Circuits 1 Digital Integrated Circuits A Design Perspective Arithmetic Circuits Jan M. Rabaey Anantha.
COMP541 Arithmetic Circuits
Digital Integrated Circuits© Prentice Hall 1995 Arithmetic Arithmetic Building Blocks.
EE466: VLSI Design Lecture 13: Adders
CMPEN 411 VLSI Digital Circuits Spring 2009 Lecture 19: Adder Design
Digital Integrated Circuits 2e: Chapter Copyright  2002 Prentice Hall PTR, Adapted by Yunsi Fei ECE 300 Advanced VLSI Design Fall 2006 Lecture.
CPEN Digital System Design
CSE477 VLSI Digital Circuits Fall 2002 Lecture 20: Adder Design
1. 2 Figure 10.1 Truth table and schematic diagram for a binary half-adder Simple Adders Half-adder.
Sp09 CMPEN 411 L21 S.1 CMPEN 411 VLSI Digital Circuits Spring 2009 Lecture 21: Shifters, Decoders, Muxes [Adapted from Rabaey’s Digital Integrated Circuits,
CSE477 L21 Multiplier Design.1Irwin&Vijay, PSU, 2002 CSE477 VLSI Digital Circuits Fall 2002 Lecture 21: Multiplier Design Mary Jane Irwin (
EE141 Arithmetic Circuits 1 Chapter 14 Arithmetic Circuits Rev /12/2003 Rev /05/2003.
Full Adder Truth Table Conjugate Symmetry A B C CARRY SUM
CSE477 L20 Adder Design.1Irwin&Vijay, PSU, 2003 CSE477 VLSI Digital Circuits Fall 2003 Lecture 20: Adder Design Mary Jane Irwin (
Multiplier Design [Adapted from Rabaey’s Digital Integrated Circuits, Second Edition, ©2003 J. Rabaey, A. Chandrakasan, B. Nikolic]
Mary Jane Irwin ( ) CSE477 VLSI Digital Circuits Fall 2003 Lecture 22: Shifters, Decoders, Muxes Mary Jane.
Digital Integrated Circuits A Design Perspective
Review: Basic Building Blocks
Arithmetic Building Blocks
Arithmetic Circuits.
Chapter 14 Arithmetic Circuits (II): Multiplier Rev /12/2003
Presentation transcript:

EE141 Arithmetic Circuits 1 Chapter 14 Arithmetic Circuits Rev /12/2003

EE141 Arithmetic Circuits 2 A Generic Digital Processor

EE141 Arithmetic Circuits 3 Building Blocks for Digital Architectures Arithmetic unit - Bit-sliced datapath(adder, multiplier, shifter, comparator, etc.) Memory - RAM, ROM, Buffers, Shift registers Control - Finite state machine (PLA, random logic.) - Counters Interconnect - Switches - Arbiters - Bus

EE141 Arithmetic Circuits 4 An Intel Microprocessor Itanium has 6 integer execution units like this

EE141 Arithmetic Circuits 5 Bit-Sliced Design

EE141 Arithmetic Circuits 6 Bit-Sliced Datapath

EE141 Arithmetic Circuits 7 Itanium Integer Datapath Fetzer, Orton, ISSCC’02

EE141 Arithmetic Circuits 8 Adders

EE141 Arithmetic Circuits 9 Full-Adder

EE141 Arithmetic Circuits 10 The Binary Adder

EE141 Arithmetic Circuits 11 Express Sum and Carry as a function of P, G, D Define 3 new variable which ONLY depend on A, B Generate (G) = AB Propagate (P) = A  B Delete =A B Can also derive expressions for S and C o based on D and P Propagate (P) = A  B Note that we will be sometimes using an alternate definition for

EE141 Arithmetic Circuits 12 The Ripple-Carry Adder Worst case delay linear with the number of bits Goal: Make the fastest possible carry path circuit FA A 0 B 0 S 0 A 1 B 1 S 1 A 2 B 2 S 2 A 3 B 3 S 3 C i,0 C o (  C i,1 ) C o C o,2 C o,3 t d = O(N) t adder = (N-1)t carry + t sum

EE141 Arithmetic Circuits 13 Complimentary Static CMOS Full Adder 28 Transistors

EE141 Arithmetic Circuits 14 Inversion Property

EE141 Arithmetic Circuits 15 Minimize Critical Path by Reducing Inverting Stages Exploit Inversion Property

EE141 Arithmetic Circuits 16 A Better Structure: The Mirror Adder

EE141 Arithmetic Circuits 17 Mirror Adder Stick Diagram

EE141 Arithmetic Circuits 18 The Mirror Adder The NMOS and PMOS chains are completely symmetrical. A maximum of two series transistors can be observed in the carry- generation circuitry. When laying out the cell, the most critical issue is the minimization of the capacitance at node C o. The reduction of the diffusion capacitances is particularly important. The capacitance at node C o is composed of four diffusion capacitances, two internal gate capacitances, and six gate capacitances in the connecting adder cell. The transistors connected to C i are placed closest to the output. Only the transistors in the carry stage have to be optimized for optimal speed. All transistors in the sum stage can be minimal size.

EE141 Arithmetic Circuits 19 Transmission-Gate Full Adder

EE141 Arithmetic Circuits 20 Manchester Carry Chain

EE141 Arithmetic Circuits 21 Manchester Carry Chain

EE141 Arithmetic Circuits 22 Manchester Carry Chain Stick Diagram

EE141 Arithmetic Circuits 23 Carry-Bypass Adder Also called Carry-Skip

EE141 Arithmetic Circuits 24 Carry-Bypass Adder (cont.) t adder = t setup + M tcarry + (N/M-1)t bypass + (M-1)t carry + t sum

EE141 Arithmetic Circuits 25 Carry Ripple versus Carry Bypass

EE141 Arithmetic Circuits 26 Carry-Select Adder

EE141 Arithmetic Circuits 27 Carry Select Adder: Critical Path

EE141 Arithmetic Circuits 28 Linear Carry Select

EE141 Arithmetic Circuits 29 Square Root Carry Select

EE141 Arithmetic Circuits 30 Adder Delays - Comparison

EE141 Arithmetic Circuits 31 Look-ahead Adder - Basic Idea

EE141 Arithmetic Circuits 32 Look-Ahead: Topology Expanding Lookahead equations: All the way:

EE141 Arithmetic Circuits 33 Logarithmic Look-Ahead Adder

EE141 Arithmetic Circuits 34 Carry Lookahead Trees Can continue building the tree hierarchically.

EE141 Arithmetic Circuits 35 Tree Adders 16-bit radix-2 Kogge-Stone tree

EE141 Arithmetic Circuits 36 Tree Adders 16-bit radix-4 Kogge-Stone Tree

EE141 Arithmetic Circuits 37 Sparse Trees 16-bit radix-2 sparse tree with sparseness of 2

EE141 Arithmetic Circuits 38 Tree Adders Brent-Kung Tree

EE141 Arithmetic Circuits 39 Example: Domino Adder PropagateGenerate

EE141 Arithmetic Circuits 40 Example: Domino Adder PropagateGenerate

EE141 Arithmetic Circuits 41 Example: Domino Sum

EE141 Arithmetic Circuits 42 Multipliers

EE141 Arithmetic Circuits 43 Binary Multiplication Binary Multiplication

EE141 Arithmetic Circuits 44 Binary Multiplication Binary Multiplication

EE141 Arithmetic Circuits 45 Array Multiplier

EE141 Arithmetic Circuits 46 MxN Array Multiplier — Critical Path Critical Path 1 & 2

EE141 Arithmetic Circuits 47 Carry-Save Multiplier

EE141 Arithmetic Circuits 48 Multiplier Floorplan

EE141 Arithmetic Circuits 49 Wallace-Tree Multiplier

EE141 Arithmetic Circuits 50 Wallace-Tree Multiplier

EE141 Arithmetic Circuits 51 Wallace-Tree Multiplier

EE141 Arithmetic Circuits 52 Multipliers —Summary Identify Critical Paths Other Possible techniques: Data Encoding (Booth) Logarithmic v.s. Linear (Wallace Tree Multiplier) Pipelining

EE141 Arithmetic Circuits 53 Shifters

EE141 Arithmetic Circuits 54 The Binary Shifter

EE141 Arithmetic Circuits 55 The Barrel Shifter Area Dominated by Wiring

EE141 Arithmetic Circuits 56 4x4 barrel shifter Width barrel ~ 2 p m M

EE141 Arithmetic Circuits 57 Logarithmic Shifter

EE141 Arithmetic Circuits 58 A 3 A 2 A 1 A 0 Out3 Out2 Out1 Out0 0-7 bit Logarithmic Shifter

EE141 Arithmetic Circuits 59 Summary  Datapath designs are fundamentals for high- speed DSP, Multimedia, Communication digital VLSI designs.  Most adders, multipliers, division circuits are now available in Synopsys Designware under different area/speed constraint.  For details, check “Advanced VLSI” notes, or “Computer Arithmetic”