Loading simulator…
The multiplier has three functional sections: partial-product generation, Wallace reduction, and final carry-propagate addition.
The 16 AND gates generate PPij = A[i] · B[j]. Each partial product is placed in the column whose weight is 2^(i+j). Initially, columns 0, 1, 5, and 6 contain at most two partial-product bits, while columns 2, 3, and 4 require first-stage reduction. Carries produced during reduction can increase the number of bits in higher-weight columns.
The six Full Adders operate as 3:2 compressors. A compressor accepts three bits of equal binary weight, produces a Sum in that same column, and produces a Carry in the next-higher column.
Reduction Stage 1 uses the three compressors labelled ST1_C2, ST1_C3, and ST1_C4:
ST1_C2: PP20 + PP11 + PP02 → Sum2, Carry3
ST1_C3: PP30 + PP21 + PP12 → Sum3A, Carry4A
ST1_C4: PP31 + PP22 + PP13 → Sum4A, Carry5A
This reduces the original dense partial-product columns while preserving their binary weights.
Reduction Stage 2 uses ST2_C3, ST2_C4, and ST2_C5:
ST2_C3: Sum3A + PP03 + Carry3 → Sum3, Carry4B
ST2_C4: Sum4A + Carry4A + Carry4B → Sum4, Carry5B
ST2_C5: PP32 + PP23 + Carry5A → Sum5, Carry6
After the second stage, each weight column contains at most two bits. These bits form the two reduced rows:
Reduced Row 1 = {0, PP33, Sum5, Sum4, Sum3, Sum2, PP10, PP00}
Reduced Row 2 = {0, Carry6, Carry5B, 0, 0, 0, PP01, 0}
The predefined 8-bit carry-propagate adder then performs:
Product = Reduced Row 1 + Reduced Row 2
The complete signal flow is:
A, B
↓
16 Partial Products
↓
Wallace Reduction Stage 1
↓
Wallace Reduction Stage 2
↓
Two Reduced Rows
↓
Final Carry-Propagate Adder
↓
Product[7:0]
For the maximum unsigned inputs, 1111 × 1111 = 15 × 15 = 225 = 11100001, so the complete 4×4 unsigned product fits in Product[7:0].