Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please answer all questions. Q2. Consider a direct mapped cache with 1 MB of data and 8-word block size with 32-bit address. (a) Draw the
Please answer all questions.
Q2. Consider a direct mapped cache with 1 MB of data and 8-word block size with 32-bit address. (a) Draw the flow diagram of the DMC and calculate the Cache size (5 marks) (5 marks) (b) Assume for a given CPU/DMC and MIPS program: instruction cache miss rate 2% data cache miss rate 4% miss penalty always 36 cycles CPI of 2 without memory stalls (perfect cache) frequency of load/stores 40% of instructions How much faster is a CPU with a perfect cache that never misses
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