Académique Documents
Professionnel Documents
Culture Documents
Lecture 5
Prof. Vojin G. Oklobdzija University of California
http://www.ece.ucdavis.edu/acsel
Review
Lecture 4
Lings Adder
Huey Ling, High-Speed Binary Adder IBM Journal of Research and Development, Vol.5, No.3, 1981.
Lings Derivations
define:
ai
bi
H i 1 Ci 1 Ci
Ci 1 g i pi Ci
ci+1 ci
gi ai bi
si
pi Ci pi Ci pi gi pi pi Ci pi Ci pi Ci 1 pi H i 1
ai bi pi gi ti
0 0 0 0 0 1 1 0 0 1
pi Ci pi H i 1
Ci 1 ti H i 1
Ci 1 gi pi Ci gi Hi 1 pi Ci gi Hi 1 pi Hi 1 ti Hi 1
Oklobdzija 2004 Computer Arithmetic
1
1
0 1 0
1 0 1
1
1
Lings Derivations
From: H i 1 Ci 1 Ci
and
Ci 1 g i pi Ci
Ci 1 ti H i 1
H i 1 Ci 1 Ci g i pi Ci Ci g i Ci
H i 1 g i ti 1 H i
fundamental expansion
because:
Oklobdzija 2004
Computer Arithmetic
Ling Adder
Variation of CLA: Lings equations:
pi ai bi g i ai bi Ci 1 g i pi Ci
ti ai bi g i ai bi H i 1 g i ti 1 H i Si ti H i 1 g i ti 1 H i
Ling, IBM J. Res. Dev, 5/81
Si pi Ci
Oklobdzija 2004
Computer Arithmetic
Ling Adder
Variation of CLA: Lings equation:
ai
Hi+1
Ci 1 gi gi Ci pi Ci gi gi pi Ci
Ci 1 g i ti Ci
bi
Hi gi, ti
ai-1 bi-1
ci+1
ci
gi-1, ti-1
ci-1
si
si-1
H i 1 g i ti 1 H i
Ling uses different transfer function. Four of those functions have desired properties (Lings is one of them)
see: Doran, IEEE Trans on Comp. Vol 37, No.9 Sept. 1988.
Oklobdzija 2004 Computer Arithmetic 7
Ling Adder
Conventional:
Fan-in of 5
Oklobdzija 2004
Computer Arithmetic
Oklobdzija 2004
Computer Arithmetic
10
Oklobdzija 2004
Computer Arithmetic
11
Oklobdzija 2004
Computer Arithmetic
12
Oklobdzija 2004
Computer Arithmetic
13
Oklobdzija 2004
Computer Arithmetic
14
S. Naffziger, ISSCC96
H 4 g 3 g 2 t 2 g1 t 2t1 g 0
Ci 1 ti H i 1
Oklobdzija 2004 Computer Arithmetic 15
S. Naffziger, ISSCC96
H 4 g 3 g 2 t 2 g1 t 2t1 g 0
Oklobdzija 2004 Computer Arithmetic 16
H 4 g 3 g 2 t 2 g1 t 2t1 g 0
S. Naffziger, ISSCC96
Oklobdzija 2004 Computer Arithmetic 17
S. Naffziger, ISSCC96
Oklobdzija 2004 Computer Arithmetic 18
S. Naffziger, ISSCC96
Oklobdzija 2004 Computer Arithmetic 19
S. Naffziger, ISSCC96
Oklobdzija 2004 Computer Arithmetic 20
S. Naffziger, ISSCC96
Oklobdzija 2004 Computer Arithmetic 21
S. Naffziger, ISSCC96
Oklobdzija 2004 Computer Arithmetic 23
S. Naffziger, ISSCC96
Oklobdzija 2004 Computer Arithmetic 24
S. Naffziger, ISSCC96
Oklobdzija 2004 Computer Arithmetic 25
Oklobdzija 2004
Computer Arithmetic
26
CK A1 B1 A3 B0 A2 B3 B2 P4
B3
A0
CK
CK G0 P1 P2 CK G1
LC
SumL C1L K
LCH
LCL C0H P
C1H C0L
G2
G C1H SumH CK C1L C0H LCH LCL C0L
Oklobdzija 2004
Computer Arithmetic
27
12b C15 32b C47 16b S63 S62 S48 C31 C15
Oklobdzija 2004
Computer Arithmetic
28
Stages dg3# (dg3) g4 (NAND2) C15# (GG4) C15 (INV) C47# (LC) C47 (INV) C47#b (INV) C47b (INV) S63# (SUM) S63 (INV)
Branch 4.0 2.0 1.0 1.0 3.0 1.0 1.0 1.0 16.0 1.0
LE 0.98 1.11 1.01 1.00 1.03 1.00 1.00 1.00 0.86 1.00
66
70
136
7.2
Oklobdzija 2004
Computer Arithmetic
29
Results:
0.5u Technology Speed: 0.930 nS Nominal process, 80C, V=3.3V
Oklobdzija 2004
Computer Arithmetic
30
from: Ercegovac-Lang
Oklobdzija 2004 Computer Arithmetic 32
Prefix Adders
Following recurrence operation is defined:
i=0
1in
(g-1, p-1)=(cin,cin)
This operation is associative, but not commutative It can also span a range of bits (overlapping and adjacent)
Oklobdzija 2004 Computer Arithmetic 33
from: Ercegovac-Lang
Oklobdzija 2004 Computer Arithmetic 34
Oklobdzija 2004
Computer Arithmetic
35
Pyramid Adder:
M. Lehman, A Comparative Study of Propagation Speed-up Circuits in Binary Arithmetic Units, IFIP Congress, Munich, Germany, 1962.
Oklobdzija 2004
Computer Arithmetic
36
Oklobdzija 2004
Computer Arithmetic
37
Oklobdzija 2004
Computer Arithmetic
38
Oklobdzija 2004
Computer Arithmetic
39
Oklobdzija 2004
Computer Arithmetic
40
Two wires at each level. Uniform, fan-in of two. Large fan-out (of 16; n/2); Large capacitive loading combined with the long wires (in the last stages)
Oklobdzija 2004 Computer Arithmetic 42
Oklobdzija 2004
Computer Arithmetic
43
Kogge-Stone Adder
Oklobdzija 2004
Computer Arithmetic
44
Oklobdzija 2004
Computer Arithmetic
45
Brent-Kung Adder
Oklobdzija 2004
Computer Arithmetic
46
Others, similarly trade the logical depth for reduction of fan-out and wire.
Oklobdzija 2004
Computer Arithmetic
47
Oklobdzija 2004
Computer Arithmetic
48
Following rules are used: Lateral wires at the jth level span 2j bits Lateral fan-out at jth level is power of 2 up to 2j Lateral fan-out at the jth level cannot exceed that a the (j+1)th level.
Oklobdzija 2004
Computer Arithmetic
49
at 4-bits there is only K-S and L-F, afterwards there are several new possibilities.
Oklobdzija 2004 Computer Arithmetic 50
Knowles 1999
K-S is the fastest K-S adders are wire limited (requiring 80% more area) The difference is less than 15% between examined schemes
Oklobdzija 2004 Computer Arithmetic 53
Conclusion Irregular, hybrid schmes are possible The speed-up of 15% is achieved at the cost of large wiring, hence area and power Circuits close in speed to K-S are available at significantly lower wiring cost
Oklobdzija 2004 Computer Arithmetic 54