Baugh Wooley
Baugh Wooley
Baugh Wooley
Y = y3 2 + y j 2
3 j= 0
P = p7 2 + pi 2i
7 i=0
= x 3y 3 2 +
6
i = 0 j= 0
xi y j 2
i+ j
xi y3 2
i =0
i +3
x 3y j 2 j+ 3
j= 0
Note that the first two terms are positive summands while the second two terms are negative summands. However, instead of subtracting, we can add the twos complements of those two terms. 2011 by Gerald E. Sobelman 34
VLSI Design
Instead of subtracting this, we can add its twos complement, which can be computed as the ones complement plus 1:
2 [ 1 2 + 1 2 +
3 4 3
i=0
x i y 3 2 i + 1]
2 i + 1] = 2 3[ 2 3 + ( 2 3 1) + 1] = 0
i=0
x i 2 i + 1]
35
Ref: K. Hwang, Computer Arithmetic: Principles, Architecture and Design, John Wiley, 1979.
VLSI Design
2 [ 2 + y 3 + y 3 2 + x i y 3 2 i ]
3 3 3 i=0
We can check this as follows: For y3 = 0, this reduces to: 2 3 [ 2 3 + 2 3 ] = 0 For y3 = 1, this reduces to: 2 [ 2 + 1 + x i 2 i ]
3 3 i=0 2