JPH0155613B2 - - Google Patents

Info

Publication number
JPH0155613B2
JPH0155613B2 JP57122749A JP12274982A JPH0155613B2 JP H0155613 B2 JPH0155613 B2 JP H0155613B2 JP 57122749 A JP57122749 A JP 57122749A JP 12274982 A JP12274982 A JP 12274982A JP H0155613 B2 JPH0155613 B2 JP H0155613B2
Authority
JP
Japan
Prior art keywords
output
generator
outputs
registers
random number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP57122749A
Other languages
Japanese (ja)
Other versions
JPS5913415A (en
Inventor
Katsusada Orito
Yasushi Tanabe
Masanori Mori
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ando Electric Co Ltd
Shingijutsu Kaihatsu Jigyodan
Original Assignee
Ando Electric Co Ltd
Shingijutsu Kaihatsu Jigyodan
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ando Electric Co Ltd, Shingijutsu Kaihatsu Jigyodan filed Critical Ando Electric Co Ltd
Priority to JP57122749A priority Critical patent/JPS5913415A/en
Publication of JPS5913415A publication Critical patent/JPS5913415A/en
Publication of JPH0155613B2 publication Critical patent/JPH0155613B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K3/00Circuits for generating electric pulses; Monostable, bistable or multistable circuits
    • H03K3/84Generating pulses having a predetermined statistical distribution of a parameter, e.g. random pulse generators

Description

【発明の詳細な説明】 この発明は、任意の確率で論理「1」または
「0」を発生するランダム2値符号列発生装置に
ついてのものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a random binary code string generator that generates logical "1" or "0" with arbitrary probability.

デイジタル回路の試験方法として、試験回路に
論理「1」および「0」のランダム2値符号列を
加え、その出力端に現れる2値符号の一方、例え
ば論理「1」のクロツク数をカウントし、正常回
路の計数値と比較する方法がある。
As a testing method for digital circuits, a random binary code string of logic "1" and "0" is added to the test circuit, and the number of clocks of one of the binary codes, for example, logic "1" appearing at the output terminal is counted. There is a method to compare the count value with the normal circuit.

また、論理「1」または「0」のでる確率の小
さいランダム2値符号列をリセツト信号やロード
信号として使用する場合がある。
Further, a random binary code string with a low probability of producing a logical "1" or "0" may be used as a reset signal or a load signal.

このような場合に使用する従来装置の構成図を
第1図に示す。第1図は4ビツト3出力の例であ
る。第1図の1は例えばM系列発生器などの2進
乱数発生器、2A〜2Cはレジスタ、3A〜3C
はデイジタル比較器、6A〜6Cは出力端子であ
る。
A configuration diagram of a conventional device used in such a case is shown in FIG. FIG. 1 shows an example of 4 bits and 3 outputs. 1 in FIG. 1 is a binary random number generator such as an M-sequence generator, 2A to 2C are registers, and 3A to 3C.
is a digital comparator, and 6A to 6C are output terminals.

2進乱数発生器1の出力端11a〜14dに
は、おのおの独立に確率1/2の2値乱数がクロツ
クに同期して出てくる。したがつて、出力端11
a〜14dの出力2値符号を各クロツクごとに2
進デイジタル値としてみると、「0」から「1」
までの値を4桁のデイジタル値として、すべて等
しい確率で発生していることになる。
At the output terminals 11a to 14d of the binary random number generator 1, binary random numbers with a probability of 1/2 are independently outputted in synchronization with the clock. Therefore, the output end 11
The output binary codes of a to 14d are set to 2 for each clock.
When viewed as a hexadecimal digital value, it ranges from “0” to “1”.
Assuming that the values up to this point are 4-digit digital values, they all occur with equal probability.

レジスタ2A〜2Cには、発生したい確率に対
応する4桁の2進デイジタル値がその出力にでる
ように、あらかじめ設定しておく。なお、レジス
タ2A〜2Cの代りにスイツチを使用してもよ
い。
The registers 2A to 2C are set in advance so that a four-digit binary digital value corresponding to the desired probability of occurrence is output. Note that switches may be used in place of the registers 2A to 2C.

デイジタル比較器3A〜3Cでは、各クロツク
ごとに2進乱数発生器1の出力とレジスタ2A〜
2Cの出力を比較し、レジスタ2A〜2Cの出力
が2進乱数発生器1の出力より大きいときは、出
力端子6A〜6Cに符号「1」を出し、その他の
場合は「0」を出す。
Digital comparators 3A to 3C output the output of binary random number generator 1 and registers 2A to 3C for each clock.
The outputs of the registers 2A to 2C are compared, and if the outputs of the registers 2A to 2C are larger than the output of the binary random number generator 1, a code "1" is output to the output terminals 6A to 6C, and in other cases, a "0" is output.

このようにすると、出力端子6A〜6Cに出て
くる符号列は、精度が24で「1」になる確率の2
値ランダム符号列になる。
In this way, the code string that comes out to the output terminals 6A to 6C has a probability of 2 to 1 with an accuracy of 2 4 .
The value becomes a random code string.

第1図は4ビツト構成の例なので、2進乱数発
生器1には11〜14の4個の2進乱数発生器が
あり、レジスタ2A〜2C、デイジタル比較器3
A〜3Cにもそれぞれ21〜24のレジスタ、3
1〜34のデイジタル比較器がある。これを8ビ
ツト構成にすれば、それぞれの構成が8個ずつ必
要になる。そして、2進乱数発生器11〜14の
各出力11a〜14dをそれぞれデイジタル比較
器3A〜3Cの入力に接続する。接続方法は、2
進乱数発生器11〜14の第1の出力11a〜1
4aをデイジタル比較器3Aに接続し、以下、1
1b〜14bを3Bの、11c〜14cを3Cに
それぞれ接続する。
Since FIG. 1 shows an example of a 4-bit configuration, there are four binary random number generators 11 to 14 in binary random number generator 1, registers 2A to 2C, and digital comparator 3.
A to 3C also have 21 to 24 registers, 3
There are 1 to 34 digital comparators. If this is made into an 8-bit configuration, eight of each configuration will be required. The outputs 11a-14d of the binary random number generators 11-14 are connected to the inputs of the digital comparators 3A-3C, respectively. The connection method is 2.
First outputs 11a-1 of hex random number generators 11-14
4a to the digital comparator 3A, and the following 1
Connect 1b to 14b to 3B, and connect 11c to 14c to 3C.

また、第1図は3出力の例なので、3個のレジ
スタ2A〜2Cの3個のデイジタル比較器3A〜
3Cがあり、3個の出力端子6A〜6Cからそれ
ぞれ出力を取り出す。2進乱数発生器1はそれぞ
れ11〜14が11a〜11dのように多くの出
力をもつているので、1個でよい。
Also, since FIG. 1 is an example of three outputs, three registers 2A to 2C and three digital comparators 3A to 2C are used.
3C, and outputs are taken out from three output terminals 6A to 6C, respectively. Since the binary random number generator 1 has many outputs such as 11 to 14 and 11a to 11d, only one is required.

試験するデイジタル回路が多数あるときは、多
数の出力が同時に出れば便利である。
When there are many digital circuits to test, it is convenient to have multiple outputs at the same time.

しかし、第1図のような従来装置で出力数を多
くするためには、必要とする出力数と同じ数のレ
ジスタとデイジタル比較器が必要となる。例え
ば、8ビツト8出力の発生装置が必要なときは、
8個の2進乱数発生器、8×8=64個のレジス
タ、8×8=64個のデイジタル比較器が必要にな
り、構成が複雑になるという問題がある。
However, in order to increase the number of outputs in the conventional device as shown in FIG. 1, the same number of registers and digital comparators as the required number of outputs are required. For example, if you need a generator with 8 bits and 8 outputs,
This requires 8 binary random number generators, 8×8=64 registers, and 8×8=64 digital comparators, resulting in a complicated configuration.

この発明は、多出力が必要な場合でも少ない構
成数で多くの出力を取り出すことができる発生装
置を提供するものである。以下、図面によりこの
発明を詳細に説明する。
The present invention provides a generator that can extract a large amount of output with a small number of components even when multiple outputs are required. Hereinafter, this invention will be explained in detail with reference to the drawings.

まず、この発明による実施例の構成図を第2図
に示す。第2図は8ビツト8出力の場合の実施例
で、10と20はそれぞれ発生装置、4A〜4H
は掛算器、6A〜6Hは出力端子である。
First, a configuration diagram of an embodiment according to the present invention is shown in FIG. Figure 2 shows an example of 8 bits and 8 outputs, where 10 and 20 are generators, 4A to 4H, respectively.
is a multiplier, and 6A to 6H are output terminals.

発生装置10には、1組の2進乱数発生器、8
組のレジスタ2A〜2Hおよび8組のデイジタル
比較器3A〜3Hがあり、第1図と同じように各
構成間をそれぞれ接続する。
The generator 10 includes a set of binary random number generators, 8
There are sets of registers 2A to 2H and eight sets of digital comparators 3A to 3H, and the respective components are connected in the same manner as in FIG.

発生装置10は4ビツト構成にする。したがつ
て、2進乱数発生器1には第1図と同じように、
11〜14の4個の2進乱数発生器があり、レジ
スタ2A〜2H、デイジタル比較器3A〜3Hに
もそれぞれ21〜24のレジスタ、31〜34の
デイジタル比較器がある。すなわち、発生装置1
0は4ビツト8出力であり、4個の2進乱数発生
器、4×8=34個のレジスタ、4×8=32個のデ
イジタル比較器で構成される。
The generator 10 has a 4-bit configuration. Therefore, the binary random number generator 1 has the following as shown in FIG.
There are four binary random number generators 11-14, and registers 2A-2H and digital comparators 3A-3H also have registers 21-24 and digital comparators 31-34, respectively. That is, the generator 1
0 has 4 bits and 8 outputs, and is composed of 4 binary random number generators, 4×8=34 registers, and 4×8=32 digital comparators.

発生装置20には、それぞれ1個の2進乱数発
生器1L、レジスタ2Lおよびデイジタル比較器
3Lがある。
The generator 20 each has one binary random number generator 1L, a register 2L and a digital comparator 3L.

発生装置20も4ビツト構成にする。したがつ
て、2進乱数発生器1Lには第1図の11〜14
に相当する4個の2進乱数発生器があり、レジス
タ2L、デイジタル比較器3Lにもそれぞれ21
〜24に相当する4個のレジスタ、31〜34に
相当する4個のデイジタル比較器がある。すなわ
ち、発生装置20は4ビツト1出力であり、それ
ぞれ4個ずつの2進乱数発生器、レジスタおよび
デイジタル比較器で構成される。
The generator 20 also has a 4-bit configuration. Therefore, the binary random number generator 1L has numbers 11 to 14 in FIG.
There are four binary random number generators corresponding to , and the register 2L and digital comparator 3L each have 21
There are four registers corresponding to .about.24 and four digital comparators corresponding to 31-34. That is, the generator 20 has a 4-bit 1 output, and is composed of four binary random number generators, a register, and a digital comparator.

なお、発生装置20内に2進乱数発生器1Lを
設ける代りに、発生装置10内の2進乱数発生器
11〜14のあき端子を利用してもよい。
Note that instead of providing the binary random number generator 1L in the generator 20, the open terminals of the binary random number generators 11 to 14 in the generator 10 may be used.

掛算器4A〜4Hは発生装置10の8出力と発
生装置20の出力をそれぞれ掛算する。第2図は
掛算器4A〜4HとしてANDゲートを使用した
例を示している。
Multipliers 4A to 4H multiply the eight outputs of generator 10 and the output of generator 20, respectively. FIG. 2 shows an example in which AND gates are used as the multipliers 4A to 4H.

第2図の8ビツト8出力の場合には、4個の2
進乱数発生器、36個のレジスタ、36個のデイジタ
ル比較器および8個の掛算器があればよく、第1
図の場合に比べて、構成数が約半分ですむ。
In the case of 8 bits and 8 outputs in Figure 2, four 2
All you need is a base random number generator, 36 registers, 36 digital comparators and 8 multipliers;
The number of configurations is about half that of the case shown in the figure.

第2図の実施例を一般的な表現に直すと、次の
ようになる。
The embodiment shown in FIG. 2 can be expressed in general terms as follows.

(1) m≧2の整数、n≧1の整数で、2mの精度を
もつn出力のランダム2値符号列を発生する場
合において、 (2) a≧1の整数、b≧1の整数およびa+b=
mの関係にあるとき、 (3) a個の2進乱数発生器、n×a個のレジスタ
およびn×a個のデイジタル比較器からなるn
出力の発生装置10と、 (4) b個の2進乱数発生器、b個のレジスタおよ
びb個のデイジタル比較器からなる1出力の発
生装置20と、 (5) 発生装置10のn出力と発生装置20の出力
をそれぞれ掛算するn個の掛算器。
(1) When generating a random binary code string of n outputs with a precision of 2 m , where m≧2 integers and n≧1 integers, (2) a≧1 integers, and b≧1 integers. and a+b=
(3) n consisting of a binary random number generators, n x a registers, and n x a digital comparators.
(4) a one-output generator 20 consisting of b binary random number generators, b registers and b digital comparators; (5) n output of the generator 10; n multipliers each multiplying the output of the generator 20;

第2図の8ビツト8出力の場合、m=8、n=
8であり、a=4にしたので、b=4になる。
In the case of 8 bits and 8 outputs in Figure 2, m=8, n=
8, and since a=4, b=4.

例えば、12ビツト10出力の場合は、m=12、n
=10であり、a=6とすれば、b=6、a=4と
すればb=8となる。
For example, in the case of 12-bit 10 outputs, m=12, n
=10, and if a=6, then b=6, and if a=4, b=8.

また、16ビツト10出力の場合、m=16、n=10
であり、a=8とすれば、b=8であり、a=4
とすればb=12となる。
In addition, in the case of 16-bit 10 outputs, m = 16, n = 10
and if a=8, then b=8 and a=4
Then, b=12.

a=6のときは、発生装置10には6個の2進
乱数発生器、60個のレジスタおよび60個のデイジ
タル比較器があればよく、発生装置20にはそれ
ぞれ6個の2進乱数発生器、レジスタおよびデイ
ジタル比較器があればよい。
When a=6, the generator 10 only needs to have 6 binary random number generators, 60 registers and 60 digital comparators, and the generator 20 each has 6 binary random number generators. All that is required is a register, a register, and a digital comparator.

12ビツト10出力の場合を第1図の従来装置で実
現するためには、12個の乱数発生器、120個のレ
ジスタおよび120個のデイジタル比較器が必要に
なる。したがつて、第2図の構成によれば、大幅
に構成数を減らすことができる。
In order to realize the case of 12 bits and 10 outputs with the conventional device of FIG. 1, 12 random number generators, 120 registers and 120 digital comparators are required. Therefore, according to the configuration shown in FIG. 2, the number of components can be significantly reduced.

第2図の8ビツト構成で出力端子6A〜6Hに
現れる「1」の発生確率は次のようになる。
The probability of occurrence of "1" appearing at the output terminals 6A to 6H in the 8-bit configuration shown in FIG. 2 is as follows.

発生装置10の出力は4ビツトなので1/24
1/16になり、発生装置20の出力も4ビツトな
ので1/24=1/16になる。発生装置10の出力と
発生装置20の出力は掛算器4A〜4Hで掛算さ
れるので、(1/16)×(1/16)=1/256になり、
「1」の発生確率は1/28になる。
Since the output of the generator 10 is 4 bits, 1/2 4 =
Since the output of the generator 20 is also 4 bits, 1/2 4 =1/16. The output of the generator 10 and the output of the generator 20 are multiplied by the multipliers 4A to 4H, so (1/16) x (1/16) = 1/256,
The probability of occurrence of "1" is 1/2 8 .

発生装置20のレジスタ2Lの設定値を変えれ
ば、第2図の発生確率を変えることができる。発
生装置20の出力を(1/16)〜(15/16)まで
変化させれば、出力端子6A〜6Hには発生確率
=(1/16)×〔(1/16)〜(15/16)〕=(1/
256)〜(15/256)が得られる。これは、「1」
の発生確率が0に近い方を細かく設定できること
を示す。
By changing the set value of the register 2L of the generator 20, the probability of occurrence shown in FIG. 2 can be changed. If the output of the generator 20 is changed from (1/16) to (15/16), the output terminals 6A to 6H have the probability of occurrence = (1/16) x [(1/16) to (15/16). )]=(1/
256) to (15/256) are obtained. This is "1"
This shows that the probability of occurrence of is close to 0 can be set finely.

