Skip to content

aayushborkar14/MIPS-Processor

Repository files navigation

MIPS Processor and Assembler

This is a single-cycle implementation of MIPS in verilog. The processor is capable of executing the following instructions:

  • R-type instructions: add, sub, and, or, slt, sll, srl
  • I-type instructions: addi, lw, sw, beq
  • J-type instructions: j

To run an assembly program, you can use the assembler provided as assemble.py. Run it as follows:

python assemble.py <assembly_file> -o <output_file>
make run

The Instruction Memory, by default loads memfile.dat, so be sure to set output_file as memfile.dat or set the filename in imem.v.

About

MIPS Processor in Verilog HDL with a simple assembler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published