Hi, I am working on a project, in which I want to test my own accelerator implantation with a Rocket core. my accelerator implementation is in verilog, and I did the bindings needed with the CPU (I saw that the rocket core and my accelerator are connected in a right manner).
when I try to run my own test - which is a simple test that aims to read and write from the rocket core via a custom command. my test gets stuck. (If I remove those MACROs the test passes, so the problem is within those MACROs).
when I run the command: (with my config and my test's binary file)
make run-binary-debug BINARY=../../generators/template_accelerator_proj/software/tests/src/templateAccTest CONFIG=templateAccConfig
I get the error:
also when I open the waves via gtkwave, I get that the signals just stop after a few cycles after reset:
we narrowed down the problem to three assembly lines (the assembly files that were generated once with the MACROs and without the MACROs):
101ea: 7d018793 addi a5,gp,2000 # 1fef0 <input.1>
101ee: fd040713 addi a4,s0,-48
101f2: 00e7b05b .4byte 0xe7b05b
can anyone help us? what might be the problem?