University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences. Homework #9 Solution

Similar documents
BCD Adder. Lecture 21 1

Arithmetic Circuits. (Part II) Randy H. Katz University of California, Berkeley. Fall Overview BCD Circuits. Combinational Multiplier Circuit

Structural VHDL Implementation of Wallace Multiplier

Digital Integrated CircuitDesign

NOVEL HIGH SPEED IMPLEMENTATION OF 32 BIT MULTIPLIER USING CSLA and CLAA

An Optimized Wallace Tree Multiplier using Parallel Prefix Han-Carlson Adder for DSP Processors

TABLE 3-2 Truth Table for Code Converter Example

Serial Addition. Lecture 29 1

EECS150 - Digital Design Lecture 23 - Arithmetic and Logic Circuits Part 4. Outline

CSE 370 Winter Homework 5 Solutions

Implementing Multipliers with Actel FPGAs

Combinational Circuits DC-IV (Part I) Notes

Datapath Components. Control vs. Datapath, Registers, Adders (Binary Addition) Copyright (c) 2012 Sean Key

CHAPTER 1 INTRODUCTION

Computer Arithmetic (2)

ENHANCING SPEED AND REDUCING POWER OF SHIFT AND ADD MULTIPLIER

[Krishna, 2(9): September, 2013] ISSN: Impact Factor: INTERNATIONAL JOURNAL OF ENGINEERING SCIENCES & RESEARCH TECHNOLOGY

CLAA, CSLA and PPA based Shift and Add Multiplier for General Purpose Processor

Chapter 11. Digital Integrated Circuit Design II. $Date: 2016/04/21 01:22:37 $ ECE 426/526, Chapter 11.

Modified Booth Multiplier Based Low-Cost FIR Filter Design Shelja Jose, Shereena Mytheen

PUBLICATIONS OF PROBLEMS & APPLICATION IN ENGINEERING RESEARCH - PAPER CSEA2012 ISSN: ; e-issn:

CHAPTER 5 DESIGN OF COMBINATIONAL LOGIC CIRCUITS IN QCA

UNIT-IV Combinational Logic

Wallace and Dadda Multipliers. Implemented Using Carry Lookahead. Adders

FPGA Implementation of Wallace Tree Multiplier using CSLA / CLA

International Journal of Engineering Research-Online A Peer Reviewed International Journal Articles available online

Design and Characterization of 16 Bit Multiplier Accumulator Based on Radix-2 Modified Booth Algorithm

AN INTRODUCTION TO ERROR CORRECTING CODES Part 2

High Speed Non Linear Carry Select Adder Used In Wallace Tree Multiplier and In Radix-4 Booth Recorded Multiplier

IJCSIET--International Journal of Computer Science information and Engg., Technologies ISSN

Unit 3. Logic Design

An Optimized Implementation of CSLA and CLLA for 32-bit Unsigned Multiplier Using Verilog

A New network multiplier using modified high order encoder and optimized hybrid adder in CMOS technology

Mahendra Engineering College, Namakkal, Tamilnadu, India.

High Speed Binary Counters Based on Wallace Tree Multiplier in VHDL

CHAPTER 4 ANALYSIS OF LOW POWER, AREA EFFICIENT AND HIGH SPEED MULTIPLIER TOPOLOGIES

4:Combinational logic circuits. 3 July

DESIGN OF EFFICIENT MULTIPLIER USING ADAPTIVE HOLD LOGIC

Design of Baugh Wooley Multiplier with Adaptive Hold Logic. M.Kavia, V.Meenakshi

Reduced Complexity Wallace Tree Mulplier and Enhanced Carry Look-Ahead Adder for Digital FIR Filter

ISSN:

Data output signals May or may not be same a input signals

First Name: Last Name: Lab Cover Page. Teaching Assistant to whom you are submitting

High Performance Low-Power Signed Multiplier

A New Architecture for Signed Radix-2 m Pure Array Multipliers

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad

Binary Continued! November 27, 2013

Dr. Nicola Nicolici COE/EE2DI4 Midterm Test #1 Oct 18, 2006

Design of a Power Optimal Reversible FIR Filter for Speech Signal Processing

DESIGN OF LOW POWER MULTIPLIERS

DIGITAL DESIGN WITH SM CHARTS

Digital Electronics 8. Multiplexer & Demultiplexer

Design and Analysis of Row Bypass Multiplier using various logic Full Adders

