Forum Discussion

jc_ddc's avatar
jc_ddc
Icon for New Contributor rankNew Contributor
3 months ago
Solved

SSGDMA Bursting Manager Interface BAR

Hello,

I am working on a PCIe interface for an Altera Agilex 5 device. The PCIe interface will have two BARs defined for accessing user memory and registers without DMA (ex. memory mapped to BAR 1, configuration registers mapped to BAR 2).

I intended to use the Bursting Manager (BAM) function of the Modular Scatter Gather DMA IP (MSGDMA) for the Agilex 5 since it allows multiple BARs to be mapped to the BAM. However, the MSDMA resource utilization exceeds that of the FPGA used for this design (it uses way more M20Ks than available).

That brings me to the Scalable Scatter Gather DMA IP (SSGDMA) for the Agilex 5. The resource utilization of this IP fits within the constraints of the FPGA. However, it seems that the BAM for this IP can only be mapped to BAR 1... is this correct? Is there any way to map multiple BARs (like BAR 1 and 2) to the BAM of the SSGDMA?

Thank you.

  • Hi @jc_ddc ,

    I check internally, unfortunately we do not have any well proven 100% design to reduce the resource utilization for MCDMA.
    For effective working mcdma , I would strongly suggest to consider Agilex5 Modular devkit or Premium devkit.

    Else you can try to start by minimizing the number of channels and FIFO depths in the MCDMA configurator. If that's insufficient, consider a simpler DMA IP or a custom solution if your resource constraints are very tight.

    Regards,

    Wincent_Altera

4 Replies