Hoping someone to guide me through the programming model of mSGDMA IP with prefetcher core enabled !!?
The platform designer SoC consists of NIOS, ocm1, msgdma (with prefetcher core enabled) , DDR4, ocm2 and ocm3. I am looking to transfer data from ddr4 to ocm2 via msgdma and want to use ocm3 memory to store descriptors which will be fetched by prefetcher core.
I followed the API's provided in altera_msgdma.c .
I am attaching the c file and written something. please someone correct it and show me the way to fix this.
Also attaching the driver file altera_msgdma.c taken from bsp directory of eclipse sdk.