GATE Computer ScienceVery hardGATE CS (PYQ pattern)

A 2-bit × 2-bit unsigned multiplier has inputs A1A0 and B1B0 and outputs P3P2P1P0. Each output is realised separately by its own minimal sum-of-products. How many literals are there in total over the four outputs?

  1. A. 18
  2. B. 28
  3. C. 24
  4. D. 22

Correct answer: C. 24

P0 = A0B0 (2). P1 = A0B1 ⊕ A1B0 needs 4 terms of 3 literals: A1A0'B0 + A1B1'B0 + A0B1B0' + A1'A0B1 (12). P2 = 1 only for the products 4 (2×2) and 6 (2×3, 3×2), i.e. P2 = A1B1(A0B0)' = A1A0'B1 + A1B1B0' (6). P3 = A1A0B1B0 (4). Total 2 + 12 + 6 + 4 = 24.

More Digital Logic questions

Exams that ask this topic