Parallel Prefix Adders A Case Study

Slides:



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

Recent Developments in Theory and Implementation of Parallel Prefix Adders Neil Burgess Division of Electronics Cardiff School of Engineering Cardiff University.
UNIVERSITY OF MASSACHUSETTS Dept
VLSI Arithmetic Adders & Multipliers
1 ECE 4436ECE 5367 Computer Arithmetic I-II. 2 ECE 4436ECE 5367 Addition concepts 1 bit adder –2 inputs for the operands. –Third input – carry in from.
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:
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.
Institute of Applied Microelectronics and Computer Engineering College of Computer Science and Electrical Engineering, University of Rostock Slide 1 Spezielle.
Fast Adders See: P&H Chapter 3.1-3, C Goals: serial to parallel conversion time vs. space tradeoffs design choices.
Fast Adders See: P&H Chapter 3.1-3, C Goals: serial to parallel conversion time vs. space tradeoffs design choices.
EE141 © Digital Integrated Circuits 2nd Arithmetic Circuits 1 [Adapted from Rabaey’s Digital Integrated Circuits, ©2002, J. Rabaey et al.]
1 CS 140 Lecture 14 Standard Combinational Modules Professor CK Cheng CSE Dept. UC San Diego Some slides from Harris and Harris.
1 A Timing-Driven Synthesis Approach of a Fast Four-Stage Hybrid Adder in Sum-of-Products Sabyasachi Das University of Colorado, Boulder Sunil P. Khatri.
EECS Components and Design Techniques for Digital Systems Lec 18 – Arithmetic II (Multiplication) David Culler Electrical Engineering and Computer.
VLSI Arithmetic Adders Prof. Vojin G. Oklobdzija University of California
1 Design of a Parallel-Prefix Adder Architecture with Efficient Timing-Area Tradeoff Characteristic Sabyasachi Das University of Colorado, Boulder Sunil.
Introduction to CMOS VLSI Design Lecture 11: Adders
VLSI Arithmetic Adders & Multipliers
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.
Lecture 17: Adders.
Lecture 12b: Adders. CMOS VLSI DesignCMOS VLSI Design 4th Ed. 17: Adders 2 Generate / Propagate  Equations often factored into G and P  Generate and.
Spring 2002EECS150 - Lec10-cl1 Page 1 EECS150 - Digital Design Lecture 10 - Combinational Logic Circuits Part 1 Feburary 26, 2002 John Wawrzynek.
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.
Introduction to CMOS VLSI Design Lecture 11: Adders David Harris Harvey Mudd College Spring 2004.
Bar Ilan University, Engineering Faculty
Abdullah Aldahami ( ) Feb26, Introduction 2. Feedback Switch Logic 3. Arithmetic Logic Unit Architecture a.Ripple-Carry Adder b.Kogge-Stone.
1 Design Space Exploration for Power-Efficient Mixed-Radix Ling Adders Chung-Kuan Cheng Computer Science and Engineering Depart. University of California,
Chapter # 5: Arithmetic Circuits
ECE 8053 – Project Fall’02 Design of 64-bit Low Power Spanning Tree Carry Lookahead Adder Presented by Suderson Soundararajan.
Design of a 32-Bit Hybrid Prefix-Carry Look-Ahead Adder
Nov 10, 2008ECE 561 Lecture 151 Adders. Nov 10, 2008ECE 561 Lecture 152 Adders Basic Ripple Adders Faster Adders Sequential Adders.
COE 202: Digital Logic Design Combinational Circuits Part 2 KFUPM Courtesy of Dr. Ahmad Almulhem.
Spring C:160/55:132 Page 1 Lecture 19 - Computer Arithmetic March 30, 2004 Sukumar Ghosh.
EE141 © Digital Integrated Circuits 2nd Arithmetic Circuits 1 Digital Integrated Circuits A Design Perspective Arithmetic Circuits Jan M. Rabaey Anantha.
COMP541 Arithmetic Circuits
Block p and g Generators. Carry Determination as Prefix Computations Two Contiguous (or Overlapping) Blocks (g’, p’) and (g’’, p’’) Merged Block (g, p)
Lecture #20 Page 1 ECE 4110– Digital Logic Design Lecture #21 Agenda 1.MSI: Carry Look-Ahead Adders Announcements 1.N/A.
Jianhua Liu1, Yi Zhu1, Haikun Zhu1, John Lillis2, Chung-Kuan Cheng1
Unrolling Carry Recurrence
Digital Integrated Circuits© Prentice Hall 1995 Arithmetic Arithmetic Building Blocks.
Computer Architecture Lecture 16 Fasih ur Rehman.
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.
1 Carry Lookahead Logic Carry Generate Gi = Ai Bi must generate carry when A = B = 1 Carry Propagate Pi = Ai xor Bi carry in will equal carry out here.
Adding the Superset Adder to the DesignWare IP Library
CPEN Digital System Design
Full Tree Multipliers All k PPs Produced Simultaneously Input to k-input Multioperand Tree Multiples of a (Binary, High-Radix or Recoded) Formed at Top.
Logical Effort of Higher Valency Adders David Harris Harvey Mudd College November 2004.
1. 2 Figure 10.1 Truth table and schematic diagram for a binary half-adder Simple Adders Half-adder.
UNIT 2. ADDITION & SUBTRACTION OF SIGNED NUMBERS.
EE141 Arithmetic Circuits 1 Chapter 14 Arithmetic Circuits Rev /12/2003 Rev /05/2003.
High Computation Mahendra Sharma. Hybrid number representation The hybrid number representations proposed are capable of bounding the maximum length of.
EE141 Arithmetic Circuits 1 Chapter 14 Arithmetic Circuits Rev /12/2003.
Full Adder Truth Table Conjugate Symmetry A B C CARRY SUM
Divide-and-Conquer Design
Adder wrap-up Lecture
ECE/CS 552: Carry Lookahead
VLSI Arithmetic Lecture 5
VLSI Arithmetic Lecture 4
Digital Integrated Circuits A Design Perspective
EFFICIENT ADDERS TO SPEEDUP MODULAR MULTIPLICATION FOR CRYPTOGRAPHY
CSE 140 Lecture 14 Standard Combinational Modules
Arithmetic Building Blocks
Arithmetic Circuits.
Presentation transcript:

