summaryrefslogtreecommitdiff
path: root/tests/configs/tsunami-simple-timing.py
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-08-13 23:44:26 -0400
committerAli Saidi <saidi@eecs.umich.edu>2007-08-13 23:44:26 -0400
commit27ddf0b40e9b0bea1d75d825c7339c9fb9411bc9 (patch)
treec6dea0a58fec9d5efecfb5559e3e1eaa24b33878 /tests/configs/tsunami-simple-timing.py
parentb069b81acf498a538b1ce4b30ff8b2d96b2ec8de (diff)
parent9b4be6532741a511ca8f9e1d051269245814be8b (diff)
downloadgem5-27ddf0b40e9b0bea1d75d825c7339c9fb9411bc9.tar.xz
Merge IGNORE_STYLE change and my change.
--HG-- extra : convert_revision : 13880ec6df17b0317d4097243bb24add753a098a
Diffstat (limited to 'tests/configs/tsunami-simple-timing.py')
-rw-r--r--tests/configs/tsunami-simple-timing.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/configs/tsunami-simple-timing.py b/tests/configs/tsunami-simple-timing.py
index 3f18c6848..96cd27111 100644
--- a/tests/configs/tsunami-simple-timing.py
+++ b/tests/configs/tsunami-simple-timing.py
@@ -53,6 +53,19 @@ 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 = TimingSimpleCPU(cpu_id=0)
#the system
@@ -61,6 +74,12 @@ system = FSConfig.makeLinuxAlphaSystem('timing')
system.cpu = cpu
#create the l1/l2 bus
system.toL2Bus = Bus()
+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
+
#connect up the l2 cache
system.l2c = L2(size='4MB', assoc=8)