なお、発生装置20には1組のレジスタ2Lが
あるだけなので、レジスタ2Lの設定値変更で8
個の出力を同時に変更することができる。
Note that since the generator 20 has only one set of registers 2L, changing the setting value of the register 2L
outputs can be changed simultaneously.

第2図の発生装置10と発生装置20の各出力
に反転器を接続し、4A〜4Hをナンド回路にす
れば、出力端子6A〜6Hに現れる「1」の発生
確率は次のようになる。
If an inverter is connected to each output of the generator 10 and generator 20 in Fig. 2, and 4A to 4H are made into a NAND circuit, the probability of occurrence of "1" appearing at the output terminals 6A to 6H is as follows. .

発生装置10の出力は(15/16)になり、レジ
スタ2Lを可変すれば発生装置20の出力は
(1/16)〜(15/16)になる。したがつて、出
力端子6A〜6Hには(210/256)〜(255/
256)が得られる。これは、「1」の発生確率が1
に近い方を細かく設定できることを示す。
The output of the generator 10 becomes (15/16), and by varying the register 2L, the output of the generator 20 becomes (1/16) to (15/16). Therefore, output terminals 6A to 6H have (210/256) to (255/
256) is obtained. This means that the probability of occurrence of "1" is 1
This shows that it is possible to finely set the one closest to .

