GATE / CS ARCHIVE

GATE CSE 1993 / QUESTION 6.6

ROM truth table for a multiplier

Computer Organization & Architecture · Memory Organization & Address Translation · Full GATE CSE 1993 paper

GATE 1993, Q6.6 2 marks · Other
Report issue

Memory Organization & Address Translation

Question 6.6, GATE 1993: A ROM multiplies two unsigned 4-bit inputs. Give M words and N bits per word.
Tap to enlarge
Answer & solution

Answer: M=256,N=8 (no official key was published)

The two operands provide eight address bits together, so the truth table has 2⁸=256 possible input pairs, requiring 256 words. The largest product is 15·15=225, which fits in eight bits but not seven. Therefore each output word needs eight bits. This direct truth-table ROM organization is 256×8; it is not a 16-entry table because both operands independently select the result.

Original paper, page 5