summaryrefslogtreecommitdiff
path: root/tests/configs/tsunami-simple-atomic.py
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-08-10 16:14:02 -0400
committerAli Saidi <saidi@eecs.umich.edu>2007-08-10 16:14:02 -0400
commit9493501fdb087c82111d8692995474f2e8f3f390 (patch)
treee9c87ab5f27c44399bc91628d60f7c4fa7565627 /tests/configs/tsunami-simple-atomic.py
parent06a9f58c68b621f082d39299bdb01f59ef68ef0e (diff)
downloadgem5-9493501fdb087c82111d8692995474f2e8f3f390.tar.xz
Regression: Add an I/O Cache to the full system regressions that have a cache.
--HG-- extra : convert_revision : 8ba96e21be2f602eed8258d410038dbe998ef176
Diffstat (limited to 'tests/configs/tsunami-simple-atomic.py')
-rw-r--r--tests/configs/tsunami-simple-atomic.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/configs/tsunami-simple-atomic.py b/tests/configs/tsunami-simple-atomic.py
index 2ba50273a..2374734ec 100644
--- a/tests/configs/tsunami-simple-atomic.py
+++ b/tests/configs/tsunami-simple-atomic.py
@@ -52,10 +52,28 @@ class L2(BaseCache):
tgts_per_mshr = 16
write_buffers = 8
+# ---------------------
+# I/O Cache
+# ---------------------
+class IOCache(BaseCache):
+ assoc = 8
+ block_size = 64
+ latency = '50ns'
+ mshrs = 20
+ size = '1kB'
+ tgts_per_mshr = 12
+ mem_side_filter_ranges=[AddrRange(0, Addr.max)]
+ cpu_side_filter_ranges=[AddrRange(0x8000000000, Addr.max)]
+
#cpu
cpu = AtomicSimpleCPU(cpu_id=0)
#the system
system = FSConfig.makeLinuxAlphaSystem('atomic')
+system.bridge.filter_ranges_a=[AddrRange(0, Addr.max)]
+system.bridge.filter_ranges_b=[AddrRange(0, size='8GB')]
+system.iocache = IOCache()
+system.iocache.cpu_side = system.iobus.port
+system.iocache.mem_side = system.membus.port
system.cpu = cpu
#create the l1/l2 bus