Hardware interview practice
Cache tag, index, and offset bits
A physically addressed 1 MiB cache is 8-way set associative, has 64-byte lines, and uses 48-bit physical addresses. How many offset, set-index, and tag bits are required?
Choose one
Answer choices
- A. 6 offset bits, 14 set-index bits, and 28 tag bits.
- B. 8 offset bits, 11 set-index bits, and 29 tag bits.
- C. 6 offset bits, 10 set-index bits, and 32 tag bits.
- D. 6 offset bits, 11 set-index bits, and 31 tag bits.
