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

Slides:



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

Introduction So far, we have studied the basic skills of designing combinational and sequential logic using schematic and Verilog-HDL Now, we are going.
CPE 626 CPU Resources: Adders & Multipliers Aleksandar Milenkovic Web:
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
CSE-221 Digital Logic Design (DLD)
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
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.
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.
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.
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.
Bar Ilan University, Engineering Faculty
Chapter 6-2 Multiplier Multiplier Next Lecture Divider
Evolution in Complexity Evolution in Transistor Count.
VLSI Arithmetic Adders & Multipliers Prof. Vojin G. Oklobdzija University of California
Digital Integrated Circuits Chpt. 5Lec /29/2006 CSE477 VLSI Digital Circuits Fall 2002 Lecture 21: Multiplier Design Mary Jane Irwin (
IKI a-Combinatorial Components Bobby Nazief Semester-I The materials on these slides are adopted from those in CS231’s Lecture Notes.
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
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.
Computer 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.
FPGA-Based System Design: Chapter 4 Copyright  2003 Prentice Hall PTR Topics n Number representation. 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.
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
1 ECE 545—Digital System Design with VHDL Lecture 1 Digital Logic Refresher Part A – Combinational Logic Building Blocks.
CSE477 VLSI Digital Circuits Fall 2002 Lecture 20: Adder Design
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.
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 (
Prof. An-Yeu Wu Undergraduate VLSI Course Updated: May 24, 2002
Swamynathan.S.M AP/ECE/SNSCT
Mary Jane Irwin ( ) CSE477 VLSI Digital Circuits Fall 2003 Lecture 22: Shifters, Decoders, Muxes Mary Jane.
VLSI Arithmetic Adders & Multipliers
Digital Integrated Circuits A Design Perspective
ARM implementation the design is divided into a data path section that is described in register transfer level (RTL) notation control section that is viewed.
Part III The Arithmetic/Logic Unit
Prof. An-Yeu Wu Undergraduate VLSI Course Updated: May 24, 2002
Prof. An-Yeu Wu Undergraduate VLSI Course Updated: May 24, 2002
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 Rev /05/2003

EE141 Arithmetic Circuits 2 A Generic Digital Processor

EE141 Arithmetic Circuits 3 Building Blocks for Digital Architectures Arithmetic and 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 Intel Microprocessor Itanium has 6 integer execution units like this

EE141 Arithmetic Circuits 5 Bit-Sliced Design

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

EE141 Arithmetic Circuits 7 Adders

EE141 Arithmetic Circuits 8 Full-Adder (FA) Generate (G) = AB Propagate (P) = A  B Delete =A B

EE141 Arithmetic Circuits 9 Boolean Function of Binary Full-Adder CMOS Implementation

EE141 Arithmetic Circuits 10 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 11 Ripple-Carry Adder Worst-case delay is linear with the number of bits 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 Critical Path Propagation delay (or critical path) is the worst-case delay over all possible input patterns A= 0001, B=1111, trigger the worst-case delay A: 0  1, and B= 1111 fixed to set up the worst- case delay transition.

EE141 Arithmetic Circuits 12 Complimentary Static CMOS Full Adder Logic effort of Ci is reduced to 2 (c.f., A and B signals) Ci is late arrival signal  near the output signal Co needs to be inverted  Slow down the ripple propagate 28 Transistors

EE141 Arithmetic Circuits 13 Inversion Property

EE141 Arithmetic Circuits 14 Minimize Critical Path by Reducing Inverting Stages Exploit Inversion Property Reduce One inverter delay in each Full-adder (FA) unit

EE141 Arithmetic Circuits 15 A Better Structure: The Mirror Adder Exploring the “Self-Duality” of the Sum and Carry functions

EE141 Arithmetic Circuits 16 Mirror Adder: Stick Diagram

EE141 Arithmetic Circuits 17 Mirror Adder Design Mirror Adder Design The NMOS and PMOS chains are completely symmetrical A maximum of two series transistors can be observed in the carry-generation circuitry  for good speed. When laying out the cell, the most critical issue is the minimization of the capacitance at node C o. 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.

EE141 Arithmetic Circuits 18 Transmission-Gate Full Adder (24T) Same delay for Sum and Carry  Multiplier design

EE141 Arithmetic Circuits 19 Manchester Carry-Chain Adder Static Circuits Dynamic Circuits

EE141 Arithmetic Circuits 20 Manchester Carry Chain

EE141 Arithmetic Circuits 21 Manchester Carry-Chain Adder

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

EE141 Arithmetic Circuits 23 Carry-Bypass Adder (cont.) t adder = t setup + M tcarry + (N/M-1)t bypass + (M-1)t carry + t sum M bits form a Section  (N/M) Bypass Stages

EE141 Arithmetic Circuits 24 Carry Ripple versus Carry Bypass Wordlength (N) > 4~8 is better for Bypass Adder

EE141 Arithmetic Circuits 25 Carry-Select Adder

EE141 Arithmetic Circuits 26 Carry Select Adder: Critical Path

EE141 Arithmetic Circuits 27 Linear Carry Select

EE141 Arithmetic Circuits 28 Square Root Carry Select N-bit adder with P stages, 1 st stage adds M bits 

EE141 Arithmetic Circuits 29 Adder Delays - Comparison

EE141 Arithmetic Circuits 30 Look-ahead Adder - Basic Idea

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

EE141 Arithmetic Circuits 32 Multipliers

EE141 Arithmetic Circuits 33 Binary Multiplication Binary Multiplication

EE141 Arithmetic Circuits 34 Binary Multiplication Binary Multiplication

EE141 Arithmetic Circuits 35 Array Multiplier

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

EE141 Arithmetic Circuits 37 Carry-Save Multiplier

EE141 Arithmetic Circuits 38 Multiplier Floorplan

EE141 Arithmetic Circuits 39 Wallace-Tree Multiplier

EE141 Arithmetic Circuits 40 Wallace-Tree Multiplier

EE141 Arithmetic Circuits 41 Wallace-Tree Multiplier

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

EE141 Arithmetic Circuits 43 Shifters

EE141 Arithmetic Circuits 44 The Binary Shifter

EE141 Arithmetic Circuits 45 The Barrel Shifter Area Dominated by Wiring

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

EE141 Arithmetic Circuits 47 Logarithmic Shifter

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

EE141 Arithmetic Circuits 49 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” textbooks