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

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

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!