summaryrefslogtreecommitdiff
path: root/configs/test/test.py
blob: 098bf017dd1e0dffdf68bdd7e615b9cf0fa5f10b (plain)
1
2
3
4
5
6
7
8
9
10
11
from m5 import *

class HelloWorld(AlphaLiveProcess):
    executable = '../configs/test/hello'
    cmd = 'hello'

magicbus = Bus()
mem = PhysicalMemory(bus=magicbus)
cpu = SimpleCPU(workload=HelloWorld(), mem=magicbus)
system = System(physmem=mem, cpu=cpu)
root = Root(system=system)