Design of a Power Optimal Reversible FIR Filter ASIC Speech Signal Processing

On Built-In Self-Test for Adders

Design and Implementation of Scalable Micro Programmed Fir Filter Using Wallace Tree and Birecoder

An Optimized Design for Parallel MAC based on Radix-4 MBA

Design of Efficient 64 Bit Mac Unit Using Vedic Multiplier

CS302 Digital Logic Design Solved Objective Midterm Papers For Preparation of Midterm Exam

AN EFFICIENT APPROACH TO MINIMIZE POWER AND AREA IN CARRY SELECT ADDER USING BINARY TO EXCESS ONE CONVERTER

WEEK 4.1. ECE124 Digital Circuits and Systems Page 1

CHAPTER 3 ANALYSIS OF LOW POWER, AREA EFFICIENT AND HIGH SPEED ADDER TOPOLOGIES

Comparison of Conventional Multiplier with Bypass Zero Multiplier

Multiplier Design and Performance Estimation with Distributed Arithmetic Algorithm

Computer Organization and Components

ISSN Vol.02, Issue.11, December-2014, Pages:

Low Power Dissipation in BIST Schemes for Modified Booth Multipliers

EECS150 - Digital Design Lecture 2 - Synchronous Digital Systems Review Part 1. Outline

IMPLEMENTATION OF AREA EFFICIENT AND LOW POWER CARRY SELECT ADDER USING BEC-1 CONVERTER

Adder (electronics) - Wikipedia, the free encyclopedia

Topic Notes: Digital Logic

UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering. Digital Computer Arithmetic ECE 666

IES Digital Mock Test

A Novel High-Speed, Higher-Order 128 bit Adders for Digital Signal Processing Applications Using Advanced EDA Tools

Keywords , IJARCSSE All Rights Reserved Page Lecturer, EN Dept., DBACER,

Implementation of a High Speed and Power Efficient Reliable Multiplier Using Adaptive Hold Technique

