Hello All,
I am trying to run X86 in FS mode using following command line
./build/X86_MESI_Two_Level/gem5.opt configs/example/fs.py
--disk-image=/nfs/div1/adeshpan/arch/x86_disks/disks/x86root-parsec_ad.img
--kernel=/nfs/div1/adeshpan/arch/x86_disks/binaries/x86_64-vmlinux-2.6.22.9
--caches --l1d_size=64kB --l1i_size=64kB --l2cache --l2_size=512kB
--cacheline_size=64 --num-cpus=1 --cpu-type=TimingSimpleCPU
--mem-size=4096MB
...
Global frequency set at 1000000000000 ticks per second
info: kernel located at:
/nfs/div1/adeshpan/arch/x86_disks/binaries/x86_64-vmlinux-2.6.22.9
0: rtc: Real-time clock set to Sun Jan 1 00:00:00 2012
Listening for com_1 connection on port 3456
warn: Reading current count from inactive timer.
fatal: system.membus has two ports with same range:
system.mem_ctrls.port
system.bridge.slave
@ cycle 0
[recvRangeChange:build/X86_MESI_Two_Level/mem/bus.cc, line 421]
Memory Usage: 4505484 KBytes
When I remove the last option of --mem-size=4096MB, the simulation
executes. I want to set memory size. Is there any other way of doing this
with /config/example/fs.py?
Another thing when I use mem-type=SimpleDRAM. I get following error:
./build/X86_MESI_Two_Level/gem5.opt configs/example/fs.py
--disk-image=/nfs/div1/adeshpan/arch/x86_disks/disks/x86root-parsec_ad.img
--kernel=/nfs/div1/adeshpan/arch/x86_disks/binaries/x86_64-vmlinux-2.6.22.9
--caches --l1d_size=64kB --l1i_size=64kB --l2cache --l2_size=512kB
--num-cpus=1 --cpu-type=TimingSimpleCPU --mem-type=SimpleDRAM
--mem-size=4096MB
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/nfs/div1/adeshpan/arch/gem5/src/python/m5/main.py", line 388, in
main
exec filecode in scope
File "configs/example/fs.py", line 177, in <module>
MemConfig.config_mem(options, test_sys)
File "/nfs/div1/adeshpan/arch/gem5/configs/common/MemConfig.py", line
175, in config_mem
rowbuffer_size = ctrl.device_rowbuffer_size.value * \
File "/nfs/div1/adeshpan/arch/gem5/src/python/m5/SimObject.py", line 734,
in __getattr__
raise AttributeError, err_string
AttributeError: object 'SimpleDRAM' has no attribute 'device_rowbuffer_size'
(C++ object is not yet constructed, so wrapped C++ methods are
unavailable.)
Any idea how to fix this?
Any help is appreciated.
Regards,
Aditya
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users