You are given a direct-mapped cache of 4 blocks with four-word per block (a total of 16 words in the cache). The main memory size is 64 words. We have the following memory access sequence: Word1, Word 8, Word0, Word 17, Word 14, Word 62, Word 55, Word 25, Word 16, and Word 15. You need to write an essay that explains how you solve this problem. You also need to show your students the final cache content using the given table shown below.You also need to explain to your students the result of hit or miss for each word access.
You play the role of the instructor of CPSC440. Your CPSC440 students need more practice on the cache memory concept. You, as a professor of the CPSC440 course, decide to solve one more cache memory access problem (in addition to two problems in our Assignment). The new problem is:
You are given a direct-mapped cache of 4 blocks with four-word per block (a total of 16 words in the cache). The main memory size is 64 words. We have the following memory access sequence: Word1, Word 8, Word0, Word 17, Word 14, Word 62, Word 55, Word 25, Word 16, and Word 15. You need to write an essay that explains how you solve this problem. You also need to show your students the final cache content using the given table shown below.You also need to explain to your students the result of hit or miss for each word access.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images