The amount of ROM needed to implement a multiplier is
GATE CSE 2012Digital Logic › Computer Arithmetic & Memory DevicesVerified
GATE CSE 2012 PYQ: The amount of ROM needed to implement a 4 -bit 4\text{-bit} 4 -bit multiplier is
- A64 bits
- B128 bits
- C1 Kbits
- D2 KbitsCorrect answer
Answer
(D) 2 2 2 Kbits
Approach
A ROM-based multiplier is a lookup table: the two 4-bit operands form the address, and the ROM is pre-programmed with the corresponding product. So we need to count how many input combinations exist and how many bits each product needs.
A 4-bit multiplier has 8 input bits, so there are $2^8$ possible operand pairs. Each product can be up to 8 bits. Hence the ROM capacity is $2^8\times 8=2048$ bits $=2$ Kbits, matching option D.
Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.