Question: 4. (10 pts) The following MIPS single-cycle datapath cannot perform Divide instruction. Indicate any changes to the datapath that must be done in order to

4. (10 pts) The following MIPS single-cycle datapath cannot perform Divide instruction. Indicate any changes to the datapath that must be done in order to support Div instruction, e.g., adding extra wires, extra logic gates, extra registers, etc. Do your modification on the following figure if necessary, and show the dataflow for this instruction using dash lines on the modified figure. Also show the values of the corresponding control signals in the following table and add new control signals to the table if needed. Note that a multiply instruction, such as div St1, St2, uses only two source registers in the instruction, and its encoding is shown below. opcode R Rt 10 rd shamt Fune code 26 Aed ALLu PCSR eh 2 nsction 25-23 ALU ALu Ante Dats nsuction 15-0) ALUOP Control MemRead Mem Write ALUsre RegDst Reg Write MemtoReg ALUop Signal Value
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
