Hi Anouar, You're seeing this error because the script configs/common/CpuConfig.py isn't importing your script correctly, or something. See line 138 in the aforementioned file.
I would bet there is an error in your file causing it to throw an exception when it is imported. You can remove the try except clause to force the O3_ARM_v7a_3 class to be imported. The other option is to not use CpuConfig.py and write a config script that imports just the classes you need and constructs the SimObject hierarchy "manually". Cheers, Jason On Mon, Sep 12, 2016 at 10:29 AM anoir nechi <anoirne...@gmail.com> wrote: > Hi > > I wanted to work with the O3_ARM_v7a.py after i changed some cache > parameters etc.. but when i type this command: > > > * build/ARM/gem5.opt configs/example/se.py --cpu-type=arm_detailed -n 1 > --cpu-clock=1GHz --caches --l2cache --mem-type=DDR3_1600_x64 -c > /home/anoir/workspace/fft_ARM_unrolled8/fft* > I get this error : > *se.py: error: option --cpu-type: invalid choice: 'arm_detailed' (choose > from 'TimingSimpleCPU', 'AtomicSimpleCPU', 'DerivO3CPU', 'MinorCPU', > 'timing', 'detailed', 'atomic', 'minor')* > > It's weird because it worked before but now this error is getting me > crazy... what could be the problem. > I attached the O3_ARM_v7a.py file to verify with me. > > Thank you > *Anouar NECHI* > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users