vineodd / PIMSim

PIMSim is a Process-In-Memory Simulator with the compatibility of GEM5 full-system simulation.
GNU General Public License v3.0
178 stars 85 forks source link

IndexError: list index out of range #11

Open Sayan3116 opened 4 years ago

Sayan3116 commented 4 years ago

./build/X86/gem5.opt --debug-flags=PIM configs/example/se.py --cpu-type=TimingSimpleCPU --cpu-clock=2GHz --caches --l2cache --l1d_size=32kB --l1i_size=32kB --l2_size=2MB --l1d_assoc=4 --l1i_assoc=4 --l2_assoc=8 --enable-pim --pim-type=hybrid --kernel-type=adder --num-pim-kernels=4 --num-pim-processors=8 --number-mem-crossbar=2 --num-links-controller=2 --hmc-dev-vault-size=256MB --hmc-dev-num-vaults=32 --burst-length=256 --arch=same --mem-size=8GB --coherence-granularity=64B --mem-type=HMC_2500_1x32 --xbar-width=128 --enable-global-monitor --xbar-frequency=2.5GHz --xbar-frontend-latency=2 --xbar-forward-latency=2 --xbar-response-latency=2 --link-buffer-size-req=32 --link-buffer-size-rsp=32 --num-links-controllers=4 --num-lanes-per-link=16 --serial-link-speed=40 --link-buffer-size-req=64 --link-buffer-size-rsp=64 -c ./tests/test-progs/pim-hello/hellopim

Whenever I write this code, I get the following error message: Traceback (most recent call last): File "", line 1, in File "/home/sayandip/PIMSim/GEM5Simulation/gem5/src/python/m5/main.py", line 435, in main exec filecode in scope File "configs/example/se.py", line 275, in MemConfig.config_mem(options, system) File "/home/sayandip/PIMSim/GEM5Simulation/gem5/configs/common/MemConfig.py", line 176, in config_mem HMC.config_hmc_dev(options, system, HMChost.hmc_host) File "/home/sayandip/PIMSim/GEM5Simulation/gem5/configs/common/HMC.py", line 425, in config_hmc_dev system.hmc_host.seriallink[i].master = system.hmc_dev.xbar[i].slave IndexError: list index out of range

Please state the reason and specify a solution