summaryrefslogtreecommitdiff
path: root/configs/test
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2006-03-25 18:34:50 -0500
committerAli Saidi <saidi@eecs.umich.edu>2006-03-25 18:34:50 -0500
commit4973a16b34471dcb5f65a1d6c31d5a7d8c2dfd83 (patch)
treeedaf4e2123104411e882a313335f831efee22366 /configs/test
parentb38f67d5b7ad9c2f5ff7580e20fb86c4a877589d (diff)
downloadgem5-4973a16b34471dcb5f65a1d6c31d5a7d8c2dfd83.tar.xz
update for objects having a bus
--HG-- extra : convert_revision : 96b5494b7d0b5ca702ac69cfa0bf8c4d44e1cc3b
Diffstat (limited to 'configs/test')
-rw-r--r--configs/test/test.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/configs/test/test.py b/configs/test/test.py
index 86a44313a..098bf017d 100644
--- a/configs/test/test.py
+++ b/configs/test/test.py
@@ -4,7 +4,8 @@ class HelloWorld(AlphaLiveProcess):
executable = '../configs/test/hello'
cmd = 'hello'
-mem = PhysicalMemory()
-cpu = SimpleCPU(workload=HelloWorld(), mem=mem)
+magicbus = Bus()
+mem = PhysicalMemory(bus=magicbus)
+cpu = SimpleCPU(workload=HelloWorld(), mem=magicbus)
system = System(physmem=mem, cpu=cpu)
root = Root(system=system)