diff options
Diffstat (limited to 'configs')
-rw-r--r-- | configs/test.py | 8 | ||||
-rwxr-xr-x | configs/test/hello | bin | 0 -> 312176 bytes | |||
-rw-r--r-- | configs/test/test.py | 10 |
3 files changed, 10 insertions, 8 deletions
diff --git a/configs/test.py b/configs/test.py deleted file mode 100644 index ea0e63a61..000000000 --- a/configs/test.py +++ /dev/null @@ -1,8 +0,0 @@ -from m5 import * -AddToPath('/z/stever/bk/m5-test') -import Benchmarks - -mem = PhysicalMemory() -cpu = SimpleCPU(workload=Benchmarks.HelloWorld(), mem=mem) -system = System(physmem=mem, cpu=cpu) -root = Root(system=system) diff --git a/configs/test/hello b/configs/test/hello Binary files differnew file mode 100755 index 000000000..59c0d195c --- /dev/null +++ b/configs/test/hello 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) |