Question: Problem 1 ( 3 0 points ) . Consider the single - cycle datapath given in Figure 1 which implements the add, sub, beq, lw

Problem 1(30 points). Consider the single-cycle datapath given in Figure 1 which implements the add, sub, beq, lw, sw, j instructions. Modify this datapath to support the execution of the jr and jal instructions, in addition to the other instructions already implemented. Your answer should consist of a concise description of the changes you will make to the datapath as well as a figure that reflects the modified datapath with the additions highlighted.
Problem 2(30 points). Consider the execution of the following instructions in the modified datapath solved in Problem 1.
1. add \(\$ \mathrm{t}3,\$ \mathrm{~s}1,\$ \mathrm{a}0\)
2. jr \$s0
3. lw \$t0,4(\$t1)
4. jal LABEL
For each instruction, highlight in the datapath the portions of the hardware used by the instruction. Then write down the correct values for all the control signals RegDst, Jump, Branch, MemRead, MemtoReg, ALUOp, MemWrite, ALUSrc, RegWrite, and any control signal(s) added in Problem 1.
Problem 1 ( 3 0 points ) . Consider the single -

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!