ARM and linux need to be passed as strings and they need to be lower case.
Ali On 29.06.2012 15:16, Nyunyi Tshibangu wrote: > Hello, > I am trying to run spec2000 in SE mode using ARM simulator but I am getting error just trying to compile the benchmark. > here is the errror message: > > ece% ../build/ARM/gem5.opt ./mytest_gzip.py > ...... > File "", line 1, in > File "/local/home/nmtshiba/M5/gem5/src/python/m5/main.py", line 359, in main > exec filecode in scope > File "./mytest_gzip.py", line 14, in > workload = gzip_log(ARM, linux, 'smred') > NameError: name 'ARM' is not defined > Question: how can I define ARM? what do I need to import in order to recognize ISA? I tried "import isa" but not luck. any more tip of running benchmark on SE mode will be very appreciated > here is the content of 'mytest_gzip.py' : > ##### > > import optparse > import sys > import os > import m5 > from m5.util import addToPath > addToPath('../configs/common') > import cpu2000 #refer to cpu2000.py > from cpu2000 import gzip_log > workload = gzip_log(ARM, linux, 'smred') > root.system.cpu.workload = workload.makeLiveProcess() > ######
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users