From ddfa96cf455ba4a287930942514cdf0f7f2afa77 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Fri, 21 Aug 2015 07:03:23 -0400 Subject: mem: Add explicit Cache subclass and make BaseCache abstract Open up for other subclasses to BaseCache and transition to using the explicit Cache subclass. --HG-- rename : src/mem/cache/BaseCache.py => src/mem/cache/Cache.py --- configs/splash2/cluster.py | 4 ++-- configs/splash2/run.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'configs/splash2') diff --git a/configs/splash2/cluster.py b/configs/splash2/cluster.py index 9fafcb70c..5991e7428 100644 --- a/configs/splash2/cluster.py +++ b/configs/splash2/cluster.py @@ -137,7 +137,7 @@ class Water_spatial(LiveProcess): # Base L1 Cache Definition # ==================== -class L1(BaseCache): +class L1(Cache): latency = options.l1latency mshrs = 12 tgts_per_mshr = 8 @@ -146,7 +146,7 @@ class L1(BaseCache): # Base L2 Cache Definition # ---------------------- -class L2(BaseCache): +class L2(Cache): latency = options.l2latency mshrs = 92 tgts_per_mshr = 16 diff --git a/configs/splash2/run.py b/configs/splash2/run.py index 14e5f47d4..bf7d1331e 100644 --- a/configs/splash2/run.py +++ b/configs/splash2/run.py @@ -158,7 +158,7 @@ class Water_spatial(LiveProcess): # Base L1 Cache Definition # ==================== -class L1(BaseCache): +class L1(Cache): latency = options.l1latency mshrs = 12 tgts_per_mshr = 8 @@ -167,7 +167,7 @@ class L1(BaseCache): # Base L2 Cache Definition # ---------------------- -class L2(BaseCache): +class L2(Cache): latency = options.l2latency mshrs = 92 tgts_per_mshr = 16 -- cgit v1.2.3