Question: 3. (25 Points) Assume we have a 512 byte cache with 64 byte blocks. We also assume that the main memory is 2KB large. We

 3. (25 Points) Assume we have a 512 byte cache with

3. (25 Points) Assume we have a 512 byte cache with 64 byte blocks. We also assume that the main memory is 2KB large. We can regard the memory as an array of 64-byte memory blocks MO, M1, M2, ...M31. The table below displays the memory blocks that can reside in different cache blocks if the cache was fully associative Cache Block Set Memory blocks that can reside in cache blocks MO, M1, M2, ....M31 MO, M1, M2, ....M31 MO, M1, M2, MO, M1, M2, ....M31 MO, M1, M2, 0 0 0 0 0 0 M31 4 M31 0 0 0 MO, M1, M2, ....M31 MO, M1, M2, M31 MO, M1, M2, M31 a) b) Show the elements of the table if cache is organizedas a direct mapped cache Show the elements of the table if cache is organized as a two-wayset associative cache

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!