Question: * * * ( Important ) * * * * * * The part written in red is the answer to this question. Keep in

***(Important)***
*** The part written in red is the answer to this question. Keep in mind that the part written in red is the correct answer and explain the process in detail one by one while looking at the table. I really don't have any knowledge in this field, so please explain the process carefully and kindly. ***
Look at the following MIPS code and answer the question.
8-1.(10 points) Show the command execution action in the multi-cycle pipeline diagram below. Mark step 5 IFID,EX,M,W, and bubble as X. However, there is no forwarding unit.
\table[[,01,02,03,0,05,06,,07,08,09,10,11,12,13,14,15,16,17,18],[I1: ADD,If,ID,EX,M,w,,,,,,,,,,,,,,],[12: SUB,,if,,X,10,e),,M,w,,,,,,,,,,],[13: ADD,,,,,If,10,,1,M,w,,,,,,,,,],[14: LW,,,,,,IF,,ID,EX,M,w,,,,,,,,1],[IS: LW,,,,,,,,IF,,,ID.,EX,M,w,,M,W,,],[16: SW,,,,,,,,,,,IF,X,X,II,ID,EX,M,w,],[17: AND,,,,,,,,,,,,,,if,,,,,]]
8-2.(10 points) Add the forwarding unit, repeat question 8-1.
\table[[,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18],[I1: ADD,If,ID,EX,M,w,,,,,,,,,,,,,],[12: SUB,,If,ID,EX,M,W,,,,,,,,,,,,],[13: ADD,,,If,ID,EX,M,W,,,,,,,,,,,],[14: LW,,,,IF,ID,EX,M,W,,,,,,,,,,],[IS: LW,,,,,If,,10,EX,M,w,,,,,,,,],[16: SW,,,,,,,If,ID,EX,M,W,,,,,,,],[17: AND,,,,,,,,IF,ID,EX,M,W,,,,,,]]
8-3.(10 points) Average CPI is defined as the average cycle taken to process one command, and is obtained by dividing "the total number of cycles taken to process all commands" by the total number of commands. Find the average CPI for each of the two cases and find how many times the performance has improved by adding the forwarding unit.
Answer:
17/12) imptorement.
* * * ( Important ) * * * * * * The part written

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 Programming Questions!