Hi, Xiangyang
Thanks for your information. It's very helpful so I cc to gem5 mailing list. 
The compilation time of mine is as usual. I found my last email missing some 
steps between step 10 and step 12. Also the step 11 on that email should be 
deleted.  The missings are:

modify gem5/build_opts/ARM with 
CPU_MODELS = 'AtomicSimpleCPU,MyCPU,TimingSimpleCPU,O3CPU'

modify gem5/config/common/CpuConfig.py with:
_cpu_aliases_all = [ 
    ("mycpu", "MyCPU"),
    ("timing", "TimingSimpleCPU"),
    ("atomic", "AtomicSimpleCPU"),
    ("inorder", "InOrderCPU"),
    ("detailed", "DerivO3CPU"),
    ]   

And when you test, you can use command:
gem5.opt config/example/se.py --cpu-type=mycpu -c xxx

Hope it helps.
Meng
On May 4, 2013, at 10:39 AM, Xiangyang Guo <[email protected]> wrote:

> Hi, Meng,
> 
> I'm Xiangyang, I read your email about how to make a new CPU in gem5. It's 
> helpful. At least it can compile. But I have another question, when i use 
> scons build/ARM/gem5.opt, it begin build and never stops. Usually, it takes 
> me about half hour to build the gem5. But now It runs about 3 hours and still 
> running. So could you tell me how long it takes you to rebuild the gem5? 
> Thanks
> 
> BTW, you can follow the tutorial on line, but you can delete all the things 
> about the atomic cpu and timing cpu in you own directory. It also works. I 
> mean, it can rebuild.
> 
> Regards,
> 
> Xiangyang

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to