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

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

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