次に、この発明による他の実施例の構成図を第
3図に示す。第3図は第2図に発生装置20と加
算器5A〜5Hを追加したものである。
Next, a block diagram of another embodiment according to the present invention is shown in FIG. FIG. 3 is a diagram in which a generator 20 and adders 5A to 5H are added to FIG. 2.

発生装置30は発生装置10と構成は同じであ
るが、レジスタ2A〜2Hに設定する発生確率が
異なるようにしたもので、掛算器4A〜4Hの出
力と発生装置30の各出力を加算器5A〜5Hで
加算する。第3図は加算器5A〜5Hとしてオア
ゲートを使用した例を示している。
The generator 30 has the same configuration as the generator 10, but the occurrence probabilities set in the registers 2A to 2H are different, and the outputs of the multipliers 4A to 4H and each output of the generator 30 are combined with the Add in ~5H. FIG. 3 shows an example in which OR gates are used as adders 5A to 5H.

第3図の実施例を一般的な表現に直すと、次の
ようになる。
The embodiment shown in FIG. 3 can be expressed in general terms as follows.

(1) m、n、a、b、発生装置10、発生装置2
0および掛算器の条件は第1図の場合と同じと
し、 (2) a個の2進乱数発生器、n×a個のレジスタ
およびn×a個のデイジタル比較器からなるn
出力の発生装置30と、 (3) n個の掛算器の出力とn個の発生装置30の
出力をそれぞれ加算するn個の加算器。
(1) m, n, a, b, generator 10, generator 2
The conditions for 0 and the multiplier are the same as in Figure 1, and (2) an
(3) n adders that add the outputs of the n multipliers and the outputs of the n generators 30, respectively;

