The Carry-Select Adder
In the previous article, we analyzed the Carry-Lookahead Adder (CLA), which computes carries concurrently using Boolean generate and propagate networks. This article examines the Carry-Select Adder (CSLA). Instead of accelerating carry logic equations, the carry-select adder precomputes addition results speculatively. The circuit duplicates adder hardware across higher-order bit blocks to evaluate both possible carry-in states ($C_{\text{in}} = 0$ and $C_{\text{in}} = 1$) in parallel. When the true carry arrives from preceding stages, a multiplexer selects the precomputed result immediately.
Principles of Speculative Carry-Select Addition
Consider bits [7:4] of a 16-bit addition. In a conventional ripple-carry adder, this block remains idle until carry-in $C_4$ ripples through bits [3:0].
A carry-select block uses two parallel ripple-carry adders operating simultaneously from time zero:
- Adder 0: Computes candidate sum bits and carry-out assuming $C_4 = 0$.
- Adder 1: Computes candidate sum bits and carry-out assuming $C_4 = 1$.
While both speculative adders evaluate, the lower block (bits [3:0]) computes true carry $C_4$. When $C_4$ stabilizes, a 2-to-1 multiplexer routes the correct candidate output. The delay through higher-order blocks reduces to the propagation delay of a 2-to-1 multiplexer.
Architecture of a 16-Bit Carry-Select Adder
A 16-bit uniform carry-select adder divides 16 bits into four 4-bit groups (Figure 1):
- Group 0 (Bits [3:0]): Standard 4-bit ripple-carry adder with primary carry-in $C_0 = 0$. Produces final sums $S[3:0]$ and true carry $C_4$.
- Group 1 (Bits [7:4]): Two 4-bit adders ($C_{\text{in}} = 0$ and $C_{\text{in}} = 1$). Multiplexers controlled by $C_4$ select final sums $S[7:4]$ and generate carry $C_8$.
- Group 2 (Bits [11:8]): Two 4-bit adders ($C_{\text{in}} = 0$ and $C_{\text{in}} = 1$). Multiplexers controlled by $C_8$ select final sums $S[11:8]$ and generate carry $C_{12}$.
- Group 3 (Bits [15:12]): Two 4-bit adders ($C_{\text{in}} = 0$ and $C_{\text{in}} = 1$). Multiplexers controlled by $C_{12}$ select final sums $S[15:12]$ and generate final carry-out $C_{\text{out}}$.
Timing and Critical Path Analysis
Assume a 4-bit ripple-carry adder requires 10 gate delays ($t_{\text{RCA}} = 10$) and a 2-to-1 multiplexer requires 1 gate delay ($t_{\text{MUX}} = 1$).
Table 1 traces the timing progression across all groups:
| Time (Gate Delays) | Hardware Operational Event |
|---|---|
| $t = 0$ | All ripple-carry blocks begin evaluation simultaneously. |
| $t = 10$ | Group 0 completes: $S[3:0]$ and $C_4$ stabilize. Speculative candidates in Groups 1, 2, and 3 finish concurrently. |
| $t = 11$ | Carry $C_4$ switches Group 1 multiplexers: $S[7:4]$ and $C_8$ stabilize. |
| $t = 12$ | Carry $C_8$ switches Group 2 multiplexers: $S[11:8]$ and $C_{12}$ stabilize. |
| $t = 13$ | Carry $C_{12}$ switches Group 3 multiplexers: $S[15:12]$ and $C_{\text{out}}$ stabilize. |
Total critical path latency for 16 bits is 13 gate delays. Table 2 compares this latency against standard architectures:
| 16-Bit Adder Architecture | Total Gate Delays | Relative Latency |
|---|---|---|
| Ripple-Carry Adder | 34 | $1.0\times$ (Baseline) |
| Carry-Select Adder (Uniform 4-bit groups) | 13 | $0.38\times$ ($2.6\times$ faster) |
| Hierarchical Carry-Lookahead Adder | 8 | $0.24\times$ ($4.25\times$ faster) |
Silicon Area and Power Trade-Offs
The carry-select adder duplicates hardware in speculative groups:
- The 16-bit design uses seven 4-bit ripple-carry adders and fifteen 2-to-1 multiplexers.
- Total silicon area increases by $1.6\times$ to $1.8\times$ compared to a ripple-carry adder.
- Dynamic power consumption increases significantly because internal logic nodes in both speculative adders toggle during every arithmetic cycle, even though the multiplexer discards one result.
Group Sizing and Square-Root Latency Scaling
For an $N$-bit adder with uniform group size $k$, total propagation delay is:
$$t_{\text{total}} = t_{\text{RCA}}(k) + \left(\frac{N}{k} - 1\right) t_{\text{MUX}}$$
Differentiating with respect to $k$ balances the initial ripple latency against the multiplexer ripple chain. The optimal group size $k$ scales with $\sqrt{N}$. Therefore, carry-select adder latency scales as $O(\sqrt{N})$.
Variable-Sized Carry-Select Adders
In a uniform carry-select adder, higher-order groups complete their speculative additions long before the select carry signal arrives. Designers optimize this latency slack by using variable-sized groups. Each successive group increases in bit width to match incoming carry arrival times:
- 32-bit variable group partition: 4 bits, 5 bits, 6 bits, 7 bits, 10 bits.
- Variable sizing minimizes total latency without increasing multiplexer stage counts.
The Carry-Skip Adder Architecture
The Carry-Skip Adder (CSKA) provides an alternative carry-acceleration mechanism with lower hardware overhead. Within a $k$-bit block, if every bit propagates ($P_i = A_i \oplus B_i = 1$), an incoming carry passes directly to the carry-out without rippling through the adder stages.
The block skip condition is:
$$\text{SKIP} = P_{k-1} \cdot P_{k-2} \cdots P_1 \cdot P_0$$
A 2-to-1 bypass multiplexer routes the carry:
$$C_{\text{out}} = \text{SKIP} \cdot C_{\text{in}} + \overline{\text{SKIP}} \cdot C_{\text{ripple}}$$
Carry-skip adders achieve $O(\sqrt{N})$ delay scaling using only one adder per group, reducing silicon area compared to carry-select adders.
FPGA Implementation Considerations
Do not implement carry-select adders in Verilog for FPGA targets. Modern FPGAs contain dedicated silicon hard-macro carry chains that achieve sub-30 ps delays per bit. Mapping carry-select logic onto programmable Look-Up Tables (LUTs) and general routing multiplexers results in higher latency, larger area, and higher power consumption. Carry-select adders are primarily intended for Application-Specific Integrated Circuit (ASIC) standard-cell libraries.
Practice Exercise
A 24-bit carry-select adder uses uniform 4-bit groups. Assume a 4-bit ripple-carry adder requires 10 gate delays and a 2-to-1 multiplexer requires 1 gate delay.
- Determine the total number of groups and the number of speculative groups.
- Calculate the worst-case propagation delay.
- Compare the delay with a 24-bit ripple-carry adder.
View Solution
Step 1: Group Calculations:
- Total groups: $\frac{24}{4} = 6$ groups.
- Group 0 (bits [3:0]) is non-speculative (1 adder).
- Groups 1 through 5 (bits [23:4]) are speculative (5 groups $\times$ 2 adders $= 10$ adders).
- Total adders: $1 + 10 = 11$ four-bit adders.
Step 2: Worst-Case Delay: $$t_{\text{total}} = t_{\text{RCA}}(4) + (6 - 1) \times t_{\text{MUX}} = 10 + (5 \times 1) = 15 \text{ gate delays}$$
Step 3: Comparison with Ripple-Carry Adder:
- 24-bit ripple-carry delay: $$t_{\text{RCA}}(24) = 2N + 2 = (2 \times 24) + 2 = 50 \text{ gate delays}$$
- Speed-up factor: $$\text{Speed-Up} = \frac{50}{15} \approx 3.33\times$$
The carry-select adder operates $3.33\times$ faster while requiring approximately $1.7\times$ more silicon area.
In the next article, we compare all adder architectures side by side, examine parallel-prefix adders, and evaluate physical synthesis trade-offs.