Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 4 A 2 - way set associative cache which uses blocks of 8 bytes is interfaced to the MIPS machine. The cache size is

Problem 4
A 2-way set associative cache which uses blocks of 8 bytes is interfaced to the MIPS machine. The cache size is 64 bytes. The replacement algorithm used is LRU?. Knowing that, solve the following:
What is the total number of storage bits in the cache including valid bits, dirty bits, tags and cache data?
Consider the following sequence of memory accesses, given as byte addresses:
16,9,20,24,25,12,25,26,28,40,29,30,50
Label each reference in the list as a hit or a miss; show your work clearly, cache is NOT empty initially, as seen below.
\table[[index,D,V,Tag,Data,D,V,Tag,Data,],[00,0,0,0,x,,1,1,1,x
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Database Processing

Authors: David M. Kroenke

12th Edition International Edition

1292023422, 978-1292023427

More Books

Students also viewed these Databases questions

Question

4. What advice would you give to Carol Sullivan-Diaz?

Answered: 1 week ago