GATE / CS ARCHIVE

SIMILAR QUESTIONS / COMPUTER ORGANIZATION & ARCHITECTURE

Size a ROM multiplication table

2 questions solved the same way, newest first. Back to Computer Organization & Architecture

How these are solved

Concatenate the two unsigned input words to form the ROM address and size each output for the full product. The sources change each operand from four to eight bits; one asks M and N and the other a listed organization.

1 mark · MCQ
Report issue

ROM for multiplying two bytes

Memory Organization & Address Translation

Question 1.21, GATE 1996: A ROM directly implements multiplication of two unsigned 8-bit inputs. What organization is required?
Tap to enlarge
Your answer
Answer & solution

Answer: D: 64K words ×16 bits (no official key was published)

The two input bytes together provide 16 address bits, so every possible operand pair requires one of 216=65,536 entries. The largest product is 255²=65,025, which needs 16 bits; therefore every stored result is a 16-bit word. The organization is 64K×16. A ROM with only 256 entries would distinguish just one operand, not all pairs, and an 8-bit output would lose the high byte of many products.

Original paper, page 3

2 marks · Other
Report issue

ROM truth table for a multiplier

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