Question: For Computer Organization and Architecture 1.6 (16 pts) Consider two different implementations of the same instruction set architecture. The instructions can be divided into four

For Computer Organization and Architecture

For Computer Organization and Architecture 1.6 (16 pts) Consider two different implementationsof the same instruction set architecture. The instructions can be divided into

1.6 (16 pts) Consider two different implementations of the same instruction set architecture. The instructions can be divided into four classes according to their CPI . We'll label them A: Integer, B: Floating Point, C: Load/Store and D: Control. Assume our program runs for 2 million instructions. More data you'll need: P1 Clock rate P2 Clock rate 5.92E+09 Hz 3.77E+09 Hz P1 CPI P2 CPI 4.394.61 8.85 10.44 14.04 8.72 12.56 11.86 IC % 9.00 Class A Class B Class C Class D 4.00 69.60 17.40 To walk through an example, the Integer instructions, which we labeled A, require 4.39 cycles per instruction on P1, 4.61 on P2, and represent 9% of all instructions, or 180,000 of the 2M instructions. a. (8 pts) How many instructions are run in each category? Class A Class B Class C Class D Total 2.00E+06 b. (4 pts) What is the global CPI for each implementation? For P1: For P2: c. (4 pts) Calculate how long each CPU will spend calculating all of the cycles required to run the program's instructions, given the clock speed of each CPU. Answer in the proper prefix to seconds as described in 1.5(f), not in scientific notation. Use 4 digits of significance. P1: P2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!