update for objects having a bus
authorAli Saidi <saidi@eecs.umich.edu>
Sat, 25 Mar 2006 23:34:50 +0000 (18:34 -0500)
committerAli Saidi <saidi@eecs.umich.edu>
Sat, 25 Mar 2006 23:34:50 +0000 (18:34 -0500)
--HG--
extra : convert_revision : 96b5494b7d0b5ca702ac69cfa0bf8c4d44e1cc3b

configs/test/test.py

index 86a44313a5121845bdd4c8a983d689537f5c01e4..098bf017dd1e0dffdf68bdd7e615b9cf0fa5f10b 100644 (file)
@@ -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)