Documente Academic
Documente Profesional
Documente Cultură
Fast Adders
http://www.syssec.ethz.ch/education/Digitaltechnik_14
1
Adapted from Digital Design and Computer Architecture, David Money Harris & Sarah L. Harris ©2007 Elsevier
Carnegie Mellon
In This Lecture
¢¢ What slows down adders
§§ The “curse of the carry”
¢¢
Fast adder principles
¢¢
Parallel Prefix Adders
§§ Graph representaDon for parallel prefix
adders §§ Some example fast adders
2
Carnegie Mellon
3
Carnegie Mellon
¢¢
The carry has to propagate from LSB to MSB
¢¢
Fortunately these cases are rare
5
Carnegie Mellon
6
Carnegie Mellon
7
Carnegie Mellon
G = A & B
P = A ^ B G P
S = P ^ Ci Co Ci
Co = G | (Ci & P)
9
Carnegie Mellon
10
Carnegie Mellon
11
Carnegie Mellon
12
Carnegie Mellon
¢¢ Pi--1:k = 0 (not all propagate signals from bit i--1 to bit k are
1), the result of the carry is generated within this block.
13
Carnegie Mellon
¢¢ Pi--1:k = 0 (not all propagate signals from bit i--1 to bit k are
1), the result of the carry is generated within this block.
14
Carnegie Mellon
¢¢ When carry is known, in the worst case the output is incremented
15
Carnegie Mellon
C0 = C i
C1 = G0 + P0Ci
C2 = G1 + P1G0 + P1P0Ci
17
Carnegie Mellon
18
Carnegie Mellon
19
Carnegie Mellon
k
(Gk ) (Gk ,Pk ) (Gk (Gk ,Pk )
k )
i:m i:m i:m i:m i:j i:j i:j i:j
¢¢
Merge: Merges two adjacent (P,G) ranges
¢¢
Feedthrough: Just copies the signals to next stage
21
Carnegie Mellon
22
Carnegie Mellon
¢¢
Number of Stages: Determines the criHcal path, the more
stages, the longer the criHcal path
¢¢
Maximum Fan Out: How many inputs are driven by a single
cell, determines stage delay, the more connecHons, the higher
the delay
23
Carnegie Mellon
PPA: Sklansky
24
Carnegie Mellon
25
Carnegie Mellon
26
Carnegie Mellon
27
Carnegie Mellon
28
Carnegie Mellon
29
Carnegie Mellon
Summary Adders
¢¢ RCA is a very efficient adder
§§ It is the smallest and simplest adder, for small bit widths it is not too
slow either
30
Carnegie Mellon
assign a = b + c;
31