Answered step by step
Verified Expert Solution
Question
1 Approved Answer
6. (10 pts) A direct-mapped cache has a 64-bit address and 8M words of data ((1 word = 4 bytes). Each cache block is
6. (10 pts) A direct-mapped cache has a 64-bit address and 8M words of data ((1 word = 4 bytes). Each cache block is 64 bytes. Answer the following questions. (a) How many blocks are there in the cache? (b) How is a 64-bit memory address divided into tag, block index, and byte offset? Calculate the number of bits for each field. (c) Calculate the total size of the cache. 7. (10pts) A 8-way set associative cache has the same data size and block size as the direct-mapped cache in Question #6. (a) How many sets are there in the cache? (b) How is a 64-bit memory address divided into tag, set index, and byte offset? Calculate the number of bits for each field. (c) Calculate the total size of the cache. Value
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started