Question: 5. (7 points) This question refers to the pipelined datapath without forwarding, shown below and in Figure 4.51 in the textbook Consider the instructions 100

 5. (7 points) This question refers to the pipelined datapath without

5. (7 points) This question refers to the pipelined datapath without forwarding, shown below and in Figure 4.51 in the textbook Consider the instructions 100 add $2, $3, $0 104 beq $1, $2, 60 108 lw $4, 80($6) 112 add $2, $2, $4 Consider the pipeline when the 100 add instruction is in the WB stage, the 104 beq in- struction is in the MEM stage, the 108 lw instruction is in the EX stage, and the 112 add instruction is in the ID stage. In the figure below, state the decimal values on the umbered blank lines 1-7. In this figure, the instructions have been drawn above the appropriate set of pipeline stages. Note: The blank lines do not refer to control bits. Line #2 refers to read register 1. line #6 refers to the address going into data nemory. All other line numbers refer to the decimal value on the line immediately below or beside it. Before these instructions begin execution, register i contains the value 12210 add $2, $2, $4 lw $4, 80 ($6) beg $1, s2, 60 add $2,$3, $0 NEX KXMKM F/ID Add Add rrgister Repisters Read ALU ALI Dat dat rite data Sign 7 6. (3 points) This question refers to the pipelined datapath from the previous question on this assignment. State how many bits wide the Intermediate Register EX/MEM must be in order to store all the required data and control bits. You must show your work 5. (7 points) This question refers to the pipelined datapath without forwarding, shown below and in Figure 4.51 in the textbook Consider the instructions 100 add $2, $3, $0 104 beq $1, $2, 60 108 lw $4, 80($6) 112 add $2, $2, $4 Consider the pipeline when the 100 add instruction is in the WB stage, the 104 beq in- struction is in the MEM stage, the 108 lw instruction is in the EX stage, and the 112 add instruction is in the ID stage. In the figure below, state the decimal values on the umbered blank lines 1-7. In this figure, the instructions have been drawn above the appropriate set of pipeline stages. Note: The blank lines do not refer to control bits. Line #2 refers to read register 1. line #6 refers to the address going into data nemory. All other line numbers refer to the decimal value on the line immediately below or beside it. Before these instructions begin execution, register i contains the value 12210 add $2, $2, $4 lw $4, 80 ($6) beg $1, s2, 60 add $2,$3, $0 NEX KXMKM F/ID Add Add rrgister Repisters Read ALU ALI Dat dat rite data Sign 7 6. (3 points) This question refers to the pipelined datapath from the previous question on this assignment. State how many bits wide the Intermediate Register EX/MEM must be in order to store all the required data and control bits. You must show your work

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!