Andreas,
I am using se.py file for configuration.
I have added following lines in /configs/common/CacheConfig.py
system.monitor2 = CommMonitor(trace_file="cachetrace.txt")
system.monitor2.master = system.tol2bus.slave
system.monitor2.slave = system.membus.master
When I run any code with these lines, it results in "error:
The log for execution is attached:
--
oneloa 303% ./build/X86_MESI_Two_Level/gem5.opt -v -d
/nfs/data-nas1/adeshpan/gem5 --debug-start=1 --debug-file=comm1.txt.gz
--debug-flags=Cache,CommMonitor --stats-file=comm1stats.txt
configs/example/se.py --caches --cpu-type=TimingSimpleCPU --num-cpus=1
--l1d_size=32kB --l2cache --l2_size=512kB -c
tests/test-progs/hello/bin/x86/linux/hello
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
gem5 compiled Jan 13 2014 14:42:07
gem5 started Jan 21 2014 10:39:22
gem5 executing on oneloa.isi.edu
command line: ./build/X86_MESI_Two_Level/gem5.opt -v -d
/nfs/data-nas1/adeshpan/gem5 --debug-start=1 --debug-file=comm1.txt.gz
--debug-flags=Cache,CommMonitor --stats-file=comm1stats.txt
configs/example/se.py --caches --cpu-type=TimingSimpleCPU --num-cpus=1
--l1d_size=32kB --l2cache --l2_size=512kB -c
tests/test-progs/hello/bin/x86/linux/hello
/nfs/div1/adeshpan/arch/gem5/configs/common/CacheConfig.py:49:
SyntaxWarning: import * only allowed at module level
def config_cache(options, system):
Global frequency set at 1000000000000 ticks per second
fatal: system.membus has two ports with same range:
system.mem_ctrls.port
system.monitor2-slave
@ cycle 0
[recvRangeChange:build/X86_MESI_Two_Level/mem/bus.cc, line 421]
Memory Usage: 771960 KBytes
---
Let me know what else I can try.
Thanks for your help.
Regards,
Aditya
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users