A computer system containing CPU, OS and Compiler under MIPS architecture.
This repository contains three projects at core components of MIPS Microsystems.
five-stage
pipeline microprocessor that can support 70 instructions and handle basic exceptions and interrupts according to MIPS principlesvirtual memory
, process management
and system call
C0
programming language and MIPS assembly languagePlease refer to the project README for detailed information.
This is a 32-bit
microprocessor conforms to MIPS architecture.
This CPU is realized with Verilog
to make sure that it can be burnt onto a real-world chip or FPGA.
For displaying the work flow of CPU, changes of memory and registers are printed to the screen, so that the correctness can be checked and evaluated easily.
Below is an example of simulation result from XILINX
Strongly suggest using
ISE
orVivado
to develop your own functions.
Please refer to the project README for detailed information.
This is a basic operating system with Linux Kernel under MIPS architecture. When realizing it, all functions are divided into 5 parts below.
ELF
filefork
functionNote: Theoretically, this OS is able to be deployed on an ARM micro controller like
Raspberry PI
.
Please refer to the project README for detailed information.
This is a multi-pass compiler for C0
programming language and MIPS assembly language.
This compiler is designed to have two separate parts, front end and back end.
Below is an example for its compiling process
Strongly suggest using CMake
to execute this project