Giter Club home page Giter Club logo

unext_sim's Introduction

UNEXT Simulator: RISC like out of order processeor

This repository contains a simple implementation of the 32 bit RISC out of order processor.

Development toolchains:

The proposed algorithm was developed under Debian Linux 64bit operating system(version 11.6), with the following toolchains:

Tool name Version Description
g++ 10.2.1 C++ compiler (standard 0x17)
ld 2.35.2 GNU linker
make 4.3 GNU make (builder)

How to compile:

Locate the root source code, then type the folowing:

$ make clean
$ make -j4

If the compilation process proceeds successfully, you will see "unext_sim" binary under build directory.

Usage:

UnextSim CPU simulator
./unext_sim -file [-debug] [-pc]
where:
        -file           [required]      Input binary file.
        -pc             [optinal ]      Input binary file, integer >=0, default(0).
        -instruction    [optinal ]      Instruction count >=0, default(0). If =0 execute all instrucitons.
        -debug          [optinal ]      Show debugging info, defualt(false)

How to Run

$ build/unext_sim -file app/test.bin

Unittest:

Locate the root source code, then type the folowing:

$ make unittest
$ ./build/unittest

Note: The unittest is based on Google gtest.

Author

Ahmed Dajani, Email: [email protected]

unext_sim's People

Contributors

adajani avatar

Stargazers

 avatar

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.