Skip to content

Ephemeral-rose/TinyMIPS_extend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyMIPS

Implementation of TinyMIPS processor for USTB computer composition principle course design.

TinyMIPS's ISA

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.

Recommended Implementation Order

  1. Register file;
  2. Basic pipeline and ADDU instruction;
  3. ADDIU and LUI instruction;
  4. Handle data dependencies;
  5. Jump/Branch instructions;
  6. Memory accessing instructions;
  7. Handle data dependencies again (pipeline controller).

Note

If you are using Vivado, after importing source files, you may need to do the following things:

  1. Go to "Tools - Settings... - General - Verilog options", add src\cpu\include to search paths.
  2. Select all include files in "Project Manager", then right click and click "Set Global Include".

NEW ADD

OpCode Description
JR N/A
ORI N/A
ANDI N/A
MFHI N/A
MFLO N/A
MTHI N/A
MTLO N/A
DIV N/A
DIVU N/A
MULT N/A
MULTU N/A
MFC0 N/A
MTC0 N/A
ERET N/A
BREAK N/A
SYSCALL N/A

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published