Giter Club home page Giter Club logo

super_scalar_cpu's Introduction

aca

Super scalar pipelined processor simulator - Leo Lai

REQUIRES:
python 3.12.1
numpy 1.26.4
pandas 2.1.4
I recommend making a venv with e.g. miniconda found here: https://docs.anaconda.com/free/miniconda/miniconda-install/

Flags:
-no_print for no printing to terminal
-rob_size [value] for determining rob size (default 128)
-n_alu [value] number of alus
-n_lsu [value] number of lsu
-n_bra [value] number of branch units
-rs_bypass turns on reservation station bypassing
-f [path.asm] determines assembly file you want to run
-bra_pred turns on branch prediction
-dynamic turns on dynamic branch prediction
-static_style [FIXED_never/FIXED_always/STATIC]
determines static branching style -dyna_style [DYNAMIC_1bit/DYNAMIC_2bit]
determines dyanmic branching style -ooo turns on out of order execution
-step [value] allows you to do step by step execution, -1 skips to end, typing a value at each step jumps to that value. Can't jump backwards
-super_scaling [value] determines with of pipeline

To run a scalar version do "python main.py file.asm"
To run a pipelined super scalar version do "python main.py -f bubble_sort.asm -n_alu 4 -n_lsu 2 -n_bra 2 -bra_pred -static_style STATIC -dyna_style DYNAMIC_2bit -super_scaling 4 -rs_bypass -no_print"

The default asm file run is bubble sort.
Other options exist in /assembly_code

super_scalar_cpu's People

Contributors

haelai77 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.