gem5-dev@gem5.org

The gem5 Developer List

View all threads

Re: [gem5-users] Assistance Required - Assertion Failure in RegFile

GT
Giacomo Travaglini
Wed, Jun 14, 2023 11:03 AM

Hi,

I believe this has been fixed by the following patch 1 which is currently merged on the develop branch and will be part of v23.0.
Let me know if it fixes your problem

Kind Regards

Giacomo


From: Alexandra-Nicoleta DAVID via gem5-users gem5-users@gem5.org
Sent: 14 June 2023 11:41
To: gem5-users gem5-users@gem5.org; gem5-dev gem5-dev@gem5.org; 429442672 429442672@qq.com
Cc: Alexandra-Nicoleta DAVID alexandran.david@ulbsibiu.ro
Subject: [gem5-users] Assistance Required - Assertion Failure in RegFile

Dear gem5 Community,

I am currently using the gem5 simulator version 22.1.0.0, compiled on June 14, 2023, for my research work and I have encountered an issue that I need help with.

During the simulation, the program aborts with an assertion failure in the register file. The error message is:

cCopy code

gem5.opt: build/ARM/cpu/regfile.hh:75: const Reg& gem5::RegFile::reg(size_t) const [with Reg = long unsigned int; size_t = long unsigned int]: Assertion `sizeof(Reg) == _regBytes && idx < _size' failed. Program aborted at tick 94517000

The command that I used to run the simulation is:

bashCopy code

./build/ARM/gem5.opt --debug-flags=MinorExecuteOp --debug-file=fadd1.txt configs/example/arm/starter_se.py --cpu="hpi" --num-cores=1 "/home/david1136/ARM/se-benchmarks/FloatMM"

I have tried to diagnose the problem myself, but I haven't been able to identify the root cause. I believe this issue might be related to an incorrect register access, although I am not entirely certain. I have checked my configuration and my setup, and everything appears to be correct.

Could you provide me with some guidance on how to troubleshoot this problem, or indicate whether this is a known issue that could be resolved with a patch or an update to the gem5 version I am using?

Any help you can provide would be greatly appreciated.

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

Hi, I believe this has been fixed by the following patch [1] which is currently merged on the develop branch and will be part of v23.0. Let me know if it fixes your problem Kind Regards Giacomo [1]: https://gem5-review.googlesource.com/c/public/gem5/+/70697 ________________________________ From: Alexandra-Nicoleta DAVID via gem5-users <gem5-users@gem5.org> Sent: 14 June 2023 11:41 To: gem5-users <gem5-users@gem5.org>; gem5-dev <gem5-dev@gem5.org>; 429442672 <429442672@qq.com> Cc: Alexandra-Nicoleta DAVID <alexandran.david@ulbsibiu.ro> Subject: [gem5-users] Assistance Required - Assertion Failure in RegFile Dear gem5 Community, I am currently using the gem5 simulator version 22.1.0.0, compiled on June 14, 2023, for my research work and I have encountered an issue that I need help with. During the simulation, the program aborts with an assertion failure in the register file. The error message is: cCopy code gem5.opt: build/ARM/cpu/regfile.hh:75: const Reg& gem5::RegFile::reg(size_t) const [with Reg = long unsigned int; size_t = long unsigned int]: Assertion `sizeof(Reg) == _regBytes && idx < _size' failed. Program aborted at tick 94517000 The command that I used to run the simulation is: bashCopy code ./build/ARM/gem5.opt --debug-flags=MinorExecuteOp --debug-file=fadd1.txt configs/example/arm/starter_se.py --cpu="hpi" --num-cores=1 "/home/david1136/ARM/se-benchmarks/FloatMM" I have tried to diagnose the problem myself, but I haven't been able to identify the root cause. I believe this issue might be related to an incorrect register access, although I am not entirely certain. I have checked my configuration and my setup, and everything appears to be correct. Could you provide me with some guidance on how to troubleshoot this problem, or indicate whether this is a known issue that could be resolved with a patch or an update to the gem5 version I am using? Any help you can provide would be greatly appreciated. IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.