Code Monkey home page Code Monkey logo

amdahls-vandals's Introduction

Branch Prediction with TAGE and L-TAGE

This repository contains our implementation of the TAGE and L-TAGE branch predictors in ChampSim, along with the results of some experiments and our final presentation. This work was done as part of a course project in CS 305: Computer Architecture, Autumn 2021.

Authors:

Team Amdahl's Vandals

Ankit Kumar Misra - 190050020
Aakriti - 190050002
Richeek Das - 190260036
Shabnam Sahay - 190050111
Sumit Jain - 190050119

Files Added:

  1. ./ChampSim/branch/tage.bpred:
    This file contains an implementation of the TAGE branch predictor with 12 tagged components.
  2. ./ChampSim/branch/ltage.bpred:
    This file contains an implementation of the L-TAGE branch predictor with 12 tagged components + 1 loop predictor.

Running a Simulation:

  1. Clone the repository.
$ git clone https://github.com/sudoRicheek/amdahls-vandals
  1. Store traces to be used in ./traces/
  2. Move into the ChampSim directory.
$ cd ChampSim/
  1. Build the ChampSim simulator using the branch predictor to be used, replacing <predictor> with either tage or ltage, or any other predictor present in ChampSim.
$ ./build_champsim.sh <predictor> no no no no lru 1
  1. Run the simulator on a trace of your choice.
$ ./run_champsim.sh <predictor>-no-no-no-no-lru-1core 10 10 <trace-filename>

The above steps will create a file in results_10M/, and will store the results of the simulation in it.

References:

  1. A case for (partially) tagged Geometric History Length Branch Prediction
  2. The L-TAGE branch predictor
  3. https://github.com/boubinjg/BranchPrediction
  4. https://github.com/2Bor2C/tage
  5. Championship Branch Prediction (CBP) 2016

amdahls-vandals's People

Contributors

sudoricheek avatar ankitkmisra 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.