Apparatus and method for generating random numbers
First Claim
1. An apparatus operable in synchronization with clock pulses for generating random numbers of a predetermined length that are less than a predetermined number in response to a request signal, comprising:
- a random-number generating circuit for generating a random number of the predetermined length in response to an operation pulse;
a comparator circuit for determining whether or not the generated random number is smaller than the predetermined number and outputting a comparison result signal; and
a logic circuit responsive to said request signal, said comparison result signal, and said clock pulses, for generating said operation pulse in response to said request signal and in response to said clock pulses if said generated random number is not smaller than said predetermined number.
1 Assignment
0 Petitions
Accused Products
Abstract
If a random number generated by a random-number generator is equal to or greater than a random number having a predetermined amplitude, a high-level comparison result signal is produced to cause an AND gate and an OR gate to apply clock pulses to the random-number generator, which updates the random number. Only random numbers whose amplitude is smaller than the predetermined amplitude are stored in a D-type flip-flop and outputted as generated random numbers. Since random numbers whose amplitude is smaller than the predetermined amplitude are selected from the random numbers that are outputted from the random-number generator, a random-number generating apparatus does not require a processing circuit, and may be of a relatively small circuit scale and can generate random numbers having a desired amplitude at all times and with no amplitude errors.
39 Citations
18 Claims
-
1. An apparatus operable in synchronization with clock pulses for generating random numbers of a predetermined length that are less than a predetermined number in response to a request signal, comprising:
-
a random-number generating circuit for generating a random number of the predetermined length in response to an operation pulse; a comparator circuit for determining whether or not the generated random number is smaller than the predetermined number and outputting a comparison result signal; and a logic circuit responsive to said request signal, said comparison result signal, and said clock pulses, for generating said operation pulse in response to said request signal and in response to said clock pulses if said generated random number is not smaller than said predetermined number. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An apparatus for generating random numbers, comprising:
-
random-number generating means for generating a random number of a predetermined length in response to an operation pulse; and means for determining whether or not the generated random number is smaller than a predetermined number and supplying said operation pulse to said random-number generating means depending on whether or not the generated random number is smaller than the predetermined number. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A method of generating random numbers, comprising the steps of:
-
generating a random number of a predetermined length; determining whether or not the generated random number is smaller than a predetermined number; and repeating said step of generating and said step of determining if said generated random number is not smaller than said predetermined number. - View Dependent Claims (15, 16, 17, 18)
-
Specification