Assertion failed in use-case-pmu
Hi, I am trying to replicate the experiments on PMU use case but meet a assertion fail:
gem5.opt: build/ARM/sim/eventq.hh:823: void gem5::EventQueue::reschedule(gem5::Event*, gem5::Tick, bool): Assertion `when >= getCurTick()' failed.
Here is the main procedure that I followed:
- make verilate_vcd,library_vcd,install in '/ext/rtl/model_fifo/'. I added a file '/verilator/include/verilated_threads.cpp' when compiling the shared library according to the error message of GCC.And did the same when compiling PMU lib.
- make clone,verilate_vcd,create_library_pmu,install in '/ext/rtl/model_pmu'.
- compile gem5 and simulate it as readme.md.I didn't specify the dtb file, and the disk and kernel I used is 'vmlinux.arm64' and 'ubuntu-18.04-arm64-docker.img' from: http://dist.gem5.org/dist/v22-0/arm/aarch-system-20220707.tar.bz2; http://dist.gem5.org/dist/v22-0/arm/disks/ubuntu-18.04-arm64-docker.img.bz2;
Could you please tell me what went wrong and how to fix it?Any help will be greatly appreciated!