Question: In a MIPS single-cycle data path, the control unit takes as input the leading 6 bits from a machine instruction and outputs the 9 control
In a MIPS single-cycle data path, the control unit takes as input the leading 6 bits from a machine instruction and outputs the 9 control bits that determine what actions are taken in the datapath.
Specify, in hex, the 6 input bits to the control unit and the 9 control unit output bits for each instruction listed below. Assume that the output bits are arranged in the following order left to right:
RegDst, RegWrite, Branch, MemtoReg, MemRead, MemWrite, ALUOp1, ALUOp0, ALUSrc.
a) (6) sw $3,4($5) inputs = _______ outputs = ________
b) (6) beq $8,$9,exit inputs = _______ outputs = ________
c) (6) addiu $3,$4,7 inputs = _______ outputs = ________
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
