update for objects having a bus
--HG-- extra : convert_revision : 96b5494b7d0b5ca702ac69cfa0bf8c4d44e1cc3b
This commit is contained in:
parent
b38f67d5b7
commit
4973a16b34
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue