Question: Note: For this homework assume the main memory has 16 addresses such that address I has data Di, where 0 Question 4. [30 points] In

 Note: For this homework assume the main memory has 16 addresses

Note: For this homework assume the main memory has 16 addresses such that address I has data Di, where 0

Question 4. [30 points]

In addition to the two caches in question 3, let us say, a processor also has a third cache which is a victim cache and which is fully-associative. For this scenario, show the placement in the caches and hit/miss for each of the following address requests. You must show the tag and index for each. Assume cold cache start and also assume addresses are real.

0, 4, 12, 0, 2, 3, 6, 13, 1, 15, 8, 0, 2, 3, 15

Question 3. [30 points] For a processor having two caches, a level 1 cache (i.e., L1 cache) which is direct-mapped; and a level 2 cache (i.e., L2 cache), which is 2-way set associative, show the placement in the caches and hit/miss for each of the following address requests. You must show the tag and index for each. 0, 4, 12, 0, 2, 3, 6, 13, 1,15, 8, 0, 2, 3, 15 Assume warm cache start with the following cache status: (Note: the index and tag field are left blank on purpose) and also assume addresses are real. Index Tag Data D8 Tag Data D8 Index Tag Data DES D11 D2 DB D6S D11 L1 L2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!