Show work and solve 6. (a) Assuming a cache of 2048 blocks, a 4 word block size, and a 32-bit address, find the total number
6. (a) Assuming a cache of 2048 blocks, a 4 word block size, and a 32-bit address, find the total number of tag bits and the cache size if the cache is a) direct mapped b) Four way associative. (b) Consider a processor with following data: Base CPI, No Memory Stalls 1.5 Processor Speed 3GHz Main M em ory A ccess Time 150 ns First Level Cache M issRate per Instruction 8% Second Level Cache, Direct- Mapped Speed 15 cycles o al Miss Rate with Second Level Cache, Direct Mapped 2.5% Second Level Cache, Eight-Way Associative Speed 25 cycles I al Miss Rate with Second Level Cache, Eight-Way Set Associative 1.5% Calculate the CPI for the processor in the table using: 1) only a first level cache, 2) a second level direct,-mapped cache, and 3) a second level eight-way set associative cache.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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