LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview FPGA load files to dram

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.

0 Kudos
Message 1 of 5
(2,256 Views)

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.

0 Kudos
Message 2 of 5
(2,242 Views)

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.

0 Kudos
Message 3 of 5
(2,229 Views)

@Intaris wrote:

Please post some example code.


 

0 Kudos
Message 4 of 5
(2,225 Views)

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.

0 Kudos
Message 5 of 5
(2,192 Views)