Skip to main content

GATE CSE 1996Digital Logic › Computer Arithmetic & Memory DevicesVerified

GATE CSE 1996 PYQ: A ROM is used to store the table for multiplication of two 8 8 8 -bit unsigned integers. The size of ROM…

A ROM is used to store the table for multiplication of two 8-bit unsigned integers. The size of ROM required is

  1. A
    256×16256 \times 16
  2. B
    64K×864 K \times 8
  3. C
    4K×164 K \times 16
  4. D
    64K×1664 K \times 16
    Correct answer

Answer

(D) 64 K × 16 64 K \times 16 64 K × 16

Approach

Treat the ROM as a lookup table indexed by the pair of 8-bit input operands. Count the total number of possible operand pairs to get the number of ROM locations, and determine the maximum product width to get the number of bits stored at each location.

A multiplication lookup table for two 8-bit unsigned integers needs one entry for every possible pair of inputs. That gives $2^8 \times 2^8 = 2^{16}=64\text{K}$ entries. Since the product of two 8-bit numbers can require up to 16 bits, each entry must be 16 bits wide. Hence the required ROM size is $64\text{K} \times 16$.

Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.