IIRC the SID's RNG was based off the internal white noise generator...
Anyway, in my case the problem with a PRNG is that the values are always the same after power up.
Random Number Generation Circuits
-
ElEctric_EyE
- Posts: 3260
- Joined: 02 Mar 2009
- Location: OH, USA
Re: Random Number Generation Circuits
You could take a simple PRNG, like a LFSR, and add an external input signal to mix in some independent noise. For instance, the CPU could read a bunch of uninitialized RAM, and write the bits to the PRNG input. You could also add a simple white noise generator, like this one
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: Random Number Generation Circuits
whartung wrote:
It's curious that, after a solid 3 minutes on Google, there isn't a dedicated RNG chip out there.
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
Re: Random Number Generation Circuits
GARTHWILSON wrote:
Try a different search engine, or different search term. I typed white noise generator "8-pin" into ixquick.com which works the same as google but doesn't have the moral, political, and privacy issues, ...
In theory, there is no difference between theory and practice. In practice, there is. ...Jan van de Snepscheut
Re: Random Number Generation Circuits
GARTHWILSON wrote:
whartung wrote:
It's curious that, after a solid 3 minutes on Google, there isn't a dedicated RNG chip out there.
One is simply a PRNG in a PIC. Another example (neither of these) I saw repeated every 6 hours.
So, yea, these don't really count.
Re: Random Number Generation Circuits
BigEd wrote:
I think perhaps the SID and indeed the Beeb's sound chip contain PRNGs but they are no use to the CPU. A CPLD would be big enough.
I also chose to do this circuit for the collage project, because there were no discrete RND chips, so I didn't work on something that existed in abundance, like what my professor initially suggester(enhanced full adder).
Re: Random Number Generation Circuits
GARTHWILSON wrote:
Try a different search engine, or different search term. I typed white noise generator "8-pin" into ixquick.com which works the same as google but doesn't have the moral, political, and privacy issues, and the first result was for making one with at PIC12F675. The next two were about the National Semi MM5837 8-pin IC.
Re: Random Number Generation Circuits
By the way, there are some techniques to get a real random generator on an FPGA. See for instance: http://teal.gmu.edu/courses/ECE646/proj ... /RN-1.pdf
Note that you'll have to fight the synthesis tools to get these properly implemented and not optimized away.
Note that you'll have to fight the synthesis tools to get these properly implemented and not optimized away.
Re: Random Number Generation Circuits
Arlet wrote:
Note that you'll have to fight the synthesis tools to get these properly implemented and not optimized away.
-
ElEctric_EyE
- Posts: 3260
- Joined: 02 Mar 2009
- Location: OH, USA
Re: Random Number Generation Circuits
Found a good app note from Maxim Integrated that explains a few things of interest, and it's a simple design that they do measurements on up to 100MHz although it is from 2005.
So maybe better products are available to improve the design for a lower operating voltage (i.e. 3.3V) and @ higher frequencies?
The AN says the higher voltage Zener diodes (14V+) work better than the lower voltage Zener diodes. Also the lower bias current (@10mA) was just as good as the higher current (@60mA). So maybe some simple voltage doublers, like on Garth's primer would be in order and we could have a working 3.3v circuit.
So maybe better products are available to improve the design for a lower operating voltage (i.e. 3.3V) and @ higher frequencies?
The AN says the higher voltage Zener diodes (14V+) work better than the lower voltage Zener diodes. Also the lower bias current (@10mA) was just as good as the higher current (@60mA). So maybe some simple voltage doublers, like on Garth's primer would be in order and we could have a working 3.3v circuit.