Question: Assume that we have a 3 2 byte Cache with 8 byte Blocks and main memory is 1 2 8 KB large. Consider the memory

Assume that we have a 32 byte Cache with 8 byte Blocks and main memory is 128KB large. Consider the memory as an array of 8 Byte blocks: M0,M1,M2,... M15.
A. Show the contents of the table below showing the memory blocks can reside in different cache lines if the cache was directly mapped.
\table[[Cache Lines,Set,Way,\table[[Possible Memory],[Block]]],[0,0,0,],[1,1,0,],[2,2,0,],[3,3,0,]]
B. Show the contents of the table below showing the memory blocks can reside in different cache lines if the cache was 2-way set Associativity
\table[[Cache Lines,Set,Way,\table[[Possible Memory],[Block]]],[0,0,0,],[1,0,1,],[2,1,0,],[3,1,1,]]

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!