1from m5 import * 2 3class HelloWorld(LiveProcess): 4 executable = '../configs/test/hello' 5 cmd = 'hello' 6 7mem = PhysicalMemory() 8cpu = SimpleCPU(workload=HelloWorld(), mem=mem) 9system = System(physmem=mem, cpu=cpu) 10root = Root(system=system) 11