Implementation of TinyMIPS processor for USTB computer composition principle course design.
OpCode | Description |
---|---|
ADDU | N/A |
ADDIU | N/A |
SUBU | N/A |
SLT | N/A |
SLTU | N/A |
AND | N/A |
LUI | N/A |
OR | N/A |
XOR | N/A |
SLL | N/A |
SLLV | N/A |
SRAV | N/A |
SRLV | N/A |
BEQ | N/A |
BNE | N/A |
JAL | N/A |
JALR | N/A |
LB | N/A |
LBU | N/A |
LW | N/A |
SB | N/A |
SW | N/A |
With no exceptions/interrupts supported.
- Register file;
- Basic pipeline and
ADDU
instruction; ADDIU
andLUI
instruction;- Handle data dependencies;
- Jump/Branch instructions;
- Memory accessing instructions;
- Handle data dependencies again (pipeline controller).
If you are using Vivado, after importing source files, you may need to do the following things:
- Go to "Tools - Settings... - General - Verilog options", add
src\cpu\include
to search paths. - Select all include files in "Project Manager", then right click and click "Set Global Include".