Question: - Implement the MIPS ( mathbf { j } ) instruction. This instruction is quite a bit different from the others in
Implement the MIPS mathbfj instruction. This instruction is quite a bit different from the others in that it is the first JTYPE instruction to be implemented. Recall that the mathbfj instruction uses the bottom bits of the instruction word to hold the address to jump to while the OP field should have the value h The MIPS instruction set specification allows these bottom bits to be extended to bits by leaving the top bits of the program counter unchanged which, given that your Verilog code is not implementing the full memory space, will always be suffice to say that mathrmpc BranchZeroMux; does not currently take the possibility of a mathbfj instruction into account.
Note that the memory interface in this Verilog implementation is reg WORD m MENT; and thus memory is indexed by addresses of bit words, not bit bytes, so the bottom two address bits are ignored. For example: assign irmpc;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
