Question: Show your work. No points will be given if you do not show your work. Assume you are using the RV321 ISA, unless otherwise specified.

 Show your work. No points will be given if you donot show your work. Assume you are using the RV321 ISA, unless

Show your work. No points will be given if you do not show your work. Assume you are using the RV321 ISA, unless otherwise specified. You are allowed to use calculators for bin hex. 1. You are given the following program (using the RV32M ISA): 10: LW, X6, 0(X8) 11: LW, X7, 0(X9) 12: MUL, X6, X6, X6 13: MUL X7,X7, X7 14: ADD X28, X6, X7 MUL takes 20 cycles to finish execution. ADD takes 10 cycles to finish execution. LW takes 5 cycles to finish execution. Assume that execution of one instruction cannot begin until the previous instruction has finished executing. a. What is the CPI? What is the IPC? (2 points) b. You are given two computers. Computer "A" has a clock frequency of 2.5 GHz (2.5*10 cycles per second), and computer B has a clock of 3.0 GHz (3.0*109 cycles per second). How much time will it take for each of them to execute the program? (2 points) c. What is the speedup of computer B over computer A? (1 point) Show your work. No points will be given if you do not show your work. Assume you are using the RV321 ISA, unless otherwise specified. You are allowed to use calculators for bin hex. 1. You are given the following program (using the RV32M ISA): 10: LW, X6, 0(X8) 11: LW, X7, 0(X9) 12: MUL, X6, X6, X6 13: MUL X7,X7, X7 14: ADD X28, X6, X7 MUL takes 20 cycles to finish execution. ADD takes 10 cycles to finish execution. LW takes 5 cycles to finish execution. Assume that execution of one instruction cannot begin until the previous instruction has finished executing. a. What is the CPI? What is the IPC? (2 points) b. You are given two computers. Computer "A" has a clock frequency of 2.5 GHz (2.5*10 cycles per second), and computer B has a clock of 3.0 GHz (3.0*109 cycles per second). How much time will it take for each of them to execute the program? (2 points) c. What is the speedup of computer B over computer A? (1 point)

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!