The Array Multiplier
In the previous article, we analyzed the mathematical equation of binary multiplication. This article implements the most direct hardware realization of that equation: the Array Multiplier. An array multiplier translates manual long multiplication directly into silicon. An $N \times N$ grid of AND gates computes all partial products concurrently. Cascaded rows of full adders and half adders sum the shifted rows into a $2N$-bit product.
Architecture of the Array Multiplier
Binary multiplication is defined by:
$$P = A \times B = \sum_{i=0}^{N-1} B_i \cdot (A \ll i)$$
The hardware implements this equation using two primary stages:
- AND Array: Evaluates partial product bits $PP_{i,j} = A_j \cdot B_i$ in parallel.
- Adder Reduction Array: Accumulates $N$ partial product rows into an output vector.
AND Gate Partial Product Matrix
For an $N \times N$ multiplier, an array of $N^2$ two-input AND gates computes every bit of every partial product simultaneously (Figure 1):
For a 4×4 multiplier, 16 AND gates evaluate all partial product bits in a single logic gate delay. Left-shifting row $i$ by $i$ positions requires zero logic gates; physical metal routing implements the positional shift.
Cascaded Adder Reduction Stages
To sum four partial product vectors into an 8-bit result, the circuit arranges adders in horizontal rows (Figure 2):
Table 1 lists the alignment of partial product bits across the 8-bit product:
| Partial Product Vector | Active Bit Span | Positional Arithmetic Weight |
|---|---|---|
| $\text{PP}_0$ | Bits 3 to 0 | $2^0$ |
| $\text{PP}_1$ | Bits 4 to 1 | $2^1$ |
| $\text{PP}_2$ | Bits 5 to 2 | $2^2$ |
| $\text{PP}_3$ | Bits 6 to 3 | $2^3$ |
- Bit 0 Output ($P_0$): Equals $PP_{0,0} = A_0 \cdot B_0$ directly and bypasses all adders.
- Intermediate Bits ($P_1$ to $P_6$): Generated by cascaded full adder and half adder cells.
- Bit 7 Output ($P_7$): Produced by the final carry-out of the last adder stage.
Numerical Trace Walkthrough ($6 \times 5 = 30$)
Multiply $A = 0110_2$ ($6_{10}$) by $B = 0101_2$ ($5_{10}$):
- $\text{PP}_0 = 0110_2 \times 1 = 0000_0110_2$.
- $\text{PP}_1 = 0110_2 \times 0 = 0000_0000_2$.
- $\text{PP}_2 = 0110_2 \times 1 = 0001_1000_2$.
- $\text{PP}_3 = 0110_2 \times 0 = 0000_0000_2$.
Accumulation through the adder rows:
- Row 1: Adds $\text{PP}_0 + \text{PP}_1 = 0000_0110_2 + 0000_0000_2 = 0000_0110_2$.
- Row 2: Adds previous sum $+ \text{PP}_2 = 0000_0110_2 + 0001_1000_2 = 0001_1110_2$.
- Row 3: Adds previous sum $+ \text{PP}3 = 0001_1110_2 + 0000_0000_2 = 0001_1110_2 = 30{10}$.
The output matches the analytical product.
Critical Path and Propagation Delay Analysis
The propagation latency of an array multiplier depends on how carries propagate between adder cells:
1. Unoptimized Ripple-Carry Rows
If each adder row ripples its carries horizontally before passing sums to the next row, total latency is quadratic:
$$t_{\text{unoptimized}} \approx t_{\text{AND}} + (N - 1) \times t_{\text{RCA}} \approx O(N^2)$$
2. Carry-Save Array Optimization
In standard array multipliers, full adders pass their carry-outs diagonally downward into the next row rather than horizontally across the same row. Carries do not ripple within intermediate rows. Only the final row performs horizontal carry propagation. This optimization reduces total latency to a linear function of word width ($O(N)$):
$$t_{\text{array}} \approx t_{\text{AND}} + (N - 1)t_{\text{row}} + t_{\text{final_carry}}$$
Table 2 estimates propagation delays across word widths (assuming an average gate delay of 100 ps):
| Multiplier Dimensions | Total Equivalent Gate Delays | Latency at 100 ps/gate |
|---|---|---|
| 4 × 4 bits | 10 | 1.0 ns |
| 8 × 8 bits | 22 | 2.2 ns |
| 16 × 16 bits | 42 | 4.2 ns |
| 32 × 32 bits | 82 | 8.2 ns |
A 32×32 array multiplier requires 8.2 ns, which violates clock constraints in gigahertz processors.
Silicon Area Complexity ($O(N^2)$ Scaling)
Table 3 details component counts for an $N \times N$ unsigned array multiplier:
| Hardware Component | Mathematical Quantity | Scaling Complexity |
|---|---|---|
| 2-Input AND Gates | $N^2$ | $O(N^2)$ |
| Full Adder Cells | $N(N - 2)$ | $O(N^2)$ |
| Half Adder Cells | $2(N - 2)$ | $O(N)$ |
Doubling the operand bit width quadruples the silicon area and dynamic power consumption.
Architectural Strengths and FPGA Implementations
Strengths in ASIC Layout
The primary advantage of the array multiplier is geometric regularity. The circuit consists of repeated identical full adder cells arranged in a regular rectangular matrix. Automated place-and-route (PnR) EDA tools optimize wiring and layout area efficiently. Array multipliers are suitable for small bit widths ($N \le 8$) where tree-routing overhead is disadvantageous.
FPGA Implementations
Do not construct soft-logic array multipliers from Look-Up Tables (LUTs) on FPGAs.
Modern FPGAs embed hardened, dedicated silicon DSP Blocks (such as AMD Xilinx DSP48E2 or Intel DSP Blocks).
These hard macros compute 18×18 or 27×27 multiplications in a single clock cycle at frequencies exceeding 600 MHz.
In Verilog, write behavioral multiplication (assign P = A * B;) to infer hardware DSP slices automatically.
Practice Exercises
Problem 1: A 3×3 unsigned array multiplier receives operands $A[2:0]$ and $B[2:0]$.
- Calculate the required number of AND gates.
- Write the Boolean expressions for each partial product bit.
- Determine which partial product bit connects directly to output $P_0$.
View Solution
- AND Gate Count: $$N^2 = 3^2 = 9 \text{ gates}$$
- Partial Product Expressions:
- Row 0 ($B_0$): $PP_{0,0} = A_0 B_0$, $PP_{0,1} = A_1 B_0$, $PP_{0,2} = A_2 B_0$.
- Row 1 ($B_1$): $PP_{1,0} = A_0 B_1$, $PP_{1,1} = A_1 B_1$, $PP_{1,2} = A_2 B_1$.
- Row 2 ($B_2$): $PP_{2,0} = A_0 B_2$, $PP_{2,1} = A_1 B_2$, $PP_{2,2} = A_2 B_2$.
- Output Bit $P_0$: Bit $P_0$ connects directly to $PP_{0,0} = A_0 B_0$ without passing through an adder.
Problem 2: Execute array multiplication for $A = 1101_2$ ($13_{10}$) and $B = 1010_2$ ($10_{10}$). Show the partial product rows and verify the 8-bit result in decimal.
View Solution
Generate the aligned partial products:
- $\text{PP}_0 = 1101_2 \times 0 = 0000_0000_2$.
- $\text{PP}_1 = 1101_2 \times 1 = 0001_1010_2$ (shifted 1 position).
- $\text{PP}_2 = 1101_2 \times 0 = 0000_0000_2$.
- $\text{PP}_3 = 1101_2 \times 1 = 0110_1000_2$ (shifted 3 positions).
Sum the rows: $$P = 0001_1010_2 + 0110_1000_2 = 1000_0010_2$$
Decimal Verification: $$1000_0010_2 = 128 + 2 = 130_{10}$$ Because $13 \times 10 = 130$, the array multiplication is verified.
In the next article, we examine the Wallace Tree Multiplier, which reduces partial products in logarithmic time using Carry-Save Adder networks.