Question: "Consider two different implementations of the same instruction set architecture. The instructions can be divided into four classes according to their CPI (class A, B, C, and D). P1 with a clock rate of 2.5 GHz and CPIs of 1, 2, 3, and 3, and P2 with a clock rate of 3 GHz and CPIs of 2, 2, 2, and 2.
Provide a program with a dynamic instruction count of 1.0E6 instructions divided into classes as given: 10% class A, 20% class B, 50% class C, and 20% class D, which implementation is faster?"
Part 1: What is the global CPI for each implementation?
Part 2: Find the clock cycles required in both cases."
Can you explain show me, Is global CPI equal to average CPI?
What is the formula to calculate the global cpi ?
Are the classes relevant to the calculation of gobal cpi ?
Please describe specifically and answer the question step by step. Thank you.