From ce9d9c9a4c119131bdcfd774f1c2a2cf28e42db9 Mon Sep 17 00:00:00 2001 From: "Daniel R. Carvalho" Date: Mon, 12 Mar 2018 12:08:33 +0100 Subject: mem-cache: Create NRU Replacement Policy Implementation of a Not Recently Used replacement policy. Change-Id: I24ab3a6f1db6dcb756b869cfebb5c4bc544170e8 Reviewed-on: https://gem5-review.googlesource.com/9001 Reviewed-by: Nikos Nikoleris Maintainer: Nikos Nikoleris --- src/mem/cache/replacement_policies/ReplacementPolicies.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mem/cache/replacement_policies/ReplacementPolicies.py') diff --git a/src/mem/cache/replacement_policies/ReplacementPolicies.py b/src/mem/cache/replacement_policies/ReplacementPolicies.py index 8412783b9..f2cee35d1 100644 --- a/src/mem/cache/replacement_policies/ReplacementPolicies.py +++ b/src/mem/cache/replacement_policies/ReplacementPolicies.py @@ -81,3 +81,7 @@ class BRRIPRP(BaseReplacementPolicy): class RRIPRP(BRRIPRP): btp = 0 + +class NRURP(BRRIPRP): + btp = 0 + max_RRPV = 1 -- cgit v1.2.3