JPH04370827A - Parallel random number generation device - Google Patents

Parallel random number generation device

Info

Publication number
JPH04370827A
JPH04370827A JP3148274A JP14827491A JPH04370827A JP H04370827 A JPH04370827 A JP H04370827A JP 3148274 A JP3148274 A JP 3148274A JP 14827491 A JP14827491 A JP 14827491A JP H04370827 A JPH04370827 A JP H04370827A
Authority
JP
Japan
Prior art keywords
random number
parallel
uniform random
number generation
uniform
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.)
Pending
Application number
JP3148274A
Other languages
Japanese (ja)
Inventor
Masateru Suzuki
鈴木 正照
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP3148274A priority Critical patent/JPH04370827A/en
Publication of JPH04370827A publication Critical patent/JPH04370827A/en
Pending legal-status Critical Current

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

PURPOSE:To perform random number calculation which is required for large- scale calculation in parallel and to speed up vector calculation including the random number calculation by combining plural uniform random number generation devices. CONSTITUTION:The outputs of the uniform random number generation devices 1-n are stored in storage parts 21-2n respectively. Uniform random numbers are obtained in the respective storage parts 21-2n in clock units of the uniform random number generation devices 1-n.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は並列乱数発生装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a parallel random number generator.

【0002】0002

【従来の技術】従来、並列乱数発生は1つの乱数発生装
置によりシリアルに繰返し処理を行ない、結果を得てい
た。
2. Description of the Related Art Conventionally, in parallel random number generation, results were obtained by serially repeating processing using a single random number generator.

【0003】0003

【発明が解決しようとする課題】上述した従来の乱数発
生方式はシリアルに乱数を発生させる方式であるので、
大規模な並列計算においては乱数計算がネックになり、
スーパコンピュータの高速性が活かされないという欠点
がある。
[Problem to be solved by the invention] Since the conventional random number generation method described above is a method of serially generating random numbers,
Random number calculation becomes a bottleneck in large-scale parallel calculations,
The drawback is that the high speed of supercomputers cannot be utilized.

【0004】本発明は従来の一様乱数発生装置を複数台
利用して上記問題点を解決する並列乱数発生装置を提供
することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a parallel random number generator that solves the above problems by using a plurality of conventional uniform random number generators.

【0005】[0005]

【課題を解決するための手段】本発明の並列乱数発生装
置は、複数個の一様乱数発生装置を直列に接続するとと
もにそれぞれの一様乱数発生装置の出力信号を格納する
複数個の記憶部を備え、前記複数個の記憶部の内容を並
列に読出して並列乱数を生成するようにして構成される
[Means for Solving the Problems] A parallel random number generator of the present invention connects a plurality of uniform random number generators in series and has a plurality of storage units for storing output signals of the respective uniform random number generators. and is configured to read the contents of the plurality of storage units in parallel to generate parallel random numbers.

【0006】[0006]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.

【0007】図1は本発明の一実施例を示す説明図であ
る。同図において複数台の一様乱数発生装置1〜nの出
力は記憶部21〜2nにそれぞれ蓄積される。各記憶部
21〜2nには一様乱数発生装置1〜nのクロック単位
ごとに一様乱数が得られる。一様乱数発生装置1〜nは
同じ方式の乱数発生装置を採用し、周期を充分長くとっ
てある。そしてその周期分だけずらして初期値(X1〜
Xn)を入力することにより、全体として並列に一様乱
数を得ることができる。
FIG. 1 is an explanatory diagram showing one embodiment of the present invention. In the figure, the outputs of a plurality of uniform random number generators 1-n are stored in storage units 21-2n, respectively. Uniform random numbers are obtained in each of the storage units 21-2n for each clock unit of the uniform random number generators 1-n. Uniform random number generators 1 to n employ random number generators of the same type, and have sufficiently long cycles. Then, shift by that period and initial value (X1 ~
By inputting Xn), uniform random numbers can be obtained in parallel as a whole.

