update for objects having a bus
[gem5.git] / configs / test / test.py
1 from m5 import *
2
3 class HelloWorld(AlphaLiveProcess):
4 executable = '../configs/test/hello'
5 cmd = 'hello'
6
7 magicbus = Bus()
8 mem = PhysicalMemory(bus=magicbus)
9 cpu = SimpleCPU(workload=HelloWorld(), mem=magicbus)
10 system = System(physmem=mem, cpu=cpu)
11 root = Root(system=system)