CodiodeCodiode
Home
Problem Solving
Skill Tracks
My Assignments
Contests
Leaderboard
Community
Settings
Codiode/Problems/Arithmetic

Debugging Combinational Multiplier

HardLogic CircuitDebug

A 3x3 combinational multiplier computes the 6-bit product of two 3-bit unsigned integers. Custom multipliers require precise alignment of partial products to ensure correct accumulation.

Expected behavior:

The output P must exactly equal the arithmetic product of inputs A and B.

Simulation shows P = 9 for prime inputs A = 3 and B = 5. The expected output is 15. Another test case with prime inputs A = 7 and B = 5 outputs 21 instead of 35. The output is systematically incorrect for specific input combinations where the third bit is high. Inspect the circuit and correct the fault.

Constraints

  • Do not modify the logic generating the first two partial products.
  • Ensure the final product P remains a 6-bit unsigned value.
  • Only standard combinational logic gates and wiring may be used.

Topics

combinationalmultiplierdatapathpartial-products

Solve this problem

Place the gates, wire them up and watch the signals settle. Every submission runs on the same simulation engine that grades it.

This problem is part of Codiode Pro. The statement above is free to read.

Sign in to solveSee what Pro unlocks

The circuit builder and code editor need a desktop screen. On a phone, read the problem here and open it on a laptop to solve.

Related problems

  • Half Adder Using Only XOR and ANDEasy
  • Floating Point Exception FlagsMedium
  • 1-Bit ALU SliceMedium
  • 4-bit Carry Lookahead BlockHard
  • BCD Adder Correction BlockMedium
  • IEEE 754 Mantissa Alignment ShifterHard
  • Four-Bit Bus AdderEasy
  • Debugging Twos Complement OverflowMedium

Browse all problems · Learning tracks