LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

maximum array size on fpga

Hey!

 

I am using arrays in FPGA (PXI-7842R).  What can be the maximum size of array?  

0 Kudos
Message 1 of 7
(5,799 Views)
The FPGA programming guide says to try and limit your arrays to 32 elements. You can probably get away with more if you have more gates on the FPGA. Keep in mind that arrays take a lot of space on the FPGA. If you need a larger one, you'll have to send the data back to either RT or LabVIEW to process it.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 7
(5,777 Views)
Another good idea is use DMA FIFO to transfer the data from RT to FPGA. I dont know why you required array in FPGA?
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
0 Kudos
Message 3 of 7
(5,772 Views)
Instead of large arrays I recommend you to use FPGA block RAM.
0 Kudos
Message 4 of 7
(5,758 Views)

Thanks for your replies,

 

I understand the constraints of using large arrays so I want to use FIFO instead. I want to pass two data streams from labview to fpga, process them on fpga & pass the output data to labview again.

I made a simple model for experiment, but its not working. I looked at a example & made it, but i guess there are a lot of problems in it. Can you please point out the problems?

 

& please recommend any tutorial/link for help in fpga programming. Thanks again!

0 Kudos
Message 5 of 7
(5,725 Views)

In the FPGA-code there is missing a loop. The VI executes one time and then terminates. A communication with RT-controller never would be established.

In the project I see the usage of two host-to-target-DMAs. I don´t know if this is supported by your hardware. I suppose it wouldn´t because there is missing a possibility to define the DMA-channe.

 

0 Kudos
Message 6 of 7
(5,722 Views)

Hey,

 

Take a look at the tutorial below:

http://zone.ni.com/devzone/cda/tut/p/id/3555

 

Thanks,

 

Anna

National Instruments
0 Kudos
Message 7 of 7
(5,689 Views)