Greetings all,
Currently I'm testing some changes to the ARM model in SimpleTimingCPU. To
cut down on the compile time, I'm selecting only this CPU model by using
the flag CPU_MODELS=TimingSimpleCPU
However, when I go to run gem5 with this command line:
build/ARM/gem5.debug configs/example/se.py -n 1 --cpu-type=timing --cmd
I get an error from python that FUPool isn't found:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/prosenf1/gem5/src/python/m5/main.py", line 357, in main
exec filecode in scope
File "configs/example/se.py", line 60, in <module>
import Simulation
File "/home/prosenf1/gem5/configs/common/Simulation.py", line 37, in
<module>
from O3_ARM_v7a import *
File "/home/prosenf1/gem5/configs/common/O3_ARM_v7a.py", line 86, in
<module>
class O3_ARM_v7a_FUP(FUPool):
NameError: name 'FUPool' is not defined
I went through and commented the import statements and it works fine, but
is there a simple way to make the build system remove these imports if O3
cpu is not going to be used?
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users