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.
Team Amdahl's Vandals
Ankit Kumar Misra - 190050020
Aakriti - 190050002
Richeek Das - 190260036
Shabnam Sahay - 190050111
Sumit Jain - 190050119
./ChampSim/branch/tage.bpred
:
This file contains an implementation of the TAGE branch predictor with 12 tagged components../ChampSim/branch/ltage.bpred
:
This file contains an implementation of the L-TAGE branch predictor with 12 tagged components + 1 loop predictor.
- Clone the repository.
$ git clone https://github.com/sudoRicheek/amdahls-vandals
- Store traces to be used in
./traces/
- Move into the ChampSim directory.
$ cd ChampSim/
- Build the ChampSim simulator using the branch predictor to be used, replacing
<predictor>
with eithertage
orltage
, or any other predictor present in ChampSim.
$ ./build_champsim.sh <predictor> no no no no lru 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.