- 2069 Chaitra · 8 marks
4-bit multiplier with parallel adder
Short answer
16 AND gates form partial products A_jB_i. Three 4-bit parallel adders sum the rows: LSB of first row is P0; adder1 adds row1 to upper bits, LSB is P1; adder2 adds row2, LSB is P2; adder3 adds row3, outputs P7-P4 and LSB is P3. Example: 1101×1011 = 10001111 (143).
Design a combinational logic that performs multiplication between two 4 bit numbers using binary parallel adder and other gates.
A binary multiplier multiplies two numbers by forming partial products with AND gates and adding them with binary parallel adders (BPA), in the same way as long multiplication by hand.
Let (multiplicand) and (multiplier). The product has bits, .
Partial products
A3 A2 A1 A0
x B3 B2 B1 B0
------------------------------------
A3B0 A2B0 A1B0 A0B0
A3B1 A2B1 A1B1 A0B1
A3B2 A2B2 A1B2 A0B2
A3B3 A2B3 A1B3 A0B3
------------------------------------
P7 P6 P5 P4 P3 P2 P1 P0
Each partial-product bit is one 2-input AND gate, so 16 AND gates are needed. Adding the four rows needs three 4-bit parallel adders.
Design
- Row 0: . Its LSB is directly .
- Adder 1: adds row 1 () to the upper three bits of row 0 (). Its sum LSB is ; its carry and upper three sum bits go on.
- Adder 2: adds row 2 () to (carry of adder 1, upper three sum bits of adder 1). Its sum LSB is .
- Adder 3: adds row 3 () to (carry of adder 2, upper three sum bits of adder 2). Its four sum bits give and its carry gives .
A x B0 (4 AND) -> [b3 b2 b1 | b0=P0]
|
A x B1 (4 AND) -> [ 4-bit BPA #1 ] -> s0 = P1
| carry + s3 s2 s1
A x B2 (4 AND) -> [ 4-bit BPA #2 ] -> s0 = P2
| carry + s3 s2 s1
A x B3 (4 AND) -> [ 4-bit BPA #3 ] -> s0 = P3
|
Cout=P7, s3 s2 s1 = P6 P5 P4
Each adder's carry-in .
Example: (13 × 11)
| Step | Operation | Result | Product bit |
|---|---|---|---|
| Row 0 | upper bits 0110 | ||
| Adder 1 | () | 1 0011 | , pass 1001 |
| Adder 2 | () | 0 1001 | , pass 0100 |
| Adder 3 | () | 1 0001 | , |
Product , and .
Hardware: 16 AND gates and three 4-bit parallel adders (e.g. three IC 7483). In general an -bit multiplier needs AND gates and -bit adders.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- 3-bit multiplier with binary parallel adder · Digital Logic, chapter 5
- Two 4-bit parallel adder · Digital Logic, chapter 5
- Short note: binary parallel adder · Digital Logic, chapter 5
- 2-bit fast adder; full subtractor from half subtractors · Digital Logic, chapter 5
- Define combinational logic circuit · Digital Logic, chapter 3
- n-bit full adder block diagram · Digital Logic, chapter 5
- Two-tape TM as binary adder · Theory of Computation, chapter 4
- C program: sum of two 8-bit BCD numbers · Embedded System, chapter 9
- Short note: Logic gates · Basic Electrical and Electronics Engineering, chapter 3