Question: [ 3 points ] Suppose a CPU has a memory which is 6 4 words long. The CPU also has a direct mapped cache which

[3 points] Suppose a CPU has a memory which is 64 words long. The CPU also has a direct mapped cache which has space for 8 blocks, where 1 block =1 word. Show the state of the cache, in the form of a table as each of the following word addresses are requested by the CPU one after the other. Make sure you also store the tags associated with element inside the cache and you draw a separate table for each address request.
110100
011000
111100
[4 points] Suppose we have a 2-way associative cache that has 256 blocks where each block is 1 word long. Also suppose the memory can store 4096 words. Where inside the cache would you store the words with address 567? Make sure you draw figures illustrating your explanations!
[ 3 points ] Suppose a CPU has a memory which is

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 Programming Questions!