I got warnings like
warn: add_child('cls'): child 'credit_links0 credit_links1' already has
parent
when testing garnet with fixed-pipeline. The command I ran is:
/home/siyu/gem5_orig/build/ALPHA/gem5.opt -r --stdout-file=simout
/home/siyu/gem5_orig/configs/example/ruby_network_test.py \
--num-cpus=16 --num-dirs=16 --topology=Mesh --mesh-rows=4 \
--sim-cycles=100000 \
--injectionrate=0.01 \
--synthetic=0 \
--fixed-pkts \
--maxpackets=1 \
--garnet-network=fixed
And it leads to duplicate credit_link entries in config.ini and config.json
as well.
I found a possible fix to this warning is to rename cls to something else
(e.g. dls) in src/mem/ruby/network/garnet/fixed-pipeline/GarnetLink_d.py. The
cause could be that the variable cls is already defined in some base class.
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev