diff options
Diffstat (limited to 'src/cpu/pred/BranchPredictor.py')
-rw-r--r-- | src/cpu/pred/BranchPredictor.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cpu/pred/BranchPredictor.py b/src/cpu/pred/BranchPredictor.py index 1b400c2b7..46112b123 100644 --- a/src/cpu/pred/BranchPredictor.py +++ b/src/cpu/pred/BranchPredictor.py @@ -53,6 +53,15 @@ class BranchPredictor(SimObject): +class StaticBP(BranchPredictor): + type = 'StaticBP' + cxx_class = 'StaticBP' + cxx_header = "cpu/pred/static.hh" + + staticPrediction = Param.Bool(False, "Static prediction") + + + class LocalBP(BranchPredictor): type = 'LocalBP' cxx_class = 'LocalBP' |