Parallel Prefix Adders A Case Study Muhammad Shoaib Bin Altaf CS/ECE 755

Outline Motivation Introduction Various Tree adders Comparison Layout of Kogge-Stone Conclusion

Motivation Addition: a fundamental operation Faster, faster and faster Basic block of most arithmetic operations Address calculation Faster, faster and faster How? Ripple Carry Adder  Look Ahead Carry Select, carry Skip Good for small number of bits but… Need some change for wider adders

Propagate and Generate Logic For a full adder, define what happens to carries Generate: Cout = 1 independent of C G = A • B Propagate: Cout = C P = A  B

Prefix Adder Equations Equations often factored into G and P Generate and propagate for groups spanning i:j Base case Sum:

Notations

Ripple Carry Adder

Ripple Carry Adder

Look Ahead Basic idea

Lookahead: Topology Expanding Lookahead equations: All the way:

Logarithmic Lookahead Adder

Carry lookahead Trees This idea can be extended to build hierarchal trees

Prefix Adder Structure Implement the idea of Carry Lookahead tree

Brent-Kung Adder Stages Fan out Avoids Explosion of wires 2(logN-1) Fan out 2 Avoids Explosion of wires Odd Computation then even In any row at the most one pair

Brent-Kung Adder

Sklansky Adder Stages Fan out Large delay at end Log N Doubles at each level Large delay at end

Sklansky Adder

Kogge-Stone Adder Stages Fan out Long wires More PG cells Power Log N Fan out 2 at each stage Long wires More PG cells Power Widely Used

Kogge-Stone Adder

Han-Carlson Adder Mix of Kogge-Stone and Brent-Kung Stages Fan out Log N +1 Fan out 2 Trades logical level for wire length In any row at the most one pair

Han-Carlson Adder

Knowles Adder Using Kogge-stone and Sklansky Stages Fan out Wires Log N Fan out 3 Wires

Knowles Adder

Ladner-Fischer Adder By Combining Brent-Kung and Sklansky Stages Log N +1 Fan out N/4 +1 Wires

Ladner-Fischer Adder

Comparison Among Adders In term of delays N=16 N=32 N=64 N=128 Brent-Kung 10.4 13.7 18.1 24.9 Sklansky 13 21.6 38.2 70.8 Kogge-Stone 9.4 12.4 17 24.8 Han-Carlson 9.9 12.1 15.1 19.7 Knowles 9.7 12.7 17.3 25.1 Ladner-Fischer 11.5 14.9 18.9 Carry Incre. 15.7 27.5 46.8 84.3 If wire capacitance neglected Kogge-Stone is best Logical effort of carry propagate adders, David Harris, 2003

Valency of a Tree Valency Number of groups combine together to make larger groups Earlier examples were of valency 2 High Valency Less logic levels Each stage has grater delay Doesn’t make sense for static CMOS

Sparseness of Tree Compute Carries for blocks only Reduce Wire count Gate count Power

Implementation of KS Adder Domino Logic when performance is major concern Propagate Generate

Implementation of KS Adder Propagate Generate

Layout of KS Adder 64 bit Adder

Layout of KS Adder Area completely dominated by wires Delay Power 7.46 ns Power 26.1 mW 904 Cells with 8 levels A comparison with 3D implementation is also given

Few Observations Wire delay exceeds logic delay in many cases The wire delay increases with width of adder Effect of feature size 3D stacking can help in decreasing area, power and delay

Conclusion Fast Adders required for N>32 Irregular hybrid schemes are possible Kogge-Stone, Knowels require large number of parallel wiring tracks Large wires will increase wiring capacitances Choice is yours…. Trade off between delays and Area 3D integration can help in reducing the delays further