One method of generating a random number on a digital integrated circuit is to use a number of ring oscillators, (typically an odd number of digital inverters connected in a loop), with their outputs latched and those latched values having an XOR function performed on them. If the individual ring oscillators have different phases the output cannot be predicted because the capture of the current output state (0 or 1) by the latches will include capturing of some transitioning edges. The results of those that are transitioning will not be predictable due to noise. Prior art designs have relied on random circuit variations unintentionally created during manufacturing to ensure the ring oscillators have slightly different phases between each of the many ring oscillators in the design.
The individual ring oscillators in the prior art typically have circuitry to enable (or inhibit) their oscillation. There is a possibility that when they are first started the rings may be similar enough that the latching and XORing function will catch a consistent set of all zeros or all ones, or behave in a predictable manner, delivering a predictable output stream for some period of time.
It is therefore an object of the present invention to provide an apparatus and method that overcomes the prior art's limitations by intentionally staggering the startup of the ring oscillators across one (or more) of their oscillation cycles by including a delay circuit between each ring oscillator's enable signal and the next ring oscillator's enable signal. Even if each ring oscillator is very similar, their intentional offset in starting up will help ensure the bits generated are random.
Referring to
Still referring to
Referring to
Referring to
Having described preferred embodiments of the invention with reference to the accompanying drawings, it is to be understood that the invention is not limited to those precise embodiments, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope or spirit of the invention as defined in the appended claims.
This patent application claims the priority benefit of the filing date of provisional application Ser. No. 61/817,368, having been filed in the United States Patent and Trademark Office on Apr. 30, 2013 and now incorporated by reference herein.
The invention described herein may be manufactured and used by or for the Government for governmental purposes without the payment of any royalty thereon.
| Number | Name | Date | Kind |
|---|---|---|---|
| 20020120898 | Chen | Aug 2002 | A1 |
| 20060069706 | Lazich | Mar 2006 | A1 |
| 20090089347 | Pomet | Apr 2009 | A1 |
| 20110131263 | Vasyltsov | Jun 2011 | A1 |
| 20120233233 | Chandra | Sep 2012 | A1 |
| 20140201253 | Chu | Jul 2014 | A1 |
| 20150106415 | Mei | Apr 2015 | A1 |
| Number | Date | Country | |
|---|---|---|---|
| 20150193208 A1 | Jul 2015 | US |
| Number | Date | Country | |
|---|---|---|---|
| 61817368 | Apr 2013 | US |