Answered step by step
Verified Expert Solution
Question
1 Approved Answer
[50%] Consider the following stream of memory word addresses directed at the cache. Assume that the memory is word addressable, and the total cache capacity
[50%] Consider the following stream of memory word addresses directed at the cache. Assume that the memory is word addressable, and the total cache capacity is 128 words. Further assume that the cache is 2-way set-associative, the cache line size is 16 words and the LRU replacement policy is used. 5, 6, 7, 1, 12, 2049, 2050, 2, 67, 74, 77,3, 208, 615, 1500, 45000 For each of these accesses, indicate whether it is a cache hit or a cache miss, show how you computed the cache index, and depict the contents of the cache after every access. You do not have to show the tag bits, only show the addresses of the cached data. [50%] Consider the following stream of memory word addresses directed at the cache. Assume that the memory is word addressable, and the total cache capacity is 128 words. Further assume that the cache is 2-way set-associative, the cache line size is 16 words and the LRU replacement policy is used. 5, 6, 7, 1, 12, 2049, 2050, 2, 67, 74, 77,3, 208, 615, 1500, 45000 For each of these accesses, indicate whether it is a cache hit or a cache miss, show how you computed the cache index, and depict the contents of the cache after every access. You do not have to show the tag bits, only show the addresses of the cached data
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started