Question: (b) A processor in a microcontroller has a base CPI of 2 clock cycles. The performance characteristics of the processor show that it has an

(b) A processor in a microcontroller has a base CPI of 2 clock cycles. The performance characteristics of the processor show that it has an instruction miss rate of 12% and a data miss rate of 6%. The program executed by the microcontroller has instructions where, on average, 30% of them contain one data reference. The miss penalty for the cache is 10 cycles. What is the total CPI? [4 marks] a a a (c) A processor in a microcontroller with a two-level cache has a base CPI of 1.5 when all references hit the primary cache. The processor has a clock rate of 250 MHz, memory access time of 100 ns, miss rate at the primary cache of 5%, secondary cache access time of 10 ns, and miss rate at secondary cache of 1%. what is the total CPI? (10 marks]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
