Adder wrap-up Lecture 14 2017.

Slides:



Advertisements
Similar presentations
UNIVERSITY OF MASSACHUSETTS Dept
Advertisements

Carry Lookahead Homework
ECE2030 Introduction to Computer Engineering Lecture 13: Building Blocks for Combinational Logic (4) Shifters, Multipliers Prof. Hsien-Hsin Sean Lee School.
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.
DPSD This PPT Credits to : Ms. Elakya - AP / ECE.
CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Winter 2004 Lecture 4.
1 Design of 8- Bit ALU Neelam Chaudhari Archana Mulukutla Namita Mittal Madhumita Sanyal Advisor : Dr. David Parent Date : May 8, 2006.
Computer Structure - The ALU Goal: Build an ALU  The Arithmetic Logic Unit or ALU is the device that performs arithmetic and logical operations in the.
Introduction to CMOS VLSI Design Lecture 11: Adders
ECE 301 – Digital Electronics
Lecture 12b: Adders. CMOS VLSI DesignCMOS VLSI Design 4th Ed. 17: Adders 2 Generate / Propagate  Equations often factored into G and P  Generate and.
Adders.
Parallel Prefix Adders A Case Study
Fall 2004EE 3563 Digital Systems Design EE 3563 Comparators  Comparators determine if two binary inputs are equal  Some will signal greater than/less.
Chapter 6-1 ALU, Adder and Subtractor
Course contents Chapter 1 - section 1.6 Chapter 2 - all sections Chapter – 4.7, and 4.12 Chapter , Chapter 6 - all sections.
Design of a 32-Bit Hybrid Prefix-Carry Look-Ahead Adder
Number Systems and Circuits for Addition Lecture 5 Section 1.5 Thu, Jan 26, 2006.
Computer Architecture Lecture 3 Combinational Circuits Ralph Grishman September 2015 NYU.
Computer Architecture Lecture 16 Fasih ur Rehman.
ECE 331 – Digital System Design Multi-bit Adder Circuits, Adder/Subtractor Circuit, and Multiplier Circuit (Lecture #12)
EE466: VLSI Design Lecture 13: Adders
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.
COMBINATIONAL LOGIC.
Number Systems and Circuits for Addition – Binary Adders Lecture 6 Section 1.5 Fri, Jan 26, 2007.
Verilog hdl – II.
1. 2 Figure 10.1 Truth table and schematic diagram for a binary half-adder Simple Adders Half-adder.
ECE 3110: Introduction to Digital Systems Chapter 5 Combinational Logic Design Practices Adders,subtractors, ALUs.
Lecture 3 ALU and Carry Generator using FPGA 2007/09/21 Prof. C.M. Kyung.
Area- and Power-Reduced Standard-Cell Spanning Tree Adders
Combinational Circuits
Somet things you should know about digital arithmetic:
Lecture 12 Logistics Last lecture Today HW4 due today Timing diagrams
Conditional-Sum Adders Parallel Prefix Network Adders
CSE241A VLSI Digital Circuits Winter 2003 Recitation 2
Swamynathan.S.M AP/ECE/SNSCT
Divide-and-Conquer Design
Space vs. Speed: Binary Adders
CS231: Computer Architecture I
Exercise: Add these two single precision IEEE 754 numbers: … …0 Left number: 1.101x24 Right number: 1.011x 22= x24.
Summary Half-Adder Basic rules of binary addition are performed by a half adder, which has two binary inputs (A and B) and two binary outputs (Carry out.
ECE/CS 552: Carry Lookahead
VLSI Arithmetic Lecture 5
Combinational Circuits
Digital Building Blocks
ECE 331 – Digital System Design
CSE Winter 2001 – Arithmetic Unit - 1
VLSI Arithmetic Lecture 8
Lecture 14 Logistics Last lecture Today
Digital Integrated Circuits A Design Perspective
Digital Logic & Design Dr. Waseem Ikram Lecture No. 16.
Number Systems and Circuits for Addition
CS 140 Lecture 14 Standard Combinational Modules
Review: Basic Building Blocks
Part III The Arithmetic/Logic Unit
FIGURE 1: SERIAL ADDER BLOCK DIAGRAM
CSE 140 Lecture 14 Standard Combinational Modules
Instructor: Alexander Stoytchev
Instructor: Mozafar Bag-Mohammadi University of Ilam
Instructor: Alexander Stoytchev
Lecture 14 Logistics Last lecture Today
Combinational Circuits
ECE 352 Digital System Fundamentals
CS231: Computer Architecture I
XOR Function Logic Symbol  Description  Truth Table 
Arithmetic Building Blocks
Arithmetic Circuits.
Lecture 3 Combinational units. Adders
Presentation transcript:

Adder wrap-up Lecture 14 2017

Purpose of todays lecture To learn how to design a 32-bit adder/subtractor where all sum cells have received their incoming carry signals after only 5 AND-OR delay units! Will be synthesized in Methods course. The 5 units delay is to be compared to the delay of a ripple-carry adder: 31 AND-OR units delay, see figure below. Or a ripple-carry lookahead adder with 17 AND-OR unit delays a8:1 b8:1 a16:9 b16:9 a24:17 b24:17 a32:25 b32:25 Sum8:1 Sum16:9 Sum24:17 Sum32:25 + + + + cout cin October 2017 Introduction to Integrated Circuit Design

Introduction to Integrated Circuit Design Ripple-carry timing And that you have made yourself familiar with the timing of such a ripple-carry adder. October 2017 Introduction to Integrated Circuit Design

32-bit carry skip adder Identify worst-case propagation delay for 32-bit adder! For N-bit adder built with k n-bit blocks! cout + ADD/SUB logic Bit P, G P8:1 cin P16:9 P24:17 P32:25 a8:1 b8:1 a16:9 b16:9 a24:17 b24:17 a32:25 b32:25 Sum8:1 Sum16:9 Sum24:17 Sum32:25 1 tpg Determine the worst case delay! The delay between the generation of a carry in the least significant bit (LSB) until the most significant SUM is calculated!! October 2017 Introduction to Integrated Circuit Design

32-bit carry skip adder Identify worst-case propagation delay for 32-bit adder! For N-bit adder built with k n-bit blocks! cout + ADD/SUB logic Bit P, G P8:1 cin P16:9 P24:17 P32:25 a8:1 b8:1 a16:9 b16:9 a24:17 b24:17 a32:25 b32:25 Sum8:1 Sum16:9 Sum24:17 Sum32:25 1 tpg Determine the worst case delay! The delay between the generation of a carry in the least significant bit (LSB) until the most significant SUM is calculated!! October 2017 Introduction to Integrated Circuit Design

Carry-lookahead adder DELAY = tpg(n) = log2(n)*tAO= 3 tAO for n=8 a32:25 b32:25 a24:17 b24:17 a16:9 b16:9 a8:1 b8:1 tpg(n) ADD/SUB logic Bit P, G ADD/SUB logic Bit P, G ADD/SUB logic Bit P, G ADD/SUB logic Bit P, G tpg & ≥1 G32:25 P32:25 & ≥1 G24:17 P24:17 & ≥1 G16:9 P16:9 & ≥1 G8:1 P8:1 cout cin + + + + Sum32:25 Sum24:17 Sum16:9 Sum8:1 October 2017 Introduction to Integrated Circuit Design

Carry-lookahead adder timing 16:0 15:0 14:0 13:0 12:0 11:0 10:0 9:0 8:0 7:0 6:0 5:0 4:0 3:0 2:0 1:0 0:0 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 October 2017 Introduction to Integrated Circuit Design

Introduction to Integrated Circuit Design Binary trees g(i:k)=g(i:j)+p(i:j)g(j:k) p(i:k)=p(i:j)p(j:k) g(i:j) p(i:j) g(j:k) p(j:k) The “dot operator” G7 P7 G5 P5 G4 P4 G3 P3 G2 P2 G1 P1 G8 P8 G6 P6 G2:1 P2:1 G6:1 P6:1 G4:1 P4:1 G8:1 P8:1 G3:1 P3:1 G7:1 P7:1 G5:1 P5:1 & P3 P2:1 P4 P4:1 P3:1 P2 P1 & P5 P6 P7 P8 P6:5 P8:7 P2 P4 P1 P3 P2:1 P4:3 P4:1 P8:5 P8:1 G7 P7 G5 P5 G4 P4 G3 P3 G2 P2 G1 P1 G8 P8 G6 P6 G2:1 P2:1 G6:5 P6:5 G4:3 P4:3 G8:7 P8:7 G4:1 P4:1 G8:5 P8:5 G8:1 P8:1 Show that October 2017 Introduction to Integrated Circuit Design

Introduction to Integrated Circuit Design Sklansky adder 16:0 15:0 14:0 13:0 12:0 11:0 10:0 9:0 8:0 7:0 6:0 5:0 4:0 3:0 2:0 1:0 0:0 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1←CIN Logic levels L=4 Extra levels l=0 Fanout 2f+1=9 f=3 Wire tracks 2t=1 t=0 l+f+t=L-1=3 (0, 3, 0) Determine the worst case delay! October 2017 Introduction to Integrated Circuit Design

Introduction to Integrated Circuit Design Ladner-Fischer adder 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1←CIN Logic levels L=5 Extra levels l=1 Fanout 2f+1=5 f=2 Wire tracks 2t=1 t=0 l+f+t=L-1=3 (1, 2, 0) 16:0 15:0 14:0 13:0 12:0 11:0 10:0 9:0 8:0 7:0 6:0 5:0 4:0 3:0 2:0 1:0 0:0 October 2017 Introduction to Integrated Circuit Design

Introduction to Integrated Circuit Design Kogge-Stone adder 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1←CIN Logic levels L=4 Extra levels l=0 Fanout 2f+1=2 f=0 Wire tracks 2t=8 t=3 l+f+t=L-1=3 (0, 0, 3) 16:0 15:0 14:0 13:0 12:0 11:0 10:0 9:0 8:0 7:0 6:0 5:0 4:0 3:0 2:0 1:0 0:0 October 2017 Introduction to Integrated Circuit Design

Introduction to Integrated Circuit Design Han-Carlson adder 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1←CIN Logic levels L=5 Extra levels l=1 Fanout 2f+1=2 f=0 Wire tracks 2t=4 t=2 l+f+t=L-1=3 (1, 0, 2) 16:0 15:0 14:0 13:0 12:0 11:0 10:0 9:0 8:0 7:0 6:0 5:0 4:0 3:0 2:0 1:0 0:0 October 2017 Introduction to Integrated Circuit Design

Introduction to Integrated Circuit Design Brent-Kung adder 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 CIN Logic levels L=6 Extra levels l=3 Fanout 2f+1=2 f=0 Wire tracks 2t=1 t=0 l+f+t=L-1=3 (3, 0, 0) 16:0 15:0 14:0 13:0 12:0 11:0 10:0 9:0 8:0 7:0 6:0 5:0 4:0 3:0 2:0 1:0 0:0 October 2017 Introduction to Integrated Circuit Design

Introduction to Integrated Circuit Design Tree Adder Taxonomy Extra logic levels Extra fanout Extra wire tracks October 2017 Introduction to Integrated Circuit Design

Introduction to Integrated Circuit Design Tree Adder Taxonomy Extra logic levels Extra fanout Extra wire tracks October 2017 Introduction to Integrated Circuit Design

Home ssignment 3 adder task October 2017 Introduction to Integrated Circuit Design

64/32-bit Reconfigurable Intel adder ISSCC 2004 (paper 8.7) A 4GHz 300mW 64b Integer Execution ALU with Dual Supply Voltages in 90 nm CMOS, Sanu Mathew, Mark Anders, Brad Bloechel, Trang Nguyen, Ram Krishnamurthy, Shekhar Borkar, Intel, Hillsboro, OR October 2017 Introduction to Integrated Circuit Design

Introduction to Integrated Circuit Design Summary After this interactive lecture you will know about Carry-skip adders, carry-lookahead adders and prefix-tree adders like Sklansky adders, etc. You can identify the worst-case propagation delay for N-bit carry-skip and carry-lookahead adders built from k n-bit blocks You can identify the worst-case delay for prefix-tree adders like Sklansky adders. Using the same principles, you should also be able to do so for the unknown prefix-tree adder in home assignment 3. Using the same principles, you should also be able to do so in the written exam for some of the other prefix-tree adders like Brent-Kung and Ladner-Fischer. October 2017 Introduction to Integrated Circuit Design

Introduction to Integrated Circuit Design Q & A October 2017 Introduction to Integrated Circuit Design