Docsity

Arithmetic Circuits - CMOS Design Methodologies - Lecture Slides, Slides of Computer Science

Partial preview of the text

Download Arithmetic Circuits - CMOS Design Methodologies - Lecture Slides and more Slides Computer Science in PDF only on Docsity!

Arithmetic Circuits-

Multipliers

Array multipliers

Shifters

Barrel shifter

Logarithmic shifter

Binary Multiplication

Z = X * Y

X

Yi

2 j

i+j

N-1 i=

M-1 j=

Partial products

Product

• Product = Sum of partial products

Y =

Y

i^

i

i=

X =

X

i^

i

i=

M-

N-

Multiplicand

Multiplier

Multiplication

Example:

Multiplication

Example:

Multiplication

Example:

Multiplication

Example:

The Binary Multiplication

Partial Products

AND operation

MultiplicandMultiplier

General Form

Multiplicand:

Y = (y

M-

, y

M-

, …, y

, y

Multiplier:

X = (x

N-

, x

N-

, …, x

, x

Product:

M
N
N
M
j^
i^
i^
j
j^
i^
i^
j
j^
i^
i^
j

P

y

x

x y

x^0 y 5 x^0 y 4 x^0 y 3 x^0 y 2 x y 0 1 x^0 y 0 y^5 y 4 y^3 y 2 y^1 y 0 x^5 x 4 x^3 x 2 x^1 x 0 x^1 y 5 x^1 y 4 x^1 y 3 x^1 y 2 x^1 y 1 x y 1 0 x^2 y 5 x^2 y 4 x^2 y 3 x^2 y 2 x^2 y 1 x^2 y 0 x^3 y 5 x^3 y 4 x^3 y 3 x^3 y 2 x^3 y 1 x^3 y 0 x^4 y 5 x^4 y 4 x^4 y 3 x^4 y 2 x^4 y 1 x^4 y 0 x^5 y 5 x^5 y 4 x^5 y 3 x^5 y 2 x^5 y 1 x^5 y 0 p 0 p 1 p 2 p 3 p 4 p 5 p 6 p 7 p 8 p 9 p 10 p 11

multiplicand multiplierpartialproductsproduct

The Array Multiplier

HA FA FA HA FA FA FA HA FA FA FA HA Z 1 Z 2 Z 3 Z 4 Z 5 Z 6 Z 0 Z 7 y 0 y 3 y 1 x 0 x 1 x 2 x 3 y 2 x 0 x 1 x 2 x 3 x 0 x 1 x 2 x 3 x 0 x 1 x 2 x 3

FA: Full adderHA: Half adder

(two inputs)

Propagation delay =?

The MxN Array Multiplier — Critical Path HA FA FA HA HA FA FA FA FA FA FA HA Critical Path 1Critical Path 2 Critical Path 1 & 2

Adder Cells in Array Multiplier

A B P C i V DD A A A V DD C i A P A B V DD V DD C i C i C o S C i P P P P P

Identical Delays for Carry and Sum

Multiplier Floorplan

S C S C S C S C
S C S C S C S C
S C S C S C S C
S C S C S C S C
Z

0

Z

1

Z

2

Z

3

Z

4

Z

5

Z

6

Z

7

X

0

X

1

X

2

X

3

Y

1

Y

2

Y

3

Y

0

HA Multiplier CellFA Multiplier Cell^ Vector Merging Cell
X and Y signals are broadcastedthrough the complete array.

Comparators

0’s detector:

A = 00…

1’s detector:

A = 11…

Equality comparator:

A = B

Magnitude comparator:

A < B

1’s & 0’s Detectors

1’s detector: N-input AND gate

0’s detector: NOTs + 1’s detector (N-input NOR)

A 0 A 1 A 2 A 3 A 4 A 5 A 6 A 7 allones

A

0

A

1

A

2

A

3

allzeros

allones A 1 A 2 A 3 A 4 A 5 A 6 A 7 A 0