Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- If you just want random numbers --- Quote End --- Actually my implementation of RNG is based on LFSR. Generating the numbers is not a problem at all. Once I generate a number, I want to figure out which "bin" between 1-256 does this number correspond to using the constant array. The mapping happens to be non-linear. For now I do it using a for loop, which requires the synthesis tool to implement large number of muxes and demuxes. I was curious to know whether there is a less resource-hungry implementation.