whatsapp

Connect on Whatsapp : +1 206 673 2541, Uninterrupted Access 24x7, 100% Confidential. Connect Now

Computer Architecture | Computer Science homework help

  • Consider two different implementations, M1 and M2, of the same instruction set. There are three classes of instructions (A, B, and C) in the instruction set. M1 has a clock rate of 60MHz and M2 has a clock rate of 80MHz. The average number of cycles of each instruction class and their frequencies (for a typical program) are as follows:
Instruction ClassM1-cycles/instruction classM2-cycles/instruction classFrequency
A1250%
B2320%
C3430%
  1. Calculate the average CPI for each machine, M1 and M2.
  2. Calculate the CPU execution time of M1 and M2.
  • Assume that there are 3 different types of instructions in a program. 70% of the instructions have a CPI of 1, 20% of the instructions have a CPI of 2 and the remainder have a CPI of 4.

What is the average CPI for this program?

  • What is true about the register file?
  1. Registers are read only if RegWrite is 0.
  2. Registers are read only if RegWrite is 1.
  3. Registers are always read, but the results may not be used.
  4. Registers are read only if required for the instruction.
  • In what stage is the control Jump used?
  1. IF
  2. ID
  3. EX
  4. MEM
  5. WB

 

 

Solution:

Looking for help with your homework?
Grab a 30% Discount and Get your paper done!

30% OFF
Turnitin Report
Formatting
Title Page
Citation
Place an Order

Calculate your paper price
Pages (550 words)
Approximate price: -