How to transfer data from the address of dram to another address of dram

Post Reply
shengwenLiang
Posts: 27
Joined: Thu Jul 06, 2017 12:57 pm

How to transfer data from the address of dram to another address of dram

Post by shengwenLiang » Mon Apr 16, 2018 6:08 am

Hi,
Recently, I want to add the function in firmware, the function could achieve transfer from the address of dram to another address of dram. For example, I want to transfer data from 0x3000_0000 to 0x3100_0000. I know that could using memcpy() function in firmware but cause high time overhead.

now I want to use DMA in NVME module to achieve this function. so where should I modify in the firmware?

Thanks

KibinPark
Posts: 31
Joined: Thu Mar 30, 2017 9:25 am

Re: How to transfer data from the address of dram to another address of dram

Post by KibinPark » Mon Apr 16, 2018 7:06 am

The DMA module is dedicated to the NVMe IP, so you cannot use it directly.
Instead, you should add another DMA module (such as Xilinx's AXI DMA IP) to your design.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests