I am new to Gem5, I am trying to compile my C code and simulate it on an ARM like system using SE.
- First, to compile my C code, I used SCons (without any additional parameters). In the SConstruct file, I wrote:
Program('hello.c')
- Second, to run the simulation, I am using:
./build/ARM/gem5.opt configs/deprecated/example/se.py -c tests/test-progs/hello/bin/arm/linux/hello
Where hello is the output of my compilation, note that the size of this bin file is much smaller than the example bin files already found in Gem5. So I don't know if the problem is in the compilation or in the simulation.
Note that I am using the se.py in the deprecated directory because it was working with the hello_world example already found in Gem5 examples.
The problem is that I am getting the following error, when using se.py:
'No SE workload is compatible with %s'
While other sim Objects are not performing the simulation at all, or raising an assertion error.
Thanks in advance!