How to use AvalonMM-AvalonMM mode of mSGDMA
Hello,
I want to use mSGDMA to move data from the FPGA side to HPS DDR3. I referred to writing_to_hps_memory and used the same design to complete the data movement process.
My data width is 32 bits, so like writing_to_hps_memory, I use the AvalonST-AvalonMM mode mSGDMA dispatcher to drive the write master to move data from the FPGA side to HPS DDR3.
AvalonST-AvalonMM dispatcher
But now my data width is 16 bits, and I want to change the mSGDMA dispatcher mode to AvalonMM-AvalonMM. I have referred to the official documentation and modified my design to be the same as the following image.
AvalonMM-AvalonMM dispatcherMy platform designer
After I finished modifying the design, I was confused about how to program on the HPS side to drive the mSGDMA dispatcher, so that it could drive the read master and write master to move data from the FPGA side to the HPS DDR3.
Can someone provide some examples or related documentation? Any help would be greatly appreciated.
Thank you in advance.