Question: 10. (10 pts) Suppose there is a direct-mapped cache containing 4 MB (note 1M - 220 of data, and each cache block contains 4 words

10. (10 pts) Suppose there is a direct-mapped cache containing 4 MB (note 1M - 220 of data, and each cache block contains 4 words (note: not bytes). Answer the following questions: (a) How many blo are there in the cache? (b) Show the decomposition of a 32-bit memory address into the appropriate fields (tag, block index and offset). Calculate the number of bits for each field. (c) Calculate the real total size of the cache. Show your work, simply giving an answer is not enough!!! cks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
