ISRO Scientist/Engineer CSE 2020Computer Organization and Architecture › Cache and Memory Hierarchy
ISRO Scientist/Engineer CSE 2020 PYQ: How many total bits are required for a direct-mapped cache with 128 KB of data and 1 word block size,…
How many total bits are required for a direct-mapped cache with 128 KB of data and 1 word block size, assuming a 32-bit address and 1 word size of 4 bytes?
- A2 Mbits
- B1.7 Mbits
- C2.5 Mbits
- D1.5 MbitsCorrect answer
Answer
(D) $1.5$ Mbits
Approach
Compute the number of cache lines from data size and block size, then determine the tag width from the address breakdown, and finally add the tag storage to the data storage to get total bits.
Reviewed by ISRO IQ Editorial Team.