Hi!
I have a problem with accessing the memory from the HA module. As the picture shows, the source address for the bitswapping and the destination address for the result are successfully written to the module (from slave access), and the bitswapping in C and using a custom instruction gives the same correct result.
As may be evident, the module reads the value 0 from memory (src adr value), but that is not the correct value. I have made a testbench, and I know that the address the module reads from is coherent with what is written to the slave part. An image from the simulation is provided in the attachment, using dummy addresses. The resulting bitswap is correct. I suspect that the problem may be in the component declaration/definition. It is shown below.
A screenshot from QSYS is attached.
So if anyone can see anything wrong or have any suggestions to what could be done to fix this, I would be very grateful, please!