??? 03/14/06 23:17 Read: times |
#112188 - homework Responding to: ???'s previous message |
This is the result of somebody not doing his homework properly.
The LFSR outcome is to be used after a full shuffle!!! I.e. if you want 16 bits, you must do 16 "rotations" before you produce an output. I hope you verified this arrangement produces a full 65536 run length. However, for 16-bit output I'd recommend you at least a 32-bit LFSR. Search the net for recommended configurations, or pester Jez to tell you some :-) You might want to keep the shift register in the internal memory and copy only the result to the ports. Other remarks:
Jan Waclawek |