Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(8 pts) [20] Consider two different implementations of the same instruction set architecture. The instructions can be divided into four classes according.to their CPI (class

image text in transcribed

image text in transcribed

(8 pts) [20] 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). They might, for example, be Integer instructions, Floating Point instructions, Load/Store instructions and Control instructions like jump and branch 4. P1 has a clock rate of 3.0 GHz and P2 has a clock rate of 4.0 GHz For P1, the CPIs for instruction types A-D are 1, 2, 3, and 3. For P2, the CPIs for instruction types A-D are 2, 3, 2, and 1 We have 2 million instructions in our program Our distribution of instructions is 15% A, 30% B. 45% C and 10% D (2 pts) How many instructions are run for each class? (fill in below) (2 pts) How many cycles does each processor require? (fill in below) a. b. I-Class Distribution I-Count P1 CPI P1 Cycles P2 CPIP2 Cvcles 15% 3090 45% 10% 100% Totals N/A N/A (2 pts) What's the total execution time for each processor? (this tells you the faster one Total cycles +processor speed gives us elapsed time. Total execution time for P1 Total execution time for P2: ms d. (2 pts) What's the overall "Global") CPI for each processor? Global CPI is total cycles Global CPI for P1 Global CPI for P2 total instructions

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

can you help me model the situation and create it in Simulink

Answered: 1 week ago