Question: Modify the single-cycle datapath by implementing the load word indexed instruction (lwx). Below is the syntax and the encoding. The instruction below reads the word
Modify the single-cycle datapath by implementing the load word indexed instruction (lwx). Below is the syntax and the encoding. The instruction below reads the word from memory address (t1+t2) and stores it in register t0.
lwx $t0, ($t1 + $t2)
| Unique | T1 | T2 | T0 | 0 | 0 |
Opcode rs rt rd shamt funt
a) Give the functional form of the instruction based on the register names.
b) Give the functional form based on the instruction fields.
c) Draw the changes on the datapath diagram.
d) Give the values of the control signals.
The image below is a screenshot of the question.

wx). Below is the syntax and the encoding. The instruction below reads the word from memory address (ti+t2 and stores it in register to lwx Sto, (St1 St2) 12 0 0 unique opcode rd Shamt funct TS a) Give the functional form of the instruction based on the register names. bO Give the functional form based on the instruction fields. c) Draw the changes on the datapath diagram. dD Give the values of the control signals. wx). Below is the syntax and the encoding. The instruction below reads the word from memory address (ti+t2 and stores it in register to lwx Sto, (St1 St2) 12 0 0 unique opcode rd Shamt funct TS a) Give the functional form of the instruction based on the register names. bO Give the functional form based on the instruction fields. c) Draw the changes on the datapath diagram. dD Give the values of the control signals
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
