A ROM is used to store the table for multiplication of two -bit unsigned integers. The size of ROM required is
View worked solution
Answer: D
To find the required ROM size, we need to determine the number of address lines (inputs) and the word size (outputs) of the ROM.
- Number of Address Lines (Inputs):
The ROM takes two -bit unsigned integers as inputs to perform multiplication. Therefore, the total number of input bits is:
With address lines, the number of addressable locations (words) in the ROM is:
- Word Size (Output Bits):
The ROM stores the product of two -bit unsigned integers. The maximum possible value of an -bit unsigned integer is .
The maximum product is:
To represent this maximum product, the number of bits required is:
(Alternatively, multiplying an -bit number by an -bit number yields a product of at most bits. Here, bits.)
Thus, the required ROM size is .
Free practice · Your answers on this page are not saved.
