Memory Hierarchy Q.79

0. A cache memory unit with capacity of N words and block size of B words is to be designed. If it is designed as a direct mapped cache the length of the TAG field is 10 bits. If the cache unit is now designed as a 16-way set-associative cache, the length of the TAG field is ............... bits.

  • Option : A
  • Explanation : Type of mapping is direct map; for this direct map, 10 bits are required in its Tag. It is updated to 16 way set Associative map then new tag field size = 10 + log2 16 = 14 bits, because for k way set associative map design, log2 k bits are additionally required to the number of bits in tag field for Direct map design.
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 *