Question: Exercise 2. [15 Marks] Consider a 16-bit computer with a simplified memory hierarchy. This hierarchy contains a single cache and an unbounded backing memory. The
![Exercise 2. [15 Marks] Consider a 16-bit computer with a simplified](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f2f08ec931f_32666f2f08e42f7b.jpg)
Exercise 2. [15 Marks] Consider a 16-bit computer with a simplified memory hierarchy. This hierarchy contains a single cache and an unbounded backing memory. The cache is 2way set associative, 4 -byte cache lines, and a capacity of 32 bytes. Consider also the following sequence of memory word addresses. 8,3,9,7,15,20,22,2,6,0 (a) Determine, in binary notation, the set index and block offset for each address in the above sequence. Include the byte offset as part of the block offset. Assume the cache is initially empty. During the sequence of address accesses above, determine if each reference results in a cache hit or a cache miss. If the reference results in a cache miss, which type of cache miss occurs (cold, conflict, or capacity). Use the below table to help answer this question. (b) Create a table which resembles this cache's configuration. Fill that table such that it corresponds to the cache's contents after all addresses in the above sequence have been
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
