Good afternoon.
I encountered this error while trying to run an ARM configuration with one
of the scripts in the learning_gem5 folder. The following is my post on
Stack Overflow, which received an answer directing me to this mailing list.
I am learning how to use gem5. I followed the learning_gem5 book and
successfully ran the suggested test programs on an ARM simple configuration
without cache. For my research, I need to test caches on ARM systems, so I
tried to adapt the simple_cache.py file to run on ARM, like what was done
to simple.py to generate simple-arm.py. However, when trying to run the
"hello" test program, or the other two that were suggested in the
"Extending gem5 for ARM" page, I get the following error:
gem5.opt: build/ARM/mem/request.hh:882: uint64_t
gem5::Request::getExtraData() const: Assertion `extraDataValid()'
failed.
Program aborted at tick 12162000
The full terminal log is available at https://pastebin.com/VLJ1Szxy. The
config file is available at https://pastebin.com/SeajkNPT.
I tried changing the test file to the Bubblesort and FloatMM files. I
checked the request source code to try to understand more about the error.
I expected the simulation to run like it did with simple-arm.py. I followed
the tutorial on this page:
https://www.gem5.org/documentation/learning_gem5/part1/extending_configs
Does anyone know what causes this error and how it may be fixed?
Thank you for your attention,
Pedro Corrêa Rigotto
Computer Science undergraduate at PUC Minas
Hi Pedro,
I tried this test and noticed the same problem. However, the test seems to
work if you use example/se.py script. For example, following command worked:
build/ARM/gem5.opt configs/example/se.py -c
tests/test-progs/hello/bin/arm/linux/hello --cpu-type=TimingSimpleCPU
--caches
I would suggest you to look at m5out/config.ini files from both runs and
see what's different between the two configurations. That might help you to
figure out how to modify your simulation script to make it work for ARM.
-Ayaz
On Wed, May 10, 2023 at 9:39 AM Pedro Corrêa Rigotto via gem5-users <
gem5-users@gem5.org> wrote:
Good afternoon.
I encountered this error while trying to run an ARM configuration with one
of the scripts in the learning_gem5 folder. The following is my post on
Stack Overflow, which received an answer directing me to this mailing list.
I am learning how to use gem5. I followed the learning_gem5 book and
successfully ran the suggested test programs on an ARM simple configuration
without cache. For my research, I need to test caches on ARM systems, so I
tried to adapt the simple_cache.py file to run on ARM, like what was done
to simple.py to generate simple-arm.py. However, when trying to run the
"hello" test program, or the other two that were suggested in the
"Extending gem5 for ARM" page, I get the following error:
gem5.opt: build/ARM/mem/request.hh:882: uint64_t gem5::Request::getExtraData() const: Assertion `extraDataValid()' failed.
Program aborted at tick 12162000
The full terminal log is available at https://pastebin.com/VLJ1Szxy. The
config file is available at https://pastebin.com/SeajkNPT.
I tried changing the test file to the Bubblesort and FloatMM files. I
checked the request source code to try to understand more about the error.
I expected the simulation to run like it did with simple-arm.py. I followed
the tutorial on this page:
https://www.gem5.org/documentation/learning_gem5/part1/extending_configs
Does anyone know what causes this error and how it may be fixed?
Thank you for your attention,
Pedro Corrêa Rigotto
Computer Science undergraduate at PUC Minas
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org
Good afternoon
Thank you very much. The new configuration script does work with caches on
ARM, and since that's all I needed, my research can continue. I just need
to study the file a bit more.
Much appreciated,
Pedro Corrêa Rigotto
Em sex., 12 de mai. de 2023 às 14:50, Ayaz Akram yazakram@ucdavis.edu
escreveu:
Hi Pedro,
I tried this test and noticed the same problem. However, the test seems to
work if you use example/se.py script. For example, following command worked:
build/ARM/gem5.opt configs/example/se.py -c
tests/test-progs/hello/bin/arm/linux/hello --cpu-type=TimingSimpleCPU
--caches
I would suggest you to look at m5out/config.ini files from both runs and
see what's different between the two configurations. That might help you to
figure out how to modify your simulation script to make it work for ARM.
-Ayaz
On Wed, May 10, 2023 at 9:39 AM Pedro Corrêa Rigotto via gem5-users <
gem5-users@gem5.org> wrote:
Good afternoon.
I encountered this error while trying to run an ARM configuration with
one of the scripts in the learning_gem5 folder. The following is my post on
Stack Overflow, which received an answer directing me to this mailing list.
I am learning how to use gem5. I followed the learning_gem5 book and
successfully ran the suggested test programs on an ARM simple configuration
without cache. For my research, I need to test caches on ARM systems, so I
tried to adapt the simple_cache.py file to run on ARM, like what was done
to simple.py to generate simple-arm.py. However, when trying to run the
"hello" test program, or the other two that were suggested in the
"Extending gem5 for ARM" page, I get the following error:
gem5.opt: build/ARM/mem/request.hh:882: uint64_t gem5::Request::getExtraData() const: Assertion `extraDataValid()' failed.
Program aborted at tick 12162000
The full terminal log is available at https://pastebin.com/VLJ1Szxy. The
config file is available at https://pastebin.com/SeajkNPT.
I tried changing the test file to the Bubblesort and FloatMM files. I
checked the request source code to try to understand more about the error.
I expected the simulation to run like it did with simple-arm.py. I followed
the tutorial on this page:
https://www.gem5.org/documentation/learning_gem5/part1/extending_configs
Does anyone know what causes this error and how it may be fixed?
Thank you for your attention,
Pedro Corrêa Rigotto
Computer Science undergraduate at PUC Minas
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org
--
Pedro Corrêa Rigotto