Giter Site home page Giter Site logo

jacob-pro / processor-simulator Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 736 KB

Bristol COMS30046 - Advanced Computer Architecture

License: GNU Lesser General Public License v2.1

C 5.70% Rust 92.22% Makefile 1.48% Shell 0.60%
cortex-m0 rust embedded-c emulator computer-architecture undergraduate

processor-simulator's Introduction

Processor Simulator

Build status

Bristol COMS30046 - Advanced Computer Architecture

Confirmed mark: 75

About

This is a partial simulator of the Cortex-M0 CPU - using the ARM Thumb instruction set.

It is capable of running small C programs along with the newlib standard library, that are compiled to elf binaries (see ./programs/Makefile).

I am using the Capstone framework to disassemble the ARM instructions.

Usage

Run ./mvb.sh to compile and run all the example programs with each simulator type.

USAGE:
    simulator.exe [OPTIONS] <program>

ARGS:
    <program>    Choose the name of the program to run

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -d, --debug <debug>    Level of debug information printed [default: 0]
    -s, --sim <sim>        Choose which simulator type [scalar, pipelined, outoforder]
        --stack <stack>    Set stack size in bytes [default: 4096]
    -u, --units <units>    Specify how many stations / execution units [default: 4]

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.