Question: ? ? ? Modify the single-cycle datapath (page 3/3) by implementing the instruction 'SWI' (store- word-and-increment). Below is the syntax. The instruction below will store

Modify the single-cycle datapath (page 3/3) by implementing the instruction 'SWI' (store-? ? word-and-increment). Below is the syntax. The instruction below will store the value?

Modify the single-cycle datapath (page 3/3) by implementing the instruction 'SWI' (store- word-and-increment). Below is the syntax. The instruction below will store the value in $t0 to memory location at address ($s0+88). Then, it will increment $s0 by 4. SWI St0, 88(Ss0) This is the encoding of the instruction above: unique s0 to opcode (6) rs (5) rt (5) Draw the changes on the datapath diagram and provide the values of all the control signals. 88 offset (16) PC Read address Add Instruction [31-0] Instruction memory Instruction [31-26] Instruction [25-21] Instruction [20-16] Instruction [15-11] Instruction [15-0] Control MXENO RegDst Branch MemRead MemtoReg ALUOP MemWrite ALUSro RegWrite Read register 1 Read register 2 Write register 16 Write data Read data 1 Read data 2 Registers Sign extend Instruction [5-0] 32 Shift left 2 Add ALU control ALU result Zero ALU ALU result (MX Read Address data Data Write memory data

Step by Step Solution

3.55 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To implement the SWI instruction storewordandincrement in a singlecycle datapath you need to modify the existing datapath and specify the control sign... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mechanical Engineering Questions!