R
Ralf Hildebrandt
Guest
ALuPin wrote:
register (LFSR). This is nothing more than a chain of flipflops with
some feedback at special (!) points via XOR-gates.
In number theory it is a primitive and irreducible polynomial over
Galois Field of 2. This polynomial can easily represented by a LFSR.
Polynomials with the same characteristics are used in CRC checksum
generators - so you can take one of these.
Initialize such a LFSR during reset and let it run freely with your main
clock. (That consumes a little bit energy...)
Note: LFSRs provide not a true random signal - only pseudo-random.
Ralf
Use a pseudo-random number generator, which is a linear feedback shiftWhen l_load is high I want to load data but these data
should be random for example between 0 and 7 (integer).
How can I solve that problem with a function ?
register (LFSR). This is nothing more than a chain of flipflops with
some feedback at special (!) points via XOR-gates.
In number theory it is a primitive and irreducible polynomial over
Galois Field of 2. This polynomial can easily represented by a LFSR.
Polynomials with the same characteristics are used in CRC checksum
generators - so you can take one of these.
Initialize such a LFSR during reset and let it run freely with your main
clock. (That consumes a little bit energy...)
Note: LFSRs provide not a true random signal - only pseudo-random.
Ralf