summaryrefslogtreecommitdiff
path: root/src/mem/cache/replacement_policies/ReplacementPolicies.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/cache/replacement_policies/ReplacementPolicies.py')
-rw-r--r--src/mem/cache/replacement_policies/ReplacementPolicies.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/cache/replacement_policies/ReplacementPolicies.py b/src/mem/cache/replacement_policies/ReplacementPolicies.py
index f40d1459b..8a67deaa1 100644
--- a/src/mem/cache/replacement_policies/ReplacementPolicies.py
+++ b/src/mem/cache/replacement_policies/ReplacementPolicies.py
@@ -78,7 +78,7 @@ class BRRIPRP(BaseReplacementPolicy):
type = 'BRRIPRP'
cxx_class = 'BRRIPRP'
cxx_header = "mem/cache/replacement_policies/brrip_rp.hh"
- max_RRPV = Param.Int(3, "Maximum RRPV possible")
+ num_bits = Param.Int(2, "Number of bits per RRPV")
hit_priority = Param.Bool(False,
"Prioritize evicting blocks that havent had a hit recently")
btp = Param.Percent(3,
@@ -89,7 +89,7 @@ class RRIPRP(BRRIPRP):
class NRURP(BRRIPRP):
btp = 100
- max_RRPV = 1
+ num_bits = 1
class TreePLRURP(BaseReplacementPolicy):
type = 'TreePLRURP'