From f7c6d86009c03a953da25df8f29186d6cc07eff3 Mon Sep 17 00:00:00 2001 From: "Daniel R. Carvalho" Date: Mon, 12 Mar 2018 12:14:46 +0100 Subject: [PATCH] mem-cache: Create LIP Replacement Policy Implementation of a LRU Insertion Policy replacement policy. Change-Id: I1a9aa0091ff2cdc1b1652c1d5ec7a3b33fba5b44 Reviewed-on: https://gem5-review.googlesource.com/9002 Reviewed-by: Nikos Nikoleris Maintainer: Nikos Nikoleris --- src/mem/cache/replacement_policies/ReplacementPolicies.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mem/cache/replacement_policies/ReplacementPolicies.py b/src/mem/cache/replacement_policies/ReplacementPolicies.py index 7ec728d46..8412783b9 100644 --- a/src/mem/cache/replacement_policies/ReplacementPolicies.py +++ b/src/mem/cache/replacement_policies/ReplacementPolicies.py @@ -56,6 +56,9 @@ class BIPRP(LRURP): cxx_header = "mem/cache/replacement_policies/bip_rp.hh" btp = Param.Percent(3, "Percentage of blocks to be inserted as MRU") +class LIPRP(BIPRP): + btp = 0 + class MRURP(BaseReplacementPolicy): type = 'MRURP' cxx_class = 'MRURP' -- 2.30.2