Assume the following shows different parts of the address used to access a direct-mapped cache:
• Byte offset: bits 0 to 7
• Index: bits 8 to 15
• Tag: bits 16-23
Assume cache is initially empty, and then the following addresses are referenced in order:
AB4600 AB4604 AB4804 AC4608 AB4810 AB4604 AB461F A04804 AB461F
?
miss hit miss rep hit miss hit rep hit
compulsory spatial rep spatial miss hit
What is the total number of misses? 7 5
What is number of compulsory misses? 7 4
What is the total number of spatial hits? 2 3
What is the total number of replacements? 2 3
What is the tag value, in hexadecimal, stored in cache block 48$_{16}$? AC A0