I am running a C program on Linux (builded with buildroot) on the HPS (Cyclone V, DE1-SoC Board), now I want to replace a function with a custom FPGA circuit.
This function reads two matrix, then gives a resulting matrix. This custom hcircuit read the two matrix from the SDRAM of the HPS, than rewrite the result on the same SDRAM.
1- I want to know if I can use a DMA controller to do this or I must transfer the data using the CPU.
2- If I can use the DMA controller, is there any documentation about it, how to use it with a custom circuit.