Question: Tag = 3 Index = 1 Block offset = 4 4 way associative 8 bits total Use the information above to answer question 4 which
I ne omset block. Size Wil De IT 4. Now, using the same cache talked about in question 3, trace through the following cache accesses by keeping track of what the cache would look like after each access. Keep track of the valid bit, dirty bit, tag in the cache. You should also label each cache access as to whether that access caused a write back to the cache. If it did cause a write back, what is the tag of the memory that was written back? Also, keep track of which cache access are cache misses and which are cache hits. In grading this, I will want to see the final state of the cache as well as whether each access was a hit, miss, and if it caused a write back. Show work LW 00110010 2.LW 01010110 3. LW 01000100 4. LW 10010011 5. LW 10110110 6. SW 00111100 7.LW 0101 1110 8. SW 01001000 9. LW 00001011 10 LW 001 10011 11. LW 10110110 12. LW 10100110 13. LW 10111110 14, LW 11110011 15. SW 10100001 16. LW 01 111100 17. LW 11010001 18. LW 00101101 19. LW 10110001 20. SW 00101001 4.1 Of these 20 accesses, what is the miss rate? What is the hit rate
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
