Vous êtes sur la page 1sur 25

National Taiwan University

Chap. 8 Datapath Units: Multiplier Design


Prof. An-Yeu Wu Undergraduate VLSI Design Course
Updated: June 12, 2002

National Taiwan University

Several Implementations of Multipliers


Array Multiplier 2s Complement Array Multiplier Serial Multiplier CSD Code String-encoding Multiplier Modified Booth-encoded Multiplier Implementation (Chap. 8.2.7.2)

A. Y. Wu

pp. 2

National Taiwan University

6-by-6 Multiplication

A. Y. Wu

pp. 3

National Taiwan University

Wallace-Tree Multiplication
FA is a ones counter: Take A, B, and C inputs and encodes them on SUM and CARRY outputs.
A 1-bit full adder (FA) provides a 3:2 compression in the number of bits. A+B+C=2C+S
pp. 4

A. Y. Wu

National Taiwan University

7-bit Wallace tree addition

A. Y. Wu

pp. 5

National Taiwan University

Ex: 66 Wallace Multiplier

A. Y. Wu

pp. 6

National Taiwan University

Example
In a 32-bit multiplier, the maximum number of partial products is 32 and the compressions are 32 22 16 12 8 6 4 3 2 => There are 9 Full-adder (FA) delays in the array

1. c.f. Array multiplier (Booth-recoded) =16 partial products to be summed up. 2. Can be used together with Booth-encoding scheme
A. Y. Wu pp. 7

National Taiwan University

Wallace Tree Multiplier


MxN Booth-encoded multiplier (IEEE JSSC, vol.1,no.2, June 1993)

A. Y. Wu

pp. 8

National Taiwan University

A typical delay distribution of the output of Wallace tree section

A. Y. Wu

pp. 9

National Taiwan University

Extension

32-bits Wallace-tree multiplier has 9 FA delays in the array Questions:


1. For a 64-bit multiplier, what is the minimum adder delay? 2. Is there any way to reduce the delay by other compression scheme?

A. Y. Wu

pp. 10

National Taiwan University

Approach:
Using 4:2 compression adder
The 4:2 compression (really 5:3) has three XOR delays in the SUM path. c.f.: Four XOR delays will be present if two adders are used

A. Y. Wu

pp. 11

National Taiwan University

Referenced Paper
A 54x54 regularly structured tree multiplier: IEEE Journal of Solid-State Circuits (vol. 27, no.9, 1992)

A. Y. Wu

pp. 12

National Taiwan University

Chap. 8.2.7.2: Implementation of Booth-encoded Multiplier

A. Y. Wu

pp. 13

National Taiwan University

Implementation: Radix-n Multiplication


Modified Booth-recoding Values Xi-1 Xi 0 0 0 0 1 1 0 0 1 1 0 0 Xi+1 0 1 0 1 0 1 OPERATION add0 add2 sub1 add1 sub1 add1 NEG 1 0 1 0 1 0 ZERO TWO 1 0 0 0 0 0 0 1 0 0 0 0

1
1

1
1

0
1

sub2
add0

1
0

0
1

1
0

A. Y. Wu

pp. 14

National Taiwan University

16*16 Booth Multiplier

A. Y. Wu

pp. 15

National Taiwan University

Array schematic

A. Y. Wu

pp. 16

National Taiwan University

Array Floorplaning

A. Y. Wu

pp. 17

National Taiwan University

First Rank Schematic

A. Y. Wu

pp. 18

National Taiwan University

Booth decoding Schematic

A. Y. Wu

pp. 19

National Taiwan University

Booth-Add-16 rank floorplan

A. Y. Wu

pp. 20

National Taiwan University

Adder rank schematic

A. Y. Wu

pp. 21

National Taiwan University

Booth gate

A. Y. Wu

pp. 22

National Taiwan University

Array adder layout

A. Y. Wu

pp. 23

National Taiwan University

Carry Propagate Adder

A. Y. Wu

pp. 24

National Taiwan University

Homework #6 (Cancelled)
Design an 8-bit Modified Booth-encoded (or String-encoding based) Wallace-tree Multiplier
1. 2. 3. 4. 5. 6.
A. Y. Wu

Draw the schematic diagram of your design. Verify your design first using C/C++ or Matlab programs. Write down the Verilog/VHDL code and perform simulation. Verify your Verilog/VHDL codes. That is,check your simulation results with the C/C++/Matlab results. Show your (1) Schematic (2) Source code (3) Simulation results in your report. Due date: June 28, 2002.
pp. 25

Vous aimerez peut-être aussi