I have a MIPS code. There are 189 instructions and 55 of them are memory instructions.
There are some values that are given,
Data cache miss rate = 20%
Miss penalty = 100 Clock Cycles.
And the question is to calculate total CC for code and average CPI for instruction? I know these two things but I couldn't figure out how can use miss rate and miss penalty in the formula. Shouldn't be there an instruction cache rate?