Question: Please answer all questions. Q2. Consider a direct mapped cache with 1 MB of data and 8-word block size with 33 bits address. (a) Draw

Please answer all questions.

Please answer all questions. Q2. Consider a direct mapped cache with 1

Q2. Consider a direct mapped cache with 1 MB of data and 8-word block size with 33 bits 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 40 cycles CPI of 2 without memory stalls (perfect cache) frequency of load/stores 36% 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

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!