Gate2020 cs Q40

0. A computer system with a word length of 32 bits has a 16 MB byte-addressable main memory and a 64 KB, 4-way set associative cache memory with a block size of 256 bytes. Consider the following four physical addresses represent hexadecimal notation.
A1 = 0×42C8A4, A2 = 0×546888,
A3 = 0×6A289C, A4 = 0×5E4880
Which one of the following is TRUE?

  • Option : C
  • Explanation :
    Word length = 32 bit, MM size = 16 MB
    Physical address = 24 bit, CM size = 64 KB
    4-way set associative
    Block size = 256 B
    Number of lines (N) = 64K/256 = 216/28 = 28
    Number of sets (S) = N/P-way = 28/4 = 26
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *