Question: Consider the single-cycle MIPS datapath with control signals as presented in Figure 1. We want to add a new instruction to the MIPS instruction set
Consider the single-cycle MIPS datapath with control signals as presented in Figure 1. We want to add a new instruction to the MIPS instruction set architecture:foo. Its specification is as follows: Your task is to modify the MIPS datapath so that it can fulfill this new instruction foo. To do that, you should:(i) add new wires, ports, circuitry, MUX, control signals, etc. to the datapath so that it can execute the new instruction foo
| foo $rt $rs IMM | Mem[Reg[$rs]]Reg[$rt] Reg[$rt]Mem[Reg[$rs] + Reg[$rt]] Reg[$rs]Reg[$rs] + IMM PCPC + 4 |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
