| ??? 12/25/03 22:32 Read: times |
#61395 - RE: Random number from 1 to 8 Responding to: ???'s previous message |
hi,
Your idea of hardware random number generator is great well, some my projects use Altera PLD and I implemented rand() inside it. But another ones use software-based shift-register emulation as well. It is not so hard to do it both with ASM and C. I preffer for ASM because it is short and quick. Moreover, with ASM I can control the formula of XORs, the lenght of random cycle etc and so such random sequence is "my(tm)". I can give you ASM-examples which I use for 32767 bytes cycle generator. cu |



