The table on the right shows to which cache block each block address maps. The following table shows the cache contents after each reference. |
|
Address of memory block accessed | Hit or miss | Contents of cache blocks after reference | |||
---|---|---|---|---|---|
0 | 1 | 2 | 3 | ||
0 | miss | Memory[0] | |||
8 | miss | Memory[8] | |||
0 | miss | Memory[0] | |||
6 | miss | Memory[0] | Memory[6] | ||
8 | miss | Memory[8] | Memory[6] |