vineodd/PIMSim

Run hellopim.sh

Closed this issue · 0 comments

Dear Sir,

Many thanks for a great job. I'm interested to run a hello case located in PIMSim/GEM5Simulation/gem5
However, when I try to execute hellopim.sh in PIMSim/GEM5Simulation/gem5, I receive the following error, I really appreciate it if you please shed a light on this and help me to solve it

Configuration:Ubuntu 20.04 Python 2.7.18 gcc-4.8.1 g++-4.8.1

command line: ./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=kernel --kernel-type=adder --num-pim-kernels=1 --mem-size=512MB --coherence-granularity=64B -c ./tests/test-progs/pim-hello/hellopim

/home/birdman/Downloads/PIMSim-master/GEM5Simulation/gem5/configs/common/CacheConfig.py:50: SyntaxWarning: import * only allowed at module level
  def config_cache(options, system):
Enable PIM simulation in the system.
Creating PIM kernels...
Global frequency set at 1000000000000 ticks per second
warn: DRAM device capacity (4096 Mbytes) does not match the address range assigned (512 Mbytes)
536870912      0: system.pim_kernerls: Kernel: 0 [0x20000000 - 0x0]
0: system.remote_gdb: listening for remote gdb on port 7000
      0: system.cpu: Add 3 caches to the cache list
**** REAL SIMULATION ****
info: Entering event queue @ 0.  Starting simulation...
warn: ignoring syscall access(...)
info: Increasing stack size by one page.
warn: ignoring syscall mprotect(...)
fatal: syscall pread64 (#17) unimplemented.
Memory Usage: 634016 KBytes

Thanks