【0008】すなわち本発明は、従来から利用されてい
る線型合同法のような一様乱数発生方式を用い、複数の
一様乱数発生装置に異なる初期値を与えて全体として一
様な乱数を並列的に発生させる。この方式においては、
各一様乱数発生装置は実用上充分長いと考えられる周期
(たとえば10の9乗)の乱数発生方式とする。まず一
様乱数発生装置1にある初期値X1を与え1周期分の乱
数を発生させる。次にその出力の最後の乱数を一様乱数
発生装置2の初期値X2とし1周期分の乱数を発生させ
る。以下、同様の方法で乱数を発生させる。得られた乱
数は専用の乱数記憶用メモリに蓄積しておく。
That is, the present invention uses a conventional uniform random number generation method such as the linear congruential method, gives different initial values to a plurality of uniform random number generators, and generates uniform random numbers in parallel as a whole. to occur in a specific manner. In this method,
Each uniform random number generator uses a random number generation method with a cycle that is considered to be sufficiently long for practical use (for example, 10 to the 9th power). First, a certain initial value X1 is given to the uniform random number generator 1 to generate random numbers for one cycle. Next, the last random number of the output is set as the initial value X2 of the uniform random number generator 2, and random numbers for one period are generated. Hereafter, random numbers are generated using the same method. The obtained random numbers are stored in a dedicated random number storage memory.

【0009】以上の方式により、1クロック毎に一様乱
数発生装置の数だけの乱数が並列的に得られる。
[0009] With the above method, as many random numbers as there are uniform random number generators can be obtained in parallel every clock.

【0010】0010

【発明の効果】以上説明したように本発明は、複数の一
様乱数発生装置を組み合わせることにより、大規模計算
において必要となる乱数計算を並列的に行うことができ
、乱数計算を含むベクトル計算の高速化が図られる効果
がある。
Effects of the Invention As explained above, the present invention enables random number calculations required in large-scale calculations to be performed in parallel by combining a plurality of uniform random number generators, and vector calculations including random number calculations. This has the effect of speeding up the process.

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

【図1】本発明の一実施例を示す説明図。FIG. 1 is an explanatory diagram showing one embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1〜n    一様乱数発生装置 21〜2n    記憶部 1~n Uniform random number generator 21~2n  Storage section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  複数個の一様乱数発生装置を直列に接
続するとともにそれぞれの一様乱数発生装置の出力信号
を格納する複数個の記憶部を備え、前記複数個の記憶部
の内容を並列に読出して並列乱数を生成することを特徴
とする並列乱数発生装置。
1. A plurality of uniform random number generators are connected in series, and a plurality of storage units are provided for storing output signals of the respective uniform random number generators, and the contents of the plurality of storage units are stored in parallel. 1. A parallel random number generator, characterized in that it generates parallel random numbers by reading them.
JP3148274A 1991-06-20 1991-06-20 Parallel random number generation device Pending JPH04370827A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3148274A JPH04370827A (en) 1991-06-20 1991-06-20 Parallel random number generation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3148274A JPH04370827A (en) 1991-06-20 1991-06-20 Parallel random number generation device

Publications (1)

Publication Number Publication Date
JPH04370827A true JPH04370827A (en) 1992-12-24

Family

ID=15449106

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3148274A Pending JPH04370827A (en) 1991-06-20 1991-06-20 Parallel random number generation device

Country Status (1)

Country Link
JP (1) JPH04370827A (en)

Similar Documents

Publication Publication Date Title
US3984668A (en) Method for generating pseudo-random bit sequence words and a device for carrying out the method
JP3605150B2 (en) Address pattern generator
JPH01265347A (en) Address generating device
JPS63225837A (en) System for vector access with distance
CN109669666A (en) Multiply accumulating processor
JPH04370827A (en) Parallel random number generation device
JPH05509426A (en) Number-theoretic allocation generator for addressing matrix structures
IL147359A (en) Technique for high speed prbs generation
JPS6094525A (en) Time division pulse pattern generator
JP2558234B2 (en) Pattern generator
JPS6214397A (en) Pattern generator for testing memory element
JP2902449B2 (en) Address pattern generator
JPH01265609A (en) Pseudo random number generator
SU1159015A1 (en) Two-channel random process generator
RU2030105C1 (en) Generator of pseudorandom sequences
SU758163A1 (en) Device for spectral conversion
JPH07209389A (en) High-speed pattern generator
JPH01258130A (en) Pseudo random number generator
JPS59207495A (en) Pattern generating circuit
JPS62277700A (en) Video ram test system
RU2032267C1 (en) Pseudo-random sequence generator
JPS62259145A (en) Generating device for algorithmic pattern
SU783852A1 (en) Device for copying cylindrical magnetic dimains
JPS61140877A (en) Data generator
JPH01166137A (en) Ic testing device