07-02-2018 08:42 AM
Hi ,
Im usign the Kintex 7 device.
I have 3 binary files which i need to load to the DRAM.
i wrote a code (target side) , based on a state machine which load each files .
I used one DMA for it. one state is writing data to the DMA (Host - to - Target) , and next is reading from the DMA to the DRAM .
When i tried to compile the code , i had an error which, which tells that im trying to use the same DMA resource.
07-02-2018 09:29 AM - edited 07-02-2018 09:29 AM
How are you writing to a Host-to-Target DMA from the Target? That doesn't make sense. A Host to Target DMA is read-only on the FPGA.
Just to be clear:
Target = FPGA
Host = RT or PC hosting the FPGA device
Please post some example code.
07-02-2018 10:51 AM
I’ll try to explain myself better.
on the host vi im using host-to-target.write .
on the target side im using host-to-target. Read, and try to read data from the dma to the dram.
07-02-2018 11:01 AM
@Intaris wrote:
Please post some example code.
07-04-2018 03:47 AM
Hi ,
I think i figured it out, and completed the compilation.
the next step is to read data from the DRAM to the FIFO,
are there any examples which i can use , and learn from ?
Thank you.