Giter Club home page Giter Club logo

mips1-processor-simulator's Introduction

MIPS Processor Simulator

1. THE PROJECT

MIPS processor simulation written in C++, along with testbench written in bash script to ascertain functionality of similar softwares.

2. FUNCTIONALITY

Mimics a MIPS processor in software by reading from an input binary file and performing the associated instructions. Modifies and reads from registers, memory and generates exceptions just like a MIPS 1 processor. Generates a return code based on actions performed.

3. REQUIRED SOFTWARE

  • C++ compiler (like gcc)
  • Preferably use a Linux OS.

4. HOW TO RUN

Download and use command in the terminal window:

make testbench

to create a testbench executable called bin/mips_testbench. Use command:

make simulator

to create an executable of the simulator called bin/mips_simulator. Then you can run the simulator on a binary file using command:

bin/mips_simulator xxx.bin

or test it with the testbench:

bin/mips_testbench bin/mips_simulator

Similar testbenches/ simulators may also be used.

MORE INFORMATION

This project is based on this spec. It was done as part of an assessment, but the implementation of the spec is the original work of the authors.

ACKNOWLEDGEMENTS

We are grateful to Olly Larkin whose parser (accessible here) we used to translate mips assembly in .txt files to binaries for testing.

mips1-processor-simulator's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.