Scalable Scatter-Gather DMA Intel® FPGA IP Design Example User Guide
ID
823179
Date
4/30/2025
Public
2.7.1. Running the DMA SoC Mode H2D ST to D2H ST Loopback Design Example
The design example in this topic demonstrates SSGDMA IP with an embedded microprocessor Nios® V/m processor. Execute the following flow:
- Enable prefetcher and setup all D2H_ST and H2D_ST ports.
- Fill H2D_ST descriptors and updates the insert pointer.
- Perform the following steps and repeat for each port numbers.
- Fill D2H_ST descriptors and updates the insert pointer.
- Detect completion of D2H_ST receive via interrupt.
- Check completion of H2D_ST transfer via polling.
- Compare both H2D_ST and D2H_ST data.
- If there are H2D_MM ports, the application fills H2D_MM(write access) and D2H_MM(read access) descriptors. The insert pointer is updated, and the extracted pointer is polled for completion. The application compares the write and read data, Repeat the same flow if there is more than one port.
- Free memory resources for descriptors and data buffers.