From 5cc0db697dc1e3d378178c54dc4905ea8d2a2c8e Mon Sep 17 00:00:00 2001 From: "Daniel R. Carvalho" Date: Mon, 2 Sep 2019 15:55:48 +0200 Subject: [PATCH] configs: Fix replacement policy assignment Commit d207e9ccee411877fdeac80bb68a27900560f50f reworked the tags to split the replacement policies, however the name of the variable that contains the replacement policy changed between patch revisions, which was not updated accordingly in the configs files. Change-Id: I2072529e2c7d54197c371bcaa323bfd9f34ec3ba Signed-off-by: Daniel R. Carvalho Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20548 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- configs/common/cores/arm/O3_ARM_v7a.py | 2 +- configs/common/cores/arm/ex5_LITTLE.py | 2 +- configs/common/cores/arm/ex5_big.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/common/cores/arm/O3_ARM_v7a.py b/configs/common/cores/arm/O3_ARM_v7a.py index 3a1f9af7c..eaeeee336 100644 --- a/configs/common/cores/arm/O3_ARM_v7a.py +++ b/configs/common/cores/arm/O3_ARM_v7a.py @@ -204,4 +204,4 @@ class O3_ARM_v7aL2(Cache): # Simple stride prefetcher prefetcher = StridePrefetcher(degree=8, latency = 1) tags = BaseSetAssoc() - repl_policy = RandomRP() + replacement_policy = RandomRP() diff --git a/configs/common/cores/arm/ex5_LITTLE.py b/configs/common/cores/arm/ex5_LITTLE.py index 85fdd5541..ab946662f 100644 --- a/configs/common/cores/arm/ex5_LITTLE.py +++ b/configs/common/cores/arm/ex5_LITTLE.py @@ -149,4 +149,4 @@ class L2(Cache): # Simple stride prefetcher prefetcher = StridePrefetcher(degree=1, latency = 1) tags = BaseSetAssoc() - repl_policy = RandomRP() + replacement_policy = RandomRP() diff --git a/configs/common/cores/arm/ex5_big.py b/configs/common/cores/arm/ex5_big.py index 445aa3255..c2b25a07a 100644 --- a/configs/common/cores/arm/ex5_big.py +++ b/configs/common/cores/arm/ex5_big.py @@ -201,4 +201,4 @@ class L2(Cache): # Simple stride prefetcher prefetcher = StridePrefetcher(degree=8, latency = 1) tags = BaseSetAssoc() - repl_policy = RandomRP() + replacement_policy = RandomRP() -- 2.30.2