Gate2017 ss Q63

0. Consider a machine with a byte addressable main memory of 232 bytes divided into blocks of size 32 bytes. Assume that a direct mapped cache having 512 cache lines is used with this machine. The size of the tag field in bits is ______.

  • Option : A
  • Explanation :
    Number of blocks of main memory = 232 / 25 = 227
    Number of blocks in cache memory = 512 = 29
    1 Cache block points to 227 / 29 = 218 lines
    So, Number of TAG bits required = 18 bits.
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 *