Question: Consider the basic single - cycle MIPS datapath that implements a subset of the MIPS instruction set ( add , subtract, and, or , Iw
Consider the basic singlecycle MIPS datapath that implements a subset of the MIPS instruction set add subtract, and, or Iw sw beq, jump We would like to modify this datapath to implement the swapm instruction:
Instruction: swapm rs rt
Interpretation: Rrt MRrs & MRrs Rrt
a Which existing blocks will we use? Do we need to add new functional units or modify exisiting ones? Use the figure to highlight the active datapath and add any required extra signalscompents
b Do we need new control signals to support this instruction? Fill table with control signal values that will ensure the correct flow of data for swapm.
RegDst
ALUSrc
ALUOp
MemRead
MemWrite
MemtoReg
RegWrite
Branch
Jump
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
