19.0k views
4 votes
Suppose we have an 8 block cache. Each block of the cache is one word wide. When a given program is executed, the processor reads data from the decimal addresses show below. 4, 7, 10, 11, 4, 8, 12, 7 Show the contents of the cache at the end of the above reading operations if the cache is 4-way set associative. Assume blocks will be filled starting at block position zero and the replacement policy is LRU. Use 4 or [ 4 ] to represent the contents of memory at address 4. If the block is empty, enter [ empty ].

1 Answer

2 votes

Answer:

check the attached files below for answer.

Step-by-step explanation:

Suppose we have an 8 block cache. Each block of the cache is one word wide. When a-example-1
Suppose we have an 8 block cache. Each block of the cache is one word wide. When a-example-2
Suppose we have an 8 block cache. Each block of the cache is one word wide. When a-example-3
User Fussel
by
3.5k points