PYNQ: PYTHON PRODUCTIVITY FOR ZYNQ

Get a contiguous & aligned allocated array

Hi all,

I want to define a physically continuous memory buffer to be used with a DMA engine. While the xlnk library provides this using Xlnk.cma_array, I do not have any control over the buffer address alignment. Specifically, I want the physical address to be aligned with data transfer width of 128 since I have configured the DMA axi bus data-width to 128.
Do you have an idea how to achieve this?

Thanks in advance,