While explaining this datapath, we did not discuss instructions that does immediate arithmetic, such as addi. Let’s assume we need to incorporate the addi instruction in our processor design. Answer the following questions: a) Do we need to add any additional logic block to the design presented in the slide? If yes, what do we need to add and where? If not, describe the sequence of the existing logic blocks that will be utilized by the execution of the addi instruction. b) What will be the values (asserted or deasserted) of the following signals generated by the control unit to execute the addi instruction: Branch, MemRead, MemToReg, MemWrtie, ALUSrc, RegWrite? For each signal, provide justifications for your answer.
While explaining this datapath, we did not discuss instructions that does immediate arithmetic, such as addi. Let’s assume we need to incorporate the addi instruction in our processor design. Answer the following questions:
-
a) Do we need to add any additional logic block to the design presented in the slide? If yes, what do we need to add and where? If not, describe the sequence of the existing logic blocks that will be utilized by the execution of the addi instruction.
-
b) What will be the values (asserted or deasserted) of the following signals generated by the control unit to execute the addi instruction: Branch, MemRead, MemToReg, MemWrtie, ALUSrc, RegWrite? For each signal, provide justifications for your answer.
Step by step
Solved in 3 steps