GATE Computer ScienceModerateGATE CSE

A 4-way set-associative cache of 32 KB with 64-byte lines serves 32-bit physical addresses. Each line stores its data, a tag, one valid bit and one dirty bit. What is the total number of storage bits in the cache (data + tag + valid + dirty)?

  1. A. 272384
  2. B. 272896
  3. C. 276480
  4. D. 271872

Correct answer: B. 272896

128 sets → 7 index bits, 6 offset bits, tag = 32−7−6 = 19; per line 533 bits × 512 lines = 272896.

More Computer Organization and Architecture questions

Exams that ask this topic