gem5/configs/test/test.py

11 lines
250 B
Python
Raw Normal View History

from m5 import *
class HelloWorld(AlphaLiveProcess):
executable = '../configs/test/hello'
cmd = 'hello'
mem = PhysicalMemory()
cpu = SimpleCPU(workload=HelloWorld(), mem=mem)
system = System(physmem=mem, cpu=cpu)
root = Root(system=system)