This project is a part of ILab activity at Moscow Institute of Physics and Technology (MIPT).
The aim of the project is to teach the students the computer architecture through development of a microprocessor implementing the MIPS instruction set in both functional and performance simulators.
This repository contains source files of cycle-accurate simulator (aka performance or pre-silicon simulator) of MIPS CPU.
More details about the project are available on Wiki
- Install MIPS binutils if you need to build MIPS ELF binaries.
- MIPT-MIPS requires LibELF and Boost. We have an instruction how to get them
- In POSIX environment (Linux, OSX, Windows-Ubuntu, and Msys) you can build MIPT-MIPS just by
make mipt-mips
command - WIP on MS Visual Studio support. Currently you can build MIPT-MIPS in command line using
build.cmd
batch file.
MIPT-MIPS is written in C++17. Thus, you have to use one of these compilers:
- GCC 7 or higher
- MS Visual Studio 2017 or higher
- Clang 5.0 or higher
Required version of Boost is 1.55.
-b <filename>
— provide path to ELF binary file to execute-n <number>
— number of instructions to run-f
— enables functional simulation only-d
— enables detailed output of each cycle
- Reduced subset of MIPS instructions is supported at the moment.
Yes, if you attend MIPT-MIPS lectures. See our CONTRIBUTING.md file for details.