Professional Documents
Culture Documents
Cout
Full Cin
Adder
si
Carry-Propagate: pi ai bi
and Carry-Generate gi
g i a i bi
c ou t
c in
One-bit adder could be
implemented as shown
VLSI Arithmetic si 4
High-Speed Addition
ci 1 g i pi ci
ai bi
g i ai bi pi ai bi
0
c o ut
s 1 c in
VLSI Arithmetic 6
The Ripple-Carry Adder
A0 B0 A1 B1 A2 B2 A3 B3
S0 S1 S2 S3
Ci FA Co Ci FA Co
S S
S A B C i = S A B Ci
C o A B C i = Co A B Ci
From Rabaey
VLSI Arithmetic 8
Minimize Critical Path by Reducing Inverting Stages
A1 B1 A3 B3
A0 B0 A2 B2
S0 S2
S1 S3
VLSI Arithmetic 10
Carry-Select Adder
O. J. Bedrij, “Carry-Select Adder”, IRE
Transactions on Electronic Computers, June
1962, p.340-34
VLSI Arithmetic 11
Carry-Select Adder
Addition under assumption of Cin=0 and Cin =1.
VLSI Arithmetic 13
Carry-Skip Adder
MacSorley, Proc IRE 1/61
Lehman, Burla, IRE Trans on Comp, 12/61
VLSI Arithmetic 14
Carry-Skip Adder
P0 G1 P0 G1 P2 G2 P3 G3
P0 G1 P0 G1 P2 G2 P3 G3
BP=P oP1 P2 P3
Ci,0 C o,0 Co,1 C o,2
FA FA FA FA
Multiplexer
Co,3
Bypass
Idea: If (P0 and P1 and P2 and P3 = 1)
From Rabaey
then C o3 = C 0, else “kill” or “generate”.
VLSI Arithmetic 15
Carry-Skip Adder:
N-bits, k-bits/group, r=N/k groups
S N-1 S S (r-1)k-1 S S Sk S S
N -k-1 (r-2)k 2k-1 k-1 0
P r-1 P r-2 P1 P0
...
AND AND AND AND
critical path, delay =2(k-1 )+(N /2-2)
VLSI Arithmetic 16
Carry-Skip Adder
tp
ripple adder
bypass adder
N
t d 2k 1t RCA 2 t SKIP
2k
4..8
N
VLSI Arithmetic 17
Carry-Lookahead Adder
(Weinberger and Smith)
VLSI Arithmetic 18
Carry-Lookahead Adder
(Weinberger and Smith)
ci 1 ai bi ci ai bi ci ai bi g i pi ci
c i 2 g i 1 p i 1 c i 1
g i 1 p i 1 ( g i p i c1 )
g i 1 p i 1 g i p i 1 p i c1
ci 3 g i 2 pi 2 ci 2
g i 2 pi 2 ( g i 1 pi 1 g i pi 1 pi ci )
g i 2 pi 2 g i 1 pi 2 pi 1 g i pi 2 pi 1 pi ci
VLSI Arithmetic 19
Carry-Lookahead Adder
G j g i 3 pi 3 g i 2 pi 3 pi 2 g i 1 pi 3 pi 2 pi 1c j
Pj pi 3 pi 2 pi 1 pi a i+3 b i+3 a i+2 b i+2 a i+1 b i+1 ai bi
One gate delay Cin Cj
to calculate p, g g i+1p i+1 g i+1p i+1 g i+1p i+1 gi pi
C 4(j+1) C 4j
G* P*
C 28 C 24 C 20 C 12 C8 C4
C in
C 16
C out C in
C ritical pa th delay = (for gi,pi)+2x2 (for G ,P )+3x2 (fo r C in )+1 X O R - (fo r S um ) = a ppx. 12 o f d elay
VLSI Arithmetic 22
Carry-Lookahead Adder
(Weinberger and Smith: original derivation )
VLSI Arithmetic 23
Carry-Lookahead Adder
(Weinberger and Smith: original derivation )
VLSI Arithmetic 24