From aeffde5ed5007b5ebe330b03156e5cc58c5fe609 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Fri, 27 Mar 2015 04:56:10 -0400 Subject: [PATCH] arm, configs: Do not forward snoops from I cache This fix simply tells the I cache to not forward snoops to the fetch unit (since there is really no reason to do so). --- configs/common/O3_ARM_v7a.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/configs/common/O3_ARM_v7a.py b/configs/common/O3_ARM_v7a.py index ae4822a0c..b3607c518 100644 --- a/configs/common/O3_ARM_v7a.py +++ b/configs/common/O3_ARM_v7a.py @@ -150,7 +150,8 @@ class O3_ARM_v7a_ICache(BaseCache): tgts_per_mshr = 8 size = '32kB' assoc = 2 - is_top_level = 'true' + is_top_level = True + forward_snoops = False # Data Cache class O3_ARM_v7a_DCache(BaseCache): @@ -161,7 +162,7 @@ class O3_ARM_v7a_DCache(BaseCache): size = '32kB' assoc = 2 write_buffers = 16 - is_top_level = 'true' + is_top_level = True # TLB Cache # Use a cache as a L2 TLB @@ -173,7 +174,7 @@ class O3_ARM_v7aWalkCache(BaseCache): size = '1kB' assoc = 8 write_buffers = 16 - is_top_level = 'true' + is_top_level = True # L2 Cache @@ -185,7 +186,7 @@ class O3_ARM_v7aL2(BaseCache): size = '1MB' assoc = 16 write_buffers = 8 - prefetch_on_access = 'true' + prefetch_on_access = True # Simple stride prefetcher prefetcher = StridePrefetcher(degree=8, latency = 1) tags = RandomRepl() -- 2.30.2