6/13/2023 0 Comments Cache replacement policy la giSuppose Tag 1 at index 11 is 1111 and Tag 2 is 0011. Step 1: the index is 11, therefore look at the two tags at index 11. Line Size Example 2-way set associative cache, with 4-word lines, and capacity to contain 32 words 9 8 7 6 5 4 3 2 1 0 Tag Index Line Word Tag 2 Line 2 Index Tag 1 Line 1 00 01 10 11 1111 0011 Scenario: Suppose CPU is requesting the word at memory address 1010110100. Example: 4 words in a line 9 8 7 6 5 4 3 2 1 0 Tag Index Line Word
0 Comments
Leave a Reply. |