Skip to content

IndexError: list index out of range #11

Open

Description

@Sayan3116

./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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions