Question: Modify the datapath and control for the multicycle implementation to add the jal (jump and link) instruction. Remember that the jal instruction is like a
Modify the datapath and control for the multicycle implementation to add the jal (jump and link) instruction. Remember that the jal instruction is like a j (jump) instruction, but it also places the address of the instruction following the jal instruction in register $31 as a return address. Examine the figures below a n d on the following page showing the datapath and the finite state machine (FSM) control for the multicycle implementation, respectively. M ake t he appropriate modifications to both the datapath and the FSM control figures to support the jal instruction.
31-26 uAddross 20-16 no gistar 2 data 1 ALU AL [15-01 Mb mory ALU bft 2 register fetch IRWrite ALUSreB-01 ALUOp-00 ALUSreB-11 ALUOp -00 PCWrite PCSouroe 00 Memory address Op a R-type Branch completion comple tion 9 LUSreB 00 PCWriteCond PCSoure 01 ALUSCA-1 ALUSrcB-10 ALUOp- 00 PCSouroe 10 ALUOp-10 Memory R-type completion MemRead lorD-1 MemWrite lorD -1 RegDst 1 RegWrite MemtoReg-0 RegDst-o RegWrite MemtoReg-1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
