VLSI Arithmetic - University of California, Davisvojin/CLASSES/EEC180A/... · Parallel Multipliers Step 0 Step 1 Step 2 Step 3 Step 4. 11 May 2004 Multiplier Design 51. 11 May 2004

Post on 04-Jun-2020

11 Views

Category:

Documents

4 Downloads

Preview:

Click to see full reader

Transcript

VLSI Arithmetic

Lecture 10:Multipliers

Prof. Vojin G. OklobdzijaUniversity of California

http://www.ece.ucdavis.edu/acsel

Multiplier Design11 May 2004 47

Multiplication

Algorithm:

in

i

iin

i

i ryXryXXYP ∑∑−

=

=

×=×==1

0

1

0

0 p)(0 =

)(1)1(j

njj Xyrpr

p +=+ for j=0,....,n-1

initially

p(n)=XY after n steps

11 May 20042

Multiplication Algorithm*

*from Parhami

11 May 20043

Multiplication Algorithm*

*from Parhami

11 May 20044

Multiplication Algorithm*

*from Parhami

11 May 20045

*from Parhami

11 May 20046

Multiplication*

*from Parhami

11 May 20047

Multiplication*

*from Parhami

Multiplier Design11 May 2004 48

11 May 200430

Generating Partial Products

*from G. Bewick

11 May 200429

Generating Partial Products

*from G. Bewick

Multiplier Design11 May 2004 49

Multiplier Design11 May 2004 52

Multiplier Design11 May 2004 50

Parallel Multipliers

Step 0

Step 1

Step 2

Step 3

Step 4

Multiplier Design11 May 2004 51

Multiplier Design11 May 2004 53

Multiplier Design11 May 2004 56

Minimum Number of Stages (Dada’s Rule)

Multiplier Design11 May 2004 58

Use of 4:2 Compressors

A. Weinberger 1981M. Santoro 1988

Multiplier Design11 May 2004 59

4:2 Compressor

Multiplier Design11 May 2004 61

Re-designed 4:2 Compressor with 3 XOR Delay (Nagamatsu, Toshiba)CinI1

I2I3I4

0

1

S

C

Cout

Multiplier Design11 May 2004 67

Title

0

2

4

6

8

10

12

14

16

18

20

22

24D

elay

(XO

R G

ates

)

0 10 20 30 40 50 60 70 80 90 100

Multiplier Width (bits)

Critical Path: (Equivalent XOR Gate Delays)

3,2 Counter

9to2 Compressor (Redesigned)

4:2 Compressor (Redesigned)

11 May 200439

Tree Multipliers

*from Parhami

11 May 200440

Reduction using 4:2 Compressors

*from G. Bewick

Multiplier Design11 May 2004 69

Use of Higher-Order Compressors

D. Villeger, V.G. Oklobdzija 1993

Multiplier Design11 May 2004 70

Design of a 13:2 Compressor from a 9:2 Compressor

Multiplier Design11 May 2004 72

Compressor Family Characteristics

Idea !!!!!

Multiplier Design11 May 2004 78

Carry Propagate Adder

Vertical Slices

Horizontal PropagationCarry and Sum Connection to the Final Adder

Partial Product Martix Divided into Vertical Compressor Slices

Multiplier Design11 May 2004 79

Example of a 12 X 12 Multiplication

1 0 1 1 0 1 0 1 0 1 0 01 0 1 1 0 1 0 1 0 1 0 0

0 0 0 0 0 0 0 0 0 0 0 01 0 1 1 0 1 0 1 0 1 0 0

1 0 1 1 0 1 0 1 0 1 0 00 0 0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0

1 0 1 1 0 1 0 1 0 1 0 01 0 1 1 0 1 0 1 0 1 0 0

0 0 0 0 0 0 0 0 0 0 0 01 0 1 1 0 1 0 1 0 1 0 0

Vertical Compressor Slice - VCS

(Partial Product for X*Y = B54 * B1B)

FA FA

FA

FA

0 0 1 1 0 1 0

FA

3-Dimensional View of Partial Product Reduction

Time

Final Adder

Multiplier Design11 May 2004 81

AB

Cin Sum

Carry

Signal Delays in a Full Adder(3,2) Counter

∗ Fast Input

♦ Fast Output

Multiplier Design11 May 2004 82

Three-Dimensional optimization Method: TDM(Oklobdzija, Villeger, Liu, 1996)

Method

Multiplier Design11 May 2004 84

sc

cina b

TDM ArrangementWorst Case

4

4

21

44

sc

cina b

24 3

6 1

1

6

3

Multiplier Design11 May 2004 85

Two cases of signals passing through the next level

0 0 0

sc

cina b

sc

cina b

sc

cina b

1

2 11

100 0

02 2

Best Balanced Case Average Case

sc

cina b

2 221 1 0

3 433

Multiplier Design11 May 2004 86

Example of a Optimized Interconnection

sc

cina b

sc

cina b

sc

cina b

sc

cina b

bit (n-1) positionbit (n) position

2 xor0 xor

1 xor

3 xor3 xor

Example of a not Optimized Interconnection

sc

cina b

sc

cina b

sc

cina b

sc

cina b

bit (n-1) positionbit (n) position

2 xor0 xor

1 xor

4 xor3 xor

Example of Delay Optimization

Multiplier Design11 May 2004 87

The 9th Vertical Compressor Slice of a Multiplier

A B

C S

A B Cin

C S

A B Cin

C S

A B Cin

C S

A B Cin

C S

A B Cin

C S

A B Cin

C S

0 0 0 0 0 0 0 0 0 .5 1 1 2 3

.5 1 11 2 22 2.5

3 3 3.5 4

5 5

Computer Tools

Competing Approaches

Their Schemes

Multiplier Design11 May 2004 97

0

2

4

6

8

10

12

14

16

18

20

22

24

Del

ay (X

OR

Lev

els)

0 20 40 60 80 100

Multiplier Width

Equivalent XOR Delays

TDM

Fadavi-Ardekani

9:2

4:2

3,2

11 May 200441

Tree Multipliers

*from Parhami

11 May 200443

Floor Plan of a Multiplier

*from G. Bewick

RECOMENDATIONS

Multiplier Design11 May 2004 122

THEEND

Hollywood

top related