例えば、第2図の発生確率を(1/256)〜
(15/256)とし、第3図の発生装置30で得られ
る発生確率を(100/256)とすれば、第3図の出
力端子6A〜6Hには(100/256)〜(115/
256)の発生確率が得られる。すなわち、第3図
の構成によれば、0または1から離れたところで
第2図の発生確率の精度をもつ2値符号列が得ら
れる。
For example, the probability of occurrence in Figure 2 is (1/256) ~
(15/256) and the probability of occurrence obtained by the generator 30 in FIG. 3 is (100/256), then the output terminals 6A to 6H in FIG.
256) can be obtained. That is, according to the configuration shown in FIG. 3, a binary code string having the accuracy of the occurrence probability shown in FIG. 2 can be obtained even when the code is far from 0 or 1.

いいかえると、第2図の発生確率を例えば、
0.00163または0.999837とすれば、第3図では
0.455163とは0.623837などの発生確率が得られる
ようになる。
In other words, the probability of occurrence in Figure 2 is, for example,
If it is 0.00163 or 0.999837, in Figure 3
0.455163 will give you a probability of occurrence such as 0.623837.

以上のように、この発明によれば、少ない構成
数で発生確率の精度が高い多出力のランダム2値
符号列が得られ、さらに少数のレジスタの設定値
を変えることにより多出力の発生確率を変えるこ
とができる。
As described above, according to the present invention, a multi-output random binary code string with high accuracy of occurrence probability can be obtained with a small number of components, and the probability of multi-output occurrence can be further reduced by changing the setting values of a small number of registers. It can be changed.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は従来装置の構成図、第2図はこの発明
による実施例の構成図、第3図はこの発明による
他の実施例の構成図である。 1……2進乱数発生器、1L……2進乱数発生
器、2A〜2H……レジスタ、2L……レジス
タ、3A〜3H……デイジタル比較器、3L……
デイジタル比較器、4A〜4H……掛算器、5A
〜5H……加算器、6A〜6H……出力端子、1
1〜14……2進乱数発生器、21〜24……レ
ジスタ、31〜34……デイジタル比較器、11
a〜14d……2進乱数発生器11〜14の出力
端。
FIG. 1 is a block diagram of a conventional device, FIG. 2 is a block diagram of an embodiment according to the present invention, and FIG. 3 is a block diagram of another embodiment according to the present invention. 1...Binary random number generator, 1L...Binary random number generator, 2A to 2H...Register, 2L...Register, 3A to 3H...Digital comparator, 3L...
Digital comparator, 4A to 4H... Multiplier, 5A
~5H...Adder, 6A~6H...Output terminal, 1
1-14...Binary random number generator, 21-24...Register, 31-34...Digital comparator, 11
a to 14d...Output terminals of the binary random number generators 11 to 14.

