Question

In: Computer Science

2 – The CPU design team is designing an instruction set with three classes of instructions....

2 – The CPU design team is designing an instruction set with three classes of instructions. Parameters are given in the following table. Consider a program with 65% ALU instructions, 20% memory access instructions, and 15% control instructions. What is the average CPI for this CPU?

Clock Rate: 4GHz

CPI for ALU Inst.: 4

CPI for Memory Inst.: 8

CPI for Control Inst.: 2

Solutions

Expert Solution

ALU instructions=65% and CPI for ALU instruction=4

Memory access instructions=20% and CPI for Memory instruction=8

Control instructions=15% and CPI for control instruction=2

                

ICi=instruction count of type i

CPIi=cycle per instruction of type i

IC=total instruction count

n=number of different types of instruction

Fi=Frequency of instruction of type i

Here n=3

Frequency of ALU instructions=65%=0.65 =F1

Frequency of Memory instructions=20%=0.20 =F2

Frequency of Control instructions=15%=0.15 = F3

CPI1=4(For ALU inst.) , CPI2=8(For Memory inst.) , CPI3=2(For Control inst.)

                                 

                              

plss like if u like my answer.


Related Solutions

Explain the difference between the three different levels of virtualisation: CPU Instruction Set level, Hardware Abstraction...
Explain the difference between the three different levels of virtualisation: CPU Instruction Set level, Hardware Abstraction Layer (HAL) level, and Operating System level.
Write an assembly program using the super simple cpu instruction set for the following problem. Take...
Write an assembly program using the super simple cpu instruction set for the following problem. Take input an integer from the user. Output three times the input to the output box. For example, if the user inputs 10 (base-10) then output box should show 30 (base-10). Hint: 3 * p can be calculated by doing p+p+p. ONLY write your assembly instructions here.
QUESTION 20 Floating-point instruction names begin with the letter F to distinguish them from CPU instructions....
QUESTION 20 Floating-point instruction names begin with the letter F to distinguish them from CPU instructions. True False 1 points    QUESTION 21 Which of the following exception conditions are recognized and detected by the floating point unit (FPU)? a. Inexact precision b. Divide by zero c. Numeric overflow d. Numeric underflow 1 points    QUESTION 22 How many operands can a floating-point instruction have? a. Can have zero operands. b. Can have two operands. c. Can have one immediate...
Write a possible assembly language instruction or set of instructions to accomplish the following: a) Compare...
Write a possible assembly language instruction or set of instructions to accomplish the following: a) Compare the byte stored at the memory location pointed to by register R4 to the upper (higher) byte stored in register R5 b) Branch to instruction at label ‘ZERO’ if the lower byte of register R6 is zero c) Jump to the instruction at label ‘EVEN’ if the value in register R7 is an even number
Consider two different implementations of the same instruction set architecture. The instructions can be divided into...
Consider two different implementations of the same instruction set architecture. The instructions can be divided into four classes according to their CPI (classes 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. Given a program with a dynamic instruction count of 1.0E6 instructions divided into classes as follows: 10% class A,...
For this assignment you will design a set of classes that work together to simulate a...
For this assignment you will design a set of classes that work together to simulate a police officer issuing a parking ticket. You should design the following classes: - The ParkedCar Class: This class should simulate a parked car. The class's responsibilities are as follows: - To know the car's make, model, color, license number, and the number of minutes that the car has been parked. - The ParkingMeter Class: This class should simulate a parking meter. The class's only...
Please answer the following: a. What are the key design issues for a microprocessor instruction set?...
Please answer the following: a. What are the key design issues for a microprocessor instruction set? b. Why do you consider the above design issues to be important? (please type answer)
Question 1- The sales team How to design, set up and manage a sales team, this...
Question 1- The sales team How to design, set up and manage a sales team, this is one of our greatest missions as a sales manager. Therefore, please explain: 1) How to design a sales team; 2) What type of indicators to use when evaluating their performance? 3) The alignment of the sales team with the organization.
List and define the three basic goals of a design team for the design of any...
List and define the three basic goals of a design team for the design of any building. Provide an example of each of the following types of construction. Bearing wall a. Beam-and-column b. Long-span c. High-rise d. Gable-frame List and describe two types of lateral load resisting systems commonly used in beam-andcolumn construction. Provide a simple definition of structural design. Give a description of both the LRFD and ASD design approaches. What is the fundamental difference between the methods? Identify...
Parking Ticket simulator For this assignment you will design a set of classes that work together...
Parking Ticket simulator For this assignment you will design a set of classes that work together to simulate a police officer issuing a parking ticket. You should design the following classes: • The ParkedCar Class: This class should simulate a parked car. The class’s responsibili-ties are as follows: – To know the car’s make, model, color, license number, and the number of minutes that the car has been parked. • The ParkingMeter Class: This class should simulate a parking meter....
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT