cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer
Observer
4,863 Views
Registered: ‎01-17-2016

Generate random number in HLS

Is there any way to generate a (psuedo) random number in HLS.

It would be an option to create an LFSR in VHDL and stream this to the HLS block as an input but requires some more complexity to the design.

0 Kudos
2 Replies
Highlighted
Scholar
Scholar
4,841 Views
Registered: ‎02-27-2008

Re: Generate random number in HLS

pseudo random number generator in c

 

Just search for the above phrase in your favorite search engine.

Austin Lesea
Principal Engineer
Xilinx San Jose
0 Kudos
Highlighted
Teacher
Teacher
4,821 Views
Registered: ‎03-31-2012

Re: Generate random number in HLS

@chesh hls takes C as input so you can use a C prng.

try this: http://random.mat.sbg.ac.at/results/karl/server/ for size ;-)

- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
0 Kudos