Claims (1)

【特許請求の範囲】 1 m≧2の整数、n≧1の整数で、2mの精度を
もつn出力のランダム2値符号列を発生する場合
において、 a≧1の整数、b≧1の整数およびa+b=m
の関係にあるとき、 各クロツクごとにa個の2進乱数発生器の出力
とn×a個のレジスタの出力をn×a個のデイジ
タル比較器で比較し、n×a個のレジスタの出力
がa個の2進乱数発生器の出力より大きいときは
「1」を出し、その他の場合は「0」を出すn出
力の第1の発生装置10と、 各クロツクごとにb個の2進乱数発生器の出力
とb個のレジスタの出力をb個のデイジタル比較
器で比較し、b個のレジスタの出力がb個の2進
乱数発生器の出力より大きいときは「1」を出
し、その他の場合は「0」を出す1出力の第2の
発生装置20と、 第1の発生装置10のn出力と第2の発生装置
20の出力をそれぞれ掛算するn個の掛算器とを
備えることを特徴とするランダム2値符号列発生
装置。 2 m≧2の整数、n≧1の整数で、2mの精度を
もつn出力のランダム2値符号列を発生する場合
において、 a≧1の整数、b≧1の整数およびa+b=m
の関係にあるとき、 各クロツクごとにa個の2進乱数発生器の出力
とn×a個のレジスタの出力をn×a個のデイジ
タル比較器で比較し、n×a個のレジスタの出力
がa個の2進乱数発生器の出力より大きいときは
「1」を出し、その他の場合は「0」を出すn出
力の第1の発生装置10と、 各クロツクごとにb個の2進乱数発生器の出力
とb個のレジスタの出力をb個のデイジタル比較
器で比較し、b個のレジスタの出力がb個の2進
乱数発生器の出力より大きいときは「1」を出
し、その他の場合は「0」を出す1出力の第2の
発生装置20と、 第1の発生装置10のn出力と第2の発生装置
20の出力をそれぞれ掛算するn個の掛算器とを
備え、 第2の発生装置20のb個のレジスタの設定値
を変えることによりn個の掛算器の出力をそれぞ
れ変えることを特徴とするランダム2値符号列発
生装置。 3 m≧2の整数、n≧1の整数で、2mの精度を
もつn出力のランダム2値符号列を発生する場合
において、 a≧1の整数、b≧1の整数およびa+b=m
の関係にあるとき、 各クロツクごとにa個の2進乱数発生器の出力
とn×a個のレジスタの出力をn×a個のデイジ
タル比較器で比較し、n×a個のレジスタの出力
がa個の2進乱数発生器の出力より大きいときは
「1」を出し、その他の場合は「0」を出すn出
力の第1の発生装置10と、 各クロツクごとにb個の2進乱数発生器の出力
とb個のレジスタの出力をb個のデイジタル比較
器で比較し、b個のレジスタの出力がb個の2進
乱数発生器の出力より大きいときは「1」を出
し、その他の場合は「0」を出す1出力の第2の
発生装置20と、 第1の発生装置10のn出力と第2の発生装置
20の出力をそれぞれ掛算するn個の掛算器と、 各クロツクごとにa個の2進乱数発生器の出力
とn×a個のレジスタの出力をn×a個のデイジ
タル比較器で比較し、n×a個のレジスタの出力
がa個の2進乱数発生器の出力より大きいときは
「1」を出し、その他の場合は「0」を出すn出
力の第3の発生装置30と、 n個の掛算器の出力と第3の発生装置30の出
力をそれぞれ加算するn個の加算器とを備えるこ
とを特徴とするランダム2値符号列発生装置。
[Claims] 1 In the case of generating a random binary code string of n outputs with a precision of 2 m , where m≧2 integers, n≧1 integers, a≧1 integers, b≧1, integer and a+b=m
For each clock, the outputs of the a binary random number generators and the outputs of the n×a registers are compared by the n×a digital comparators, and the outputs of the n×a registers are a first generator 10 with n outputs that outputs a ``1'' when is greater than the output of the a binary random number generators and a ``0''otherwise; The output of the random number generator and the output of b registers are compared with b digital comparators, and when the output of b registers is greater than the output of b binary random number generators, a "1" is output; In other cases, it includes a second generator 20 with one output that outputs "0", and n multipliers that multiply the n output of the first generator 10 and the output of the second generator 20, respectively. A random binary code string generator characterized in that: 2 When generating a random binary code string of n outputs with an integer of m≧2, an integer of n≧1, and a precision of 2 m , an integer of a≧1, an integer of b≧1, and a+b=m
For each clock, the outputs of the a binary random number generators and the outputs of the n×a registers are compared by the n×a digital comparators, and the outputs of the n×a registers are a first generator 10 with n outputs that outputs a ``1'' when is greater than the output of the a binary random number generators and a ``0''otherwise; The output of the random number generator and the output of b registers are compared with b digital comparators, and when the output of b registers is greater than the output of b binary random number generators, a "1" is output; In other cases, it includes a second generator 20 with one output that outputs "0", and n multipliers that multiply the n output of the first generator 10 and the output of the second generator 20, respectively. , A random binary code string generator characterized in that the outputs of the n multipliers are changed by changing the setting values of the b registers of the second generator 20. 3 In the case of generating a random binary code string of n outputs with a precision of 2 m , where m≧2 integers, n≧1 integers, a≧1 integers, b≧1 integers, and a+b=m
For each clock, the outputs of the a binary random number generators and the outputs of the n×a registers are compared by the n×a digital comparators, and the outputs of the n×a registers are a first generator 10 with n outputs that outputs a ``1'' when is greater than the output of the a binary random number generators and a ``0''otherwise; The output of the random number generator and the output of the b registers are compared with b digital comparators, and when the output of the b registers is greater than the output of the b binary random number generators, "1" is output; a second generator 20 with a single output that otherwise produces "0"; n multipliers for multiplying the n output of the first generator 10 and the output of the second generator 20, respectively; The outputs of the a binary random number generators and the outputs of the n×a registers are compared by n×a digital comparators every clock, and the outputs of the n×a registers are the a binary random numbers. a third generator 30 with n outputs that outputs "1" when the output is greater than the output of the generator and outputs "0"otherwise; the outputs of the n multipliers and the outputs of the third generator 30; 1. A random binary code string generator comprising: n adders for respectively adding .
JP57122749A 1982-07-14 1982-07-14 Device for generating rundom binary code string Granted JPS5913415A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57122749A JPS5913415A (en) 1982-07-14 1982-07-14 Device for generating rundom binary code string

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57122749A JPS5913415A (en) 1982-07-14 1982-07-14 Device for generating rundom binary code string

