Answered step by step
Verified Expert Solution
Link Copied!

Question

00
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

image text in transcribed

[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

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced Accounting

Authors: Joe Hoyle, Thomas Schaefer, Timothy Doupnik

10th edition

0-07-794127-6, 978-0-07-79412, 978-0077431808

Students also viewed these Accounting questions