Docsity

Parallel Multiplication Circuits - Lecture Slides | ECE 368, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download Parallel Multiplication Circuits - Lecture Slides | ECE 368 and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

ECE 368

CAD Based Logic Design

Lecture Notes # 13

Parallel Multiplication Circuits

S

HANTANU

D

UTT

Department of Electrical and Computer Engineering

University of Illinois, Chicago

Phone: (312) 355-1314;

e-mail: [email protected]

URL: http://www.eecs.uic.edu/

dutt

c
Shantanu Dutt

Parallel Multiplication Circuits

or Booth’s algorithm), generate the numbers to be summed Instead of doing A&S multiplication (using the straightforward scheme











simultaneously in constant time

Then, sum the

 

s in parallel using multiple adders

A possible scheme using



adders :

n−bit adder

n−bit adder

n−bit adder

n−bit adder

0

1

2

1

3

P

2

P

P

0

2n−1 to n−

n−

P

P

m

3

m

m

m

m

m 00

Does not give much time reduction:





, where

is the time to

add 2



bit numbers and can range from

 



to







to











 c

Shantanu Dutt, UIC

Parallel Multiplication (contd.)

The Array Multiplier:

Form all partial products

Now add them in a carry-save fashion:

P

P

P

2n−1 to n−

P

P

n−

m

m

m

m

m

m

CSA

CSA

CSA

CSA

Propagate Adder

u

u

u

u

u

u

u

v

v

v

v

n−
n−
n−
n−

0

 c

Shantanu Dutt, UIC

Parallel Multiplication – The Wallace-Tree Multiplier

allel in groups of 3 Instead of doing the carry-save additions linearly, we can do them in par-

be possible for division, for example) This is possible because addition is an associative operation (this won’t

 





   

10

9

8

2

2

8

P





(b) Determining CSA sizes &

0

8

8

8

   

8

   

8

   

8

   

8

   



                

                

                

                



 

lower-order product bits

               

               

             (^)   

             (^)   



   

!!!!! " " "

$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $

$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $

% % % % % % % % % % % % % % % %

% % % % % % % % % % % % % % % %

& & & & & & & & & & & & & & & &

& & & & & & & & & & & & & & & &

' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '

' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '

( ( ( ( ( ( ( ( ( ( ( ( ( ( ( (

( ( ( ( ( ( ( ( ( ( ( ( ( ( ( (

) ) ) ) ) ) ) ) ) ) ) ) ) ) ) )

) ) ) ) ) ) ) ) ) ) ) ) ) ) ) )

product bits lower-order

(higher-order bits)

Product P

4 CSA levels

(a) Wallace-Tree structure for 8-bit multiplication

P 1

P 1

0

P

, , , , , , , , , , , , , , , , , ,

, , , , , , , , , , , , , , , , , ,

...................

///////////////////

0 000000000000

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2

2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2

Propagate Adder

(CLA)

2

CSA

CSA

CSA

CSA

CSA (6-bit)

CSA (8-bit)

m 5 m 6 m 7
v

1

u

1

u

2

v

2

v

3

u

4

m
m 0 m 1 m 2 m 3 m 3

7

u

(^7)

0

m

1

m

2

m

3

m

4

v

1

u

(^1)

u
v

CSA

CSA

CSA

v

4

u

(^4)

u

5

v

6

u

(^6)

v

5

 c

Shantanu Dutt, UIC

The Wallace-Tree Multiplier (contd.)

Time Analysis:

Depth

of a Wallace tree for

bits is given by the recursive equation

if

if

if

For simplicity, suppose

is a power of 3.

Then, we are eliminating a

third of the numbers to be added every level.

Thus in level 0 we have

#’s, in level 1

, in level 2

, and finally in level

. Hence

Also, in general

 c

Shantanu Dutt, UIC

8