diff options
author | Daniel R. Carvalho <odanrc@yahoo.com.br> | 2018-03-12 12:14:46 +0100 |
---|---|---|
committer | Daniel Carvalho <odanrc@yahoo.com.br> | 2018-04-06 07:59:52 +0000 |
commit | f7c6d86009c03a953da25df8f29186d6cc07eff3 (patch) | |
tree | 5521968465ea41acc2f38c671dad8679f4308d71 /src | |
parent | 65a703c6bf08217a7ca92d2c3f834de5c8ed98b0 (diff) | |
download | gem5-f7c6d86009c03a953da25df8f29186d6cc07eff3.tar.xz |
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 <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mem/cache/replacement_policies/ReplacementPolicies.py | 3 |
1 files changed, 3 insertions, 0 deletions
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' |