From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA 20 random numbers

Hello,

I have NI PXIe-7966R FPGA module and i want to generate 20 random numbers with specified distribution. Now i have random number generator with uniform distribuiton and i have quantile function for my distribution in the form of 1000 point array. It takes a lot of logical blocks of FPGA if Im trying to solve this problem with 20 lookup tables or 20 memory blocks with my quantile function. Can you help me to advice?

0 Kudos
Message 1 of 4
(2,968 Views)

I would generate the random numbers in your Windows/RT system and use a DMA to sends the random values down to the FPGA.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 4
(2,965 Views)

Speed of data stream in DMA channels of NI PXIe-7966R is 800 MB/s. And i should to transfer 20 numbers with U16 type in one clock cycle (100 MHz). It is 4 GB/s.

0 Kudos
Message 3 of 4
(2,949 Views)

Theres an example on NI.com that uses the method outlined in this paper from xilinx

0 Kudos
Message 4 of 4
(2,881 Views)