summaryrefslogtreecommitdiff
path: root/configs/test/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'configs/test/test.py')
-rw-r--r--configs/test/test.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/configs/test/test.py b/configs/test/test.py
new file mode 100644
index 000000000..0982ba4f2
--- /dev/null
+++ b/configs/test/test.py
@@ -0,0 +1,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)