This project was moved to https://gitlab.c3sl.ufpr.br/roberto/cmips

The code here is no longer up to date.

The VHDL model mimics the pipeline design described in Patterson & Hennessy's book (Computer Organisation and Design) and is an almost complete implementation of the MIPS32r2 instruction set. The TLB and assorted control registers will be included soon (as of fev 2015). The model was synthesized for an Altera EP4CE30F23. The model uses up 15% of combinational blocks and 5% logic registers.

Features

  • Processor model runs C code, compiled with GCC
  • Testbench includes processor, RAM, ROM and file I/O
  • Core has all forwarding paths and is fully interlocked for data and control hazards
  • Coprocessor0 is partially implemented, six hardware interrupts + NMI implemented in "Interrupt Compatibility Mode"
  • The instructions break, syscall, trap, mfc0, mtc0, eret, ei, di, ll, sc are implemented
  • Partial-word loads and stores (word, half-word, byte) implemented at the processor's memory interface

Project Samples

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3)

Follow cMIPS

cMIPS Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of cMIPS!

Additional Project Details

Operating Systems

uClinux

Intended Audience

Education, Engineering

User Interface

Command-line

Programming Language

Assembly, VHDL/Verilog

Related Categories

Assembly Hardware Platform, Assembly Embedded Systems Software, VHDL/Verilog Hardware Platform, VHDL/Verilog Embedded Systems Software

Registered

2013-10-03