Random Bit Generator
Hal Murray wrote:
I'm only getting 52 before a repeat :-(
(I'm looking at the serial stream.)
Get rid of that reset kludgery.
LFSRs with the right taps will cycle through 2^N-1 states.
The other state is stable.
The stable state is all 0s or all 1s. You can switch to the other one
with an inverter.
That's there in case some random glitch inserts or removes a bit,
accidentally leading to the stuck state.
Cheers!
Rich
|