summaryrefslogtreecommitdiff
path: root/configs/common
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2012-10-26 06:42:42 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2012-10-26 06:42:42 -0400
commit651de2d9af8ac628b69b40812ff036231da40ae3 (patch)
treeabb19706695f402c23370963ecd20166f657681d /configs/common
parentb387d8e2136b6eccf590e5223096dce6830a66ec (diff)
downloadgem5-651de2d9af8ac628b69b40812ff036231da40ae3.tar.xz
config: Fix the cache class naming in regression scripts
This patch unifies the naming of the default L1 and L2 caches in the regression configs to be in line with what is used in the se and fs scripts.
Diffstat (limited to 'configs/common')
-rw-r--r--configs/common/Caches.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/configs/common/Caches.py b/configs/common/Caches.py
index 867d0cb2e..e6cbb1a75 100644
--- a/configs/common/Caches.py
+++ b/configs/common/Caches.py
@@ -46,7 +46,7 @@ from m5.objects import *
# starting point, and specific parameters can be overridden in the
# specific instantiations.
-class L1(BaseCache):
+class L1Cache(BaseCache):
assoc = 2
hit_latency = 2
response_latency = 2
@@ -55,7 +55,7 @@ class L1(BaseCache):
tgts_per_mshr = 20
is_top_level = True
-class L2(BaseCache):
+class L2Cache(BaseCache):
assoc = 8
block_size = 64
hit_latency = 20
@@ -84,4 +84,3 @@ class PageTableWalkerCache(BaseCache):
size = '1kB'
tgts_per_mshr = 12
is_top_level = True
-