Code Monkey home page Code Monkey logo

sesc-redux's Introduction

Super ESCalar simulator REDUX

Superscalar processor simulator for in-order and out-of-order processors. It also simulates several configurations of multiprocessors. Currently supports the MIPS instructions set.

This version has been updated to support modern compilers, libraries, and operating systems. It is derived from the version published by Milos Prvulovic for the Georgia Tech CS 6290 class. The upstream version appears to have some additional functionallity, but it has also been last updated a long time ago (2009).

Building

You need a cross-compiler to build the binaries that are run, and you need to actually build the simulator.

Compile SESC

You will need a c++ compiler, make, Bison, and Flex installed.

$ make -j$(nproc)

The executable can be found in ./build/sesc.

Cross Compiler

Get a cross-compiler by executing the following:

$ cd cross-compiler
$ bash ./cross-compiler.sh

This uses Crosstool-NG to build a new mips-unknown-linux-uclibc toolchain.

This toolchain is by default installed in ~/x-tools, and you must run something like export PATH=$PATH:$HOME/x-tools/mips-unknown-linux-uclibc/bin/ before building any of the MIPS binaries.

Usage

Some example usage:

$ pushd apps/Splash2/lu
$ make
$ popd
$ ./build/sesc -fn64.rpt -c ./confs/cmp4-noc.conf -olu.out -elu.err apps/Splash2/lu/build/lu.mipseb -n64 -p1

Stderr can be found in lu.err, stdout in lu.out, and various statistics in sesc_lu.mipseb.n64.rpt. A slightly more readable statistics report can be show using ./scripts/report.pl sesc_lu.mipseb.n64.rpt

sesc-redux's People

Contributors

flaviut avatar

Stargazers

Mike Irlbeck avatar Blake Dixon avatar

Watchers

James Cloos avatar  avatar  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.