Menu
support@nursinghomework.org
+1 714-215-3097

(Solved) : Would Like Add Sll Shift Left Logical Instruction Single Cycle Datapath Discussed Class Ne Q35619418

We would like to add the “sll” (shift left logical) instructionto the single cycle datapath discussed in class.  Youwill need to feed the shamt field to the ALU so that it can shiftusing the shift amount. (You can assume that the ALU has animplementation of shift left logical if a shift amount and aninteger to be shifted are inserted and its ALUOp is 11.) Tracewhich datapaths in the following picture are used to perform the“sll“ instruction by marking the paths, and add datapath(s) andcontrol signal(s) to the single-cycle datapath for the “sll”instruction, if it is necessary. (You should also make sure thatpreviously existing instructions such as R-format(add,sub,and,or,slt), lw, sw, and beq still work with thisadditional instruction.)

Add Add resut Shift left 2 RegDst Instruction (31-28] Control Mernto ALUSrc Instruction 125-211 Read register 1 Read PC addre

Add Add resut Shift left 2 RegDst Instruction (31-28] Control Mernto ALUSrc Instruction 125-211 Read register 1 Read PC address data 1 struction 20-16 register 2 | register Wrte (31-0] ALU ALU M Wrte Instruction | |instruction [15-11]浂| resutAddress Head data 2 MI data Registers Writo memory data instruction [15-01 Sign32 ALU control Instruction [5-0 Show transcribed image text Add Add resut Shift left 2 RegDst Instruction (31-28] Control Mernto ALUSrc Instruction 125-211 Read register 1 Read PC address data 1 struction 20-16 register 2 | register Wrte (31-0] ALU ALU M Wrte Instruction | |instruction [15-11]浂| resutAddress Head data 2 MI data Registers Writo memory data instruction [15-01 Sign32 ALU control Instruction [5-0

Leave a Reply

Your email address will not be published. Required fields are marked *