Multiple choice

Direction: A computer has a 256 KByte, 4-way set associative, write back data cache with block size of 32 Bytes. The processor sends 32 bit addresses to the cache controller. Each cache tag directory entry contains, in addition to address tag, 2 valid bits, 1 modified bit and 1 replacement bit.

The size of the cache tag directory is

  1. 160 Kbits

  2. 136 Kbits

  3. 40 Kbits

  4. 32 Kbits

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

TAG controller maintains 16 + 4 = 20 bits for every block Hence, size of cache tag directory = 20 × 213 bits =160 Kbits