- specify your benchmark directory , gem 5 directory information in main_program.py
- In replacment.py specify your branchprediction.py and tsimplecpu.py path locations.
- enter the command for running gem5 with all the paths specified from home to the final location.
- before the first run in basesimplecpu.py change the branch value to be "NULL"
- place comment tags for the places we need to change like as shown in the sample branchpredictor.py or copy the simplecpu.py and branchpredictor.py to the locations in your gem5 and replace with the ones given
- main program.py and replacementfunctions.py has to be kept in the gem5directory.
- the output files are configured to be saved in the benchmark directory/output so you have to make sure you set this directory is the output directory when you call the program
- runGem5_458.sh , runGem5_470.sh in the gem5 directories along with the files we needed. rungem5_429 and other will be found in gem5 scripts
- in rungem5_458.sh make sure the paths refernaes to the same location.
- always make sure the paths are specified.
- if the program breaks in between make sure you repeat step 4.
-
Notifications
You must be signed in to change notification settings - Fork 0
madmax3000/branchpredictors
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published