Merge m5.eecs.umich.edu:/bk/newmem
[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()
9 cpu = SimpleCPU(workload=HelloWorld(), mem=magicbus)
10 system = System(physmem=mem, cpu=cpu)
11 system.c1 = Connector(side_a=mem, side_b=magicbus)
12 root = Root(system=system)