mrflibble
Advanced Member level 5
- Joined
- Apr 19, 2010
- Messages
- 2,720
- Helped
- 679
- Reputation
- 1,360
- Reaction score
- 652
- Trophy points
- 1,393
- Activity points
- 19,551
Ok, probably not the answer you're looking for, but how about a noise source(diode) and an ADC?
First you state that you want "maybe a bit more" than a single FF and gate, and then you talk about 8 LFSRs, which is way more than "a bit more".
There's a bunch of stuff on the net (where I'm sure you've already looked) but they all seem to use memory blocks and lots of resources.
Yeah I thought of that. At least, I thought of what I think you mean there. You mean the leap forward technique right? If yes, then ... yes, but no. What that does do is get you a generator of random 16-bit words. Unfortunately, if I'm right (and I'd love to be wrong here) you cannot grab N consecutive words generated by this single, highly correlated with itself random number generator, add them and then hope for the best. Well, you can hope for the best, but AFAIK you will not get a proper normal distribution as per central limit theorem. Maybe I can get away with this for some of my modules requirements, but definitely not for all of them.You can make a parallel version of one LFSR so it can generate a new random word each clock cycle. It is the same principle as for updating a CRC word in one clock cycle. You then have 16 random numbers you can add to generate one with the wanted distribution.
If you have high statistical requirements it may be a good idea to only use 16 bits of a longer LFSR. If the LFSR is only 16 bits the randomness is limited since all of the added 16-bit words will always be different from each other.
Yes, I meant "leap ahead". The LFSR length and the "leap ahead" step size can be chosen independently.
A 33-bit LFSR sounds good. I am not sure that a "leap ahead" step of size 16 is the best choice. Maybe a longer step will give a lower correlation.
Simulations are needed. One step size to test is to have it identical to the LFSR length.
Indeed. Well, with for example a 2 step leap ahead 33-bit LFSR you still can use SRLs and get a resource advantage, but for 16-step it's a nogo.You can't use SRL together with "leap ahead" since the input to one register is not the adjacent bit in the LFSR.
Firstly, this RNG is SLOW. If produces 100 or 120 bits per second, which is 12.5 bytes or 15 bytes per second, depending on if your AC mains frequency is 50Hz or 60Hz.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?