Home /
Expert Answers /
Other /
consider-the-basic-single-cycle-mips-datapath-that-implements-a-subset-of-the-mips-instruction-set-a
(Answered): Consider the basic single cycle MIPS datapath that implements a subset of the MIPS instruction set ...
Consider the basic single cycle MIPS datapath that implements a subset of the MIPS instruction set (add subtract, and, or, lw, sw, beq. jump). We would like to modify this datapath to implement the jal instruction: Instruction Interpretation jal address Reg.13 11 = PC + 4 PC = (PC+4[31:28, address, 2003 (a) Which existing blocks will we use? Do we need to add new functional units or modify existing ones? Use the figure below to highlight the active datapath and add any required extra signals/components. Instruction (25-01 left 2 PC+4[31-28) OXC RegWrite Instruction (25-21] Mem Write PC Read data Instruction (20–16] MentoReg ALUSre Read address Instruction [31-01 Instruction memory Read register1 Read register 2 Write register Read data 2 Zero > ALU ALU result Address Read data Instruction (15-11) ?? Write data Registers RegDst Instruction (15-0 White data Data memory 16 Sign MemRead Instruction (5-0) ALUOP b) Do we need new control signals to support this instruction? Fill in the table below with the control signals values that will ensure the correct flow of data forjal. Note: Empty rows are left for you to fill if you think you need extra control signals. RegDst ALUSrc ALUOP Mem Read Mem Write MemtoReg RegWrite Branch Jump