diff options
Diffstat (limited to 'configs/test/test.py')
-rw-r--r-- | configs/test/test.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configs/test/test.py b/configs/test/test.py new file mode 100644 index 000000000..695d84b73 --- /dev/null +++ b/configs/test/test.py @@ -0,0 +1,12 @@ +from m5 import * + +class HelloWorld(AlphaLiveProcess): + executable = '../configs/test/hello' + cmd = 'hello' + +magicbus = Bus() +mem = PhysicalMemory() +cpu = SimpleCPU(workload=HelloWorld(), mem=magicbus) +system = System(physmem=mem, cpu=cpu) +system.c1 = Connector(side_a=mem, side_b=magicbus) +root = Root(system=system) |