04-21-2017 12:31 AM
I AM WORKING ON ZYNQ 7020 CUSTOMIZED BOARD,
I HAVE CONFIGURED MY VDMA IN TRIPPLE BUFFER .WHEN I DO THE WRITE I AM ABLE TO WRITE THREE MEMORY LOCATON .THAT MEANS TRIPPLE BUFFER IS WORKING.
NOW I WANT TO READ THE DATA FROM THESE TRIPPLE BUFFER WITHOUT USING ANOTHER VDMA IP CORE IN THE PL. I NEED TO READ FROM ONLY PS . THEN I NEED TO TRANSMIT THIS TO THE ETHERNET.
I DONT KNOW HOW TO DO THE READ FROM PS COULD SOMEONE PLEASE TELL ME HOW TO DO THIS
04-23-2017 10:25 AM
@theertharamesha the buffers to which VDMA writes are in DDR so all you need are the processor accessible addresses for these buffers and you generate regular accesses to these addresses ie
long* fbuf = 'some address to which VDMA has access";
long temp = fbuf[idx];
ethernet_buffer[eidx] = temp;
depending on how your mmu is configured the processor accessible address could be the same as the physical address vdma needs.
04-23-2017 10:32 PM