Publications (2)

Publication Number Publication Date
JPS5913415A JPS5913415A (en) 1984-01-24
JPH0155613B2 true JPH0155613B2 (en) 1989-11-27

Family

ID=14843644

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57122749A Granted JPS5913415A (en) 1982-07-14 1982-07-14 Device for generating rundom binary code string

Country Status (1)

Country Link
JP (1) JPS5913415A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59223848A (en) * 1983-06-01 1984-12-15 Agency Of Ind Science & Technol Generator for binary random number of optional probability
JPS62105850A (en) * 1985-10-31 1987-05-16 Alps Electric Co Ltd Slackening eliminating mechanism for roll paper in printer
JP4586163B2 (en) * 2005-09-09 2010-11-24 国立大学法人岩手大学 Encryption system

Also Published As

Publication number Publication date
JPS5913415A (en) 1984-01-24

Similar Documents

Publication Publication Date Title
JP3285354B2 (en) Maximum value search circuit
US4163211A (en) Tree-type combinatorial logic circuit
US4524345A (en) Serial comparison flag detector
JPS60235587A (en) Video signal fading circuit
US4241410A (en) Binary number generation
JPH0155613B2 (en)
US5561423A (en) Serial to parallel conversion circuit
US4692640A (en) Majority circuit comprising binary counter
JPH11177529A (en) Hadamard code generating circuit
US4285047A (en) Digital adder circuit with a plurality of 1-bit adders and improved carry means
US4130877A (en) Binary multiplier using identical memories or identical networks
US4290050A (en) Digital-analog converter utilizing fibonacci series
US20040008808A1 (en) Counter having improved counting speed
JPS5911133B2 (en) function generator
TWI825942B (en) Digital-to-analog converter and operation method thereof
US5767706A (en) Rate generator
JPS6356566B2 (en)
JPS57190420A (en) Serial-parallel converting circuit
JPH0331015B2 (en)
JPS6313607B2 (en)
Carbone et al. Conversion error in D/A converters employing dynamic element matching
JPH06348458A (en) Serial data adder
JPH03167626A (en) Selection circuit
KR960019997A (en) Arbitrary divided clock generation circuit
SU1170449A1 (en) Sequential adder of codes with irrational bases