Skip to content
Official PYQ · 2012

GATE CS 2012 Q19 — Combinational Circuits

Explain with AI

The amount of ROM needed to implement a 4-bit4\text{-bit} multiplier is

Choose one option
View worked solution

Answer: D

To implement a combinational circuit using a Read-Only Memory (ROM), the inputs of the circuit act as the address lines of the ROM, and the outputs of the circuit correspond to the data bits stored at each address.

Step 1: Determine the number of address lines (inputs)

  • A 4-bit4\text{-bit} multiplier multiplies two 4-bit4\text{-bit} numbers, say AA and BB.
  • Total number of input bits = 4 bits (for A)+4 bits (for B)=8 bits4 \text{ bits (for } A) + 4 \text{ bits (for } B) = 8 \text{ bits}.
  • Therefore, the ROM requires 88 address lines, which gives 28=2562^8 = 256 addressable locations (words).

Step 2: Determine the word size (outputs)

  • The output of the multiplier is the product of two 4-bit4\text{-bit} numbers.
  • The maximum value of a 4-bit4\text{-bit} unsigned integer is 1515 (111121111_2).
  • The maximum possible product is 15×15=22515 \times 15 = 225.
  • To represent 225225 in binary, we need ⌈log⁡2(225+1)⌉=8\lceil \log_2(225 + 1) \rceil = 8 bits (or generally, the product of two n-bitn\text{-bit} numbers requires at most 2n2n bits, so 2×4=82 \times 4 = 8 bits).
  • Thus, each word in the ROM must be 88 bits wide.

Step 3: Calculate the total ROM capacity

Total ROM size=Number of words×Word size=256×8 bits=2048 bits\text{Total ROM size} = \text{Number of words} \times \text{Word size} = 256 \times 8 \text{ bits} = 2048 \text{ bits}

Since 1 Kbit=1024 bits1\text{ Kbit} = 1024\text{ bits}:

Total ROM size=20481024 Kbits=2 Kbits\text{Total ROM size} = \frac{2048}{1024} \text{ Kbits} = 2\text{ Kbits}

Hence, the correct option is D.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Combinational Circuits questions