Consider the following modification: revise the instruction set architecture and
ID: 3688860 • Letter: C
Question
Consider the following modification: revise the instruction set architecture and remove the ability to specify an offset for memory access instructions. Specifically, all load and store instructions with non-zero offsets would become pseudo-instructions and would be implemented using two instructions such as shown beneath this question. What changes would you make to the single-cycle datapath and control if the simplified architecture were to be used?
addi $at, $t1, 104 # add the offset to a temporary
lw $t0, $at # new way of doing lw $t0, 104($t1)
Explanation / Answer
Since there is no counterbalanced then the powerful deliver computation doesn't have to invovlve the ALU as the balance is successfully zero . Instead of utilizing the ALU to include 0 the datapath can be changed to give an immediate way to Read Data 1 yield to the read/write address lines of the memory gadget.
In this situation the yield of the ALU is no more associated with the memory address lines. The control doesn't have to change yet now some control signs are don't cares. On the off chance that we expect we are not actualizing addi or addiu it is conceivable to evacuate ALU Src and its MUX by having quite recently the Read Data 2 ouput going into the ALU