Consider two different implementations of the same instruction set architecture. The instructions can be divided into four...

70.2K

Verified Solution

Question

Electrical Engineering

Consider two different implementations of the same instructionset architecture.

The instructions can be divided into four classes according totheir CPI (classes A, B, C, and D).

P1 with a clock rate of 2.5 GHz and CPIs of 1, 2, 3, and 3, andP2 with a clock rate of 3 GHz and CPIs of 2, 2, 2, and 2.

Given a program with a dynamic instruction count of 1.0E6instructions divided into classes as follows:

10% class A, 20% class B, 50% class C, and 20% class D,

which is faster: P1 or P2?

a. What is the global CPI for each implementation?

b. Find the clock cycles required in both cases.

Answer & Explanation Solved by verified expert
3.7 Ratings (710 Votes)
Total instructions 106 No of class A instructions 10100 106 105 No of class B instructions 20100 106 2105 No of class C instructions 50100 106 5105 No of class D instructions 20100 106 2 105    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students