diff options
Diffstat (limited to 'src/mem/cache/replacement_policies/ReplacementPolicies.py')
-rw-r--r-- | src/mem/cache/replacement_policies/ReplacementPolicies.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mem/cache/replacement_policies/ReplacementPolicies.py b/src/mem/cache/replacement_policies/ReplacementPolicies.py index 5737fa450..0bbf1d16b 100644 --- a/src/mem/cache/replacement_policies/ReplacementPolicies.py +++ b/src/mem/cache/replacement_policies/ReplacementPolicies.py @@ -90,3 +90,9 @@ class RRIPRP(BRRIPRP): class NRURP(BRRIPRP): btp = 0 max_RRPV = 1 + +class TreePLRURP(BaseReplacementPolicy): + type = 'TreePLRURP' + cxx_class = 'TreePLRURP' + cxx_header = "mem/cache/replacement_policies/tree_plru_rp.hh" + num_leaves = Param.Int(Parent.assoc, "Number of leaves in each tree") |