Documente Academic
Documente Profesional
Documente Cultură
Adder Topologies
Grer zbek
ITU VLSI Laboratories
Istanbul Technical University
1
www.vlsi.itu.edu.tr
07.12.2013
Outline
2
www.vlsi.itu.edu.tr
07.12.2013
Adder Topologies
Half Adder
Full Adder
Brent Kung
Sklansky
Kogge-Stone
Ladner-Fischer
Knowles
Han-Carlson
Sparse Tree
3
www.vlsi.itu.edu.tr
07.12.2013
B
C
S
AB etc.
4
www.vlsi.itu.edu.tr
07.12.2013
Half Adder
S A B
Cout
S
Cout A.B
Cout
5
www.vlsi.itu.edu.tr
07.12.2013
Full Adder
Ci
Co
S A B Ci
Cout MAJ ( A, B, Ci )
Cout
Ci
S
6
www.vlsi.itu.edu.tr
07.12.2013
Cout
+
SN...1
Cout
Cin
00000
1111
+0000
1111
Cin
Cout
11111
1111
+0000
0000
Cin
carries
A4...1
B4...1
S4...1
7
www.vlsi.itu.edu.tr
07.12.2013
B4
Cout
A3
B3
C3
S4
A2
B2
C2
S3
A1
B1
Cin
C1
S2
S1
8
www.vlsi.itu.edu.tr
07.12.2013
Cin
B1
B2
B3
B4
A1
A2
A3
A4
S1
S2
S3
S4
Cout
9
www.vlsi.itu.edu.tr
07.12.2013
A4
B4
Cout
A3
B3
C3
MINORITY
A2
B2
C2
A1
B1
Cin
C1
S4
S3
S2
S1
C
Cout
Cout
10
www.vlsi.itu.edu.tr
07.12.2013
11
www.vlsi.itu.edu.tr
07.12.2013
Initial values
G0:0 G0 Cin
P0:0 P0 0
Final Sum
Si Pi Gi 1:0
12
www.vlsi.itu.edu.tr
07.12.2013
PG Diagram
A4
B4
A3
B3
A2
B2
A1
B1
Cin
1: Bitwise PG logic
G4
P4
G3
P3
G2
P2
G1
P1
G0
P0
2: Group PG logic
G3:0
G2:0
G1:0
G0:0
C3
C2
C1
C0
3: Sum logic
C4
Cout
S4
S3
S2
S1
13
www.vlsi.itu.edu.tr
07.12.2013
B4
G4
P4
A3
B3
G3
P3
A2
B2
G2
P2
A1
B1
G1
P1
Cin
G0
G3:0
G2:0
G1:0
G0:0
C3
C2
C1
C0
P0
C4
Cout
S4
S3
S2
S1
14
www.vlsi.itu.edu.tr
07.12.2013
15
14
13
12
11
10
1-bit prop/gen
cell
delay of And/Or
in grey cell
Delay
15
www.vlsi.itu.edu.tr
07.12.2013
PG Diagram Notation
Black cell
i:k
Gray cell
k-1:j
i:k
i:j
Gi:k
Pi:k
Gk-1:j
Pk-1:j
Buffer
k-1:j
i:j
i:j
i:j
Gi:j
Gi:k
Pi:k
Gk-1:j
Gi:j
Pi:j
Both Gen/Prop
Generate only
Gi:j
Gi:j
Pi:j
Pi:j
Different load
16
www.vlsi.itu.edu.tr
07.12.2013
Cout
A16:13 B16:13
A12:9 B12:9
A8:5 B8:5
A4:1
P16:13
P12:9
P8:5
P4:1
1
0
C12
+
S16:13
1
0
C8
+
S12:9
1
0
C4
+
S8:5
B4:1
1
Cin
0
+
S4:1
17
www.vlsi.itu.edu.tr
07.12.2013
Delay grows as
O(N)
16
15
14
13
12
11
10
16:0 15:0 14:0 13:0 12:0 11:0 10:0 9:0 8:0 7:0 6:0 5:0 4:0 3:0 2:0 1:0 0:0
tskip t pg 2 n 1 (k 1) t AO txor
18
www.vlsi.itu.edu.tr
07.12.2013
A12:9 B12:9
+
Cout
+
A4:1
B4:1
C8
C4
+
Cin
S12:9
B8:5
+
S16:13
C12
1
A8:5
S8:5
S4:1
tselect t pg n (k 2) t AO tmux
19
www.vlsi.itu.edu.tr
07.12.2013
Precomputes
sum of n-bit
groups for both
carry conditions
15
14
13
12
11
10
13:12
9:8
14:12
15:12
5:4
10:8
11:8
6:4
7:4
15:0 14:0 13:0 12:0 11:0 10:0 9:0 8:0 7:0 6:0 5:0 4:0 3:0 2:0 1:0 0:0
tselect t pg n 1 (k 1) t AO t xor
20
www.vlsi.itu.edu.tr
07.12.2013
G16:13
P16:13
+
S16:13
C12
A12:9 B12:9
G12:9
P12:9
+
S12:9
A8:5 B8:5
C8
A4:1
C4
G8:5
P8:5
B4:1
G4:1
P4:1
S8:5
S4:1
Cin
21
www.vlsi.itu.edu.tr
07.12.2013
15
14
13
12
11
10
16:0 15:0 14:0 13:0 12:0 11:0 10:0 9:0 8:0 7:0 6:0 5:0 4:0 3:0 2:0 1:0 0:0
22
www.vlsi.itu.edu.tr
07.12.2013
i:j
Gi:k
Pi:k
Gk-1:l
Pk-1:l
Gl-1:m
Pl-1:m
Gm-1:j
Gi:j
Pi:j
Pm-1:j
23
www.vlsi.itu.edu.tr
07.12.2013
Tree Adders
24
www.vlsi.itu.edu.tr
07.12.2013
Brent-Kung
15:14
13:12
15:12
11:10
9:8
11:8
7:6
5:4
7:4
15:8
3:2
1:0
3:0
7:0
11:0
13:0
9:0
5:0
15:0 14:0 13:0 12:0 11:0 10:0 9:0 8:0 7:0 6:0 5:0 4:0 3:0 2:0 1:0 0:0
25
www.vlsi.itu.edu.tr
07.12.2013
Sklansky
15:14
13:12
11:10
15:12 14:12
15:8
14:8
11:8 10:8
13:8
9:8
Highest Fanout
7:6
7:4
5:4
6:4
3:2
3:0
1:0
2:0
12:8
15:0 14:0 13:0 12:0 11:0 10:0 9:0 8:0 7:0 6:0 5:0 4:0 3:0 2:0 1:0 0:0
26
www.vlsi.itu.edu.tr
07.12.2013
Kogge-Stone
Hard to P&R
9:8
8:7
7:6
6:5
5:4
4:3
3:2
2:1
3:0
2:0
15:8
14:7
13:6
12:9
11:8 10:7
9:6
8:5
7:4
6:3
5:2
4:1
12:5
11:4 10:3
9:2
8:1
7:0
6:0
5:0
4:0
1:0
15:0 14:0 13:0 12:0 11:0 10:0 9:0 8:0 7:0 6:0 5:0 4:0 3:0 2:0 1:0 0:0
27
www.vlsi.itu.edu.tr
07.12.2013
L+l
2f + 1
2t
28
www.vlsi.itu.edu.tr
07.12.2013
3 (7)
Brent-Kung
f (Fanout)
2 (6)
Sklansky
3 (9)
1 (5)
2 (5)
1 (3)
0 (2)
0 (4)
0 (1)
1 (2)
2 (4)
Kogge-Stone
3 (8)
t (Wire Tracks)
29
www.vlsi.itu.edu.tr
07.12.2013
Ladner-Fischer
15:14
13:12
15:12
11:10
9:8
11:8
15:8
13:8
15:8
13:0
7:6
5:4
7:4
7:0
11:0
High Fanout
4
3:2
1:0
3:0
5:0
9:0
15:0 14:0 13:0 12:0 11:0 10:0 9:0 8:0 7:0 6:0 5:0 4:0 3:0 2:0 1:0 0:0
30
www.vlsi.itu.edu.tr
07.12.2013
Knowles [2, 1, 1, 1]
Some Fanout
9:8
8:7
7:6
6:5
5:4
4:3
3:2
2:1
3:0
2:0
15:8
14:7
13:6
12:9
11:8 10:7
9:6
8:5
7:4
6:3
5:2
4:1
12:5
11:4 10:3
9:2
8:1
7:0
6:0
5:0
4:0
1:0
15:0 14:0 13:0 12:0 11:0 10:0 9:0 8:0 7:0 6:0 5:0 4:0 3:0 2:0 1:0 0:0
31
www.vlsi.itu.edu.tr
07.12.2013
Han-Carlson
Less cells
15:14
13:12
11:10
9:8
7:6
5:4
3:2
15:12
13:10
11:8
9:6
7:4
5:2
3:0
15:8
13:6
11:4
9:2
7:0
5:0
1:0
15:0 14:0 13:0 12:0 11:0 10:0 9:0 8:0 7:0 6:0 5:0 4:0 3:0 2:0 1:0 0:0
32
www.vlsi.itu.edu.tr
07.12.2013
HOMEWORK
Literature Search
PG Diagram
1 week
33
www.vlsi.itu.edu.tr
07.12.2013
15:14
14
13
12
13:12
11
10
11:10
15:12
9:8
13:8
15:8
13:0
7:6
11:8
15:8
5:4
3:2
7:4
1:0
l (Logic Levels)
3:0
7:0
11:0
5:0
9:0
9:0
8:0
BrentKung
7:0
6:0
5:0
4:0
3:0
2:0
1:0
0:0
LadnerFischer
LadnerFischer
f (Fanout)
3 (7)
Sklansky
2 (6)
3 (9)
(d) Han-Carlson
1 (5)
2 (5)
15 14 13 12 11 10
1 (3)
0 (2)
0 (4)
0 (1)
HanCarlson
Knowles
[4,2,1,1]
15:14
13:12
11:10
9:8
7:6
5:4
3:2
15:12
13:10
11:8
9:6
7:4
5:2
3:0
15:8
13:6
11:4
9:2
7:0
5:0
1:0
1 (2)
HanCarlson
Knowles
[2,1,1,1]
15:0 14:0 13:0 12:0 11:0 10:0 9:0 8:0 7:0 6:0 5:0 4:0 3:0 2:0 1:0 0:0
2 (4)
15:14 14:13 13:12 12:11 11:10 10:9
9:8
8:7
7:6
6:5
5:4
4:3
3:2
2:1
3:0
2:0
15:8
14:7
13:6
12:9
11:8 10:7
9:6
8:5
7:4
6:3
5:2
4:1
12:5
11:4 10:3
9:2
8:1
7:0
6:0
5:0
4:0
1:0
Kogge3 (8)
Stone
15:0 14:0 13:0 12:0 11:0 10:0 9:0 8:0 7:0 6:0 5:0 4:0 3:0 2:0 1:0 0:0
t (Wire Tracks)
34
www.vlsi.itu.edu.tr
07.12.2013
Summary
Architecture
Classification Logic
Levels
Max
Tracks
Fanout
Cells
Carry-Ripple
N-1
Carry-Skip n=4
N/4 + 5
1.25N
Carry-Sel. n=4
N/4 + 2
2N
Brent-Kung
(L-1, 0, 0)
2log2N 1
2N
Sklansky
(0, L-1, 0)
log2N
N/2 + 1
0.5 Nlog2N
Kogge-Stone
(0, 0, L-1)
log2N
N/2
Nlog2N
35
www.vlsi.itu.edu.tr
07.12.2013
References
http://bwrc.eecs.berkeley.edu/icbook/Slides/chapt
er11.ppt
http://www.cmosvlsi.com/lect11.pdf
http://www.eng.utah.edu/~cs5830/Slides/addersx
2.pdf
Knowles, S. (1999) A Family of Adders
36
www.vlsi.itu.edu.tr
07.12.2013