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
This commit is contained in:
Andreas Hansson
2015-08-21 07:03:23 -04:00
parent d71a0d790d
commit ddfa96cf45
12 changed files with 39 additions and 34 deletions

View File

@@ -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