Question: Question 5: (30 marks) Assume a system's memory has 4M words. Blocks are 64 words in length and the cache consists of 512 blocks. 1-

Question 5: (30 marks) Assume a system's memory has 4M words. Blocks are 64 words in length and the cache consists of 512 blocks. 1- How many blocks are there in the main memory? (3 marks) 2- Draw the format of the memory address as seen by the cache, showing the fields as well as their sizes, for the following schemes: (19 marks) a- Direct Mapped Cache. b- Fully associative cache mapping scheme. C- 8-way set associative cache mapping scheme 3- For the Direct map scheme, to which cache block will the memory reference A412B map? Show your work (6 marks) 4. For the Fully Associative scheme, to which cache block will the memory reference 8214B map? (2 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