(CSC-3501) Lecture 6 (31 Jan 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering. Digital Computer Arithmetic ECE 666

DESIGN OF FIR FILTER ARCHITECTURE USING VARIOUS EFFICIENT MULTIPLIERS Indumathi M #1, Vijaya Bala V #2

ISSN Vol.04, Issue.06, June-2016, Pages:

Comparison of Multiplier Design with Various Full Adders

High performance Radix-16 Booth Partial Product Generator for 64-bit Binary Multipliers

Logic Design I (17.341) Fall Lecture Outline

Design, Implementation and performance analysis of 8-bit Vedic Multiplier

Adder Comparator 7 segment display Decoder for 7 segment display D flip flop Analysis of sequential circuits. Sequence detector

Implementation of 32-Bit Unsigned Multiplier Using CLAA and CSLA

DESIGN OF HIGH PERFORMANCE MODIFIED RADIX8 BOOTH MULTIPLIER

Performance Analysis of Multipliers in VLSI Design

International Journal of Advance Engineering and Research Development

EE 42/100 Lecture 24: Latches and Flip Flops. Rev A 4/14/2010 (8:30 PM) Prof. Ali M. Niknejad

CHAPTER 2 LITERATURE SURVEY

Hybrid Modified Booth Encoded Algorithm-Carry Save Adder Fast Multiplier

Datapath Components. Multipliers, Counters, Timers, Register Files

DESIGN OF BINARY MULTIPLIER USING ADDERS

Computer Hardware Engineering (IS1200) Computer Organization and Components (IS1500) Fall 2017 Lecture 7: Combinational Logic

Timing and Power Optimization Using Mixed- Dynamic-Static CMOS

Digital Systems Design

A NOVEL IMPLEMENTATION OF HIGH SPEED MULTIPLIER USING BRENT KUNG CARRY SELECT ADDER K. Golda Hepzibha 1 and Subha 2

Review of Booth Algorithm for Design of Multiplier

EECS150 - Digital Design Lecture 28 Course Wrap Up. Recap 1

Transcription:

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer ciences EEC5 pring 2 J. Wawrzynek E. Caspi Homework #9 olution 5.3 A hierarchical carry lookahead adder () uses several key computations. With s, these computations are: (a) Given A -3, B -3 P -3, G -3 take gate delay (Katz. Fig. 5.) (b) Given C, P -3, G -3 C -4 takes 2 gate delays (Katz. Fig. 5.2) (c) Given C, P -3, G -3-3 takes 3 gate delays (Katz. Fig. 5.2) (d) Given P -3 P () takes gate delay (Katz p. 254) (e) Given P -3, G -3 G () takes 2 gate delay (Katz p. 254) In Katz Figure 4, each of the top "Adders" implements (a) (b) (c), whereas the bottom "Lookahead Carry Unit" implements (b), (d), and (e). The timing for (b) is a bit more subtle than shown above, since C takes 2 gate delays past C and P but only gate delay past G. Computations (d) and (e) create the group propagate and generate signals. We denote the first-level group signals with a superscript: (). In a hierarchy, second-level group signals (P (2), G (2) ) are computed from the first-level ones (P () -3, G () -3) using another "Lookahead Carry Unit." Thus we add second-level computations: (f) Given C (), P () -3, G () -3 C (2) -4 takes 2 gate delays (g) Given P () -3 P (2) takes gate delays (h) Given P () -3, G () -3 G (2) takes 2 gate delays And similarly, third-level computations: (i) Given C (2), P (2) -3, G (2) -3 C (3) -4 takes 2 gate delays (j) Given P (2) -3 P (3) takes gate delays (k) Given P (2) -3, G (2) -3 G (3) takes 2 gate delays A three-level hierarchy of s makes a 6 adder (4 3 =64). The following page shows a block diagram for such an adder. The arrival time t of each signal is denoted by "@t". Note that we do not actually need the results of (h), but they are present for symmetry.

@4 @7 @8 @8 @9 @ @ @ @ @2 @2 @2 @ @2 @2 @2 C@4 G@7 P@4 C@ C@6 Lookahead Carry Unit Lookahead Carry Unit Lookahead Carry Unit Lookahead Carry Unit Lookahead Carry Unit

5.4 A 6-bit carry-select adder using three 8-bit s is shown below. According to Katz' timing analysis for s, an 8-bit emits Carry and um after 3 and 4 gate delays, respectively. The critical path of this carry-select structure is 6 gate delays, namely 4 for the left s' sums plus 2 for the multiplexers. Critical path comparison: 6-bit carry-select adder: 6 gate delays 6-bit hierarchical (Katz Figure 5.4): 8 gate delays 6-bit ripple-carry adder (Katz p.256): 32 gate delays A[5:8] B[5:8] A[7:] B[7:] 8-bit 8-bit C in [5:8] [7:] A[5:8] B[5:8] 8-bit [5:8] [5:8] [7:] Katz' analysis ignores the increased delay of high fan-in gates; a more realistic estimate is 7- gate delays, since certain gates in Katz' Figure 5.2 would need 9 inputs and a tree implementation.

5.25 The array multiplier of Katz Figure 5.29 uses carry-save addition between rows but omits any final ripple-carry stage. In the following calculation, we include such a stage, since the multiplier cannot function without it. We trace the multiplication 3=43, or in binary: (A= 2 ) (B= 2 )=( 2 ). A 3= A 2= A = A = B = B = B 2= B 3= 5.27 A full adder (FA) has 2 gate delays for um and Carry output. The longest path in Katz Figure 5.28 is through 6 FAs, e.g. on the right/bottom periphery. Together with the partial-product AND gates, this makes a critical path of 3 gate delays.

Bit-erial Multiplier An n n bit-serial multiplier computes and adds one partial-product (PP) bit at a time using a single full adder (FA). The PP bits are computed in order: A B, A B,, A n B, A B, A B,, A n B,, A B n, A B n,, A n B n. This is equivalent to scanning the array of Figure 5.29 from top-row to bottom-row, right to left. The trick is to plug the bit-serial adder from 4/6/ lecture into the shift-add multiplier of the same lecture (both shown below). In the solution shown here, the product register "P" of the multiplier also serves as the resultant register "R" of the adder. Registers "A," "B," and "P" are n-bit right-shift registers. The n-bit multiplexer of the multiplier, once shrunk to single-bit width, can be replaced by an AND gate. The circuit requires n(n+) cycles to compute A B. This is 2 cycles in the case of a 4 4 multiplier. sel P B Control algorithm: P A multiplicand B multiplier Do n times: Carry Do n times: Carry FF Add in FA: (A LB AND B LB ) + P LB + Carry Carry FA Co Right-shift P, shifting in FA sum (sel=) Right-rotate A Right-shift P and B together into B shift P LB into P shift Carry (sel=) Result is in {P,B} FA Co sum A Bit-serial multiplier