Skip to content

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?

  1. A
    2 Mbits
  2. B
    1.7 Mbits
  3. C
    2.5 Mbits
  4. D
    1.5 Mbits
    Correct 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.