SU1478307A1 - Pseudo random number generator - Google Patents

Pseudo random number generator Download PDF

Info

Publication number
SU1478307A1
SU1478307A1 SU874261087A SU4261087A SU1478307A1 SU 1478307 A1 SU1478307 A1 SU 1478307A1 SU 874261087 A SU874261087 A SU 874261087A SU 4261087 A SU4261087 A SU 4261087A SU 1478307 A1 SU1478307 A1 SU 1478307A1
Authority
SU
USSR - Soviet Union
Prior art keywords
elements
inputs
pseudo
group
input
Prior art date
Application number
SU874261087A
Other languages
Russian (ru)
Inventor
Анатолий Николаевич Морозевич
Владимир Алексеевич Федосенко
Александр Иванович Шемаров
Original Assignee
Минский радиотехнический институт
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 Минский радиотехнический институт filed Critical Минский радиотехнический институт
Priority to SU874261087A priority Critical patent/SU1478307A1/en
Application granted granted Critical
Publication of SU1478307A1 publication Critical patent/SU1478307A1/en

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

Изобретение относитс  к импульсной технике. Цель изобретени  - повышение надежности генератора. Генератор псевдослучайных чисел содержит генератор 1 псевдослучайной последовательности, неисправности в работе которого обнаруживаютс  схемой контрол , начальные состо ни  триггера 2 и счетчика 5 импульсов которой задаютс  вместе с начальным состо нием генератора 1 псевдослучайной последовательности. На чертеже показаны сумматор 3 по модулю два, элемент ИЛИ 4. 1 з.п. ф-лы, 2 ил.The invention relates to a pulse technique. The purpose of the invention is to increase the reliability of the generator. The pseudo-random number generator contains a pseudo-random sequence generator 1, malfunctions in which are detected by the control circuit, the initial states of the trigger 2 and the pulse counter 5 of which are set together with the initial state of the pseudo-random sequence generator 1. The drawing shows the adder 3 modulo two, the element OR 4. 1 Cp. f-ly, 2 ill.

Description

ТИTI

1one

ii

пP

4Ь 14b 1

0000

соwith

Фиг.11

Изобретение относитс  к импульсной технике и может быть использовано в вычислительной технике.The invention relates to a pulse technique and can be used in computing.

Целью изобретени   вл етс  повышение надежности устройства.The aim of the invention is to increase the reliability of the device.

На фиг. 1 представлена структурна  схема генератора псевдослучайных чисел; на фиг. 2 - схема генератора псевдослучайной последовательности.FIG. 1 shows a block diagram of a pseudo-random number generator; in fig. 2 is a pseudo-random sequence generator circuit.

Генератор псевдослучайных чисел (фиг. 1) содержит последовательно соединенные генератор 1 псевдослучайной последовательности, триггер 2, сумматор 3 по модулю два, элемент ИЛИ 4,The pseudo-random number generator (Fig. 1) contains a series-connected pseudo-random sequence generator 1, trigger 2, adder 3 modulo two, the element OR 4,

счетчик 5 импульсов, счетный вход ко- 15 изменении значени  информации на выторого соединен с входом синхронизации генератора 1 псевдослучайной последовательности , шиной тактовых импульсов и входом синхронизации триггера 2, вход установки которого соединен с входом установки генератора 1 псевдослучайной последовательности, шиной начальной установки и вторым входом элемента ИЛИ 4. Выход генераa pulse counter 5, a counting input for changing information value per iterator is connected to a synchronization input of a pseudo-random sequence generator 1, a clock bus and a trigger input of trigger 2, the installation input of which is connected to an input of a pseudorandom sequence generator 1 and a second input element OR 4. Output Generation

2020

ходе генератора 1 псевдослучайной последовательности . Дл  подсчета числа следующих подр д нулей или единиц с выхода устройства выход сумматора 3 по модулю два должен быть в состо нииduring generator 1 pseudo-random sequence. In order to count the number of the following subsets of zeros or ones from the device output, the output of the adder 3 modulo two must be

О1 O1

которое позвол ет счетчику 5 импульсов вести подсчет числа тактов в серии сигналов одного значени  (допустим О) на вьпюде генератора 1 тора 1 псевдослучайной последователь- 5 псевдослучайной последовательности, ности соединен с вторым входом сум- Такой режим работы счетчика 5 обес- матора 3 по модулю два.печиваетс  при равенстве сигналовwhich allows the counter of 5 pulses to count the number of cycles in a series of signals of the same value (say, O) on the alternator of generator 1 of the torus 1 pseudo-random sequence - 5 pseudo-random sequence, connected to the second input of the sum- Such an operating mode of the counter 5 of the unit 3 modulo two. printing with equal signals

Генератор 1 псевдослучайной после- на обоих входах сумматора 3 по модулю довательности (фиг. 2) содержит группу 6 элементов И 6.1-6.2п, группу 7 30 элементов НЕ 7.1-7.П, регистр 8 сдвига с сумматором 9 по модулю два в цепи обратной св зи. Первые входы четных элементов И группы 6 элементов ИThe pseudo-random generator 1 after the two inputs of the adder 3 modulo-sequence (Fig. 2) contains a group of 6 elements AND 6.1-6.2p, a group of 7 30 elements NOT 7.1-7.P, a shift register 8 with an adder 9 modulo two in the circuit feedback. The first inputs of even elements And a group of 6 elements And

 вл ютс  входами генератора 1 псевдо- 35 нулевое состо ние. Этот же (единич- случайной последовательности и сое- ный) сигнал с выхода генератора 1are the inputs of the generator 1 pseudo-35 zero state. This same (one-random sequence and soy) signal from the output of the generator 1

два. При изменении значени  сигнала на выходе генератора 1 псевдослучайной последовательности (допустим с О на 1) на выходе сумматора 3 по модулю два возникает единичный сигнал и сбрасывает счетчик 5 импульсов вtwo. When the value of the signal at the output of the generator 1 of a pseudo-random sequence (say, from 0 to 1) changes modulo two at the output of module 2, a single signal arises and resets the counter of 5 pulses to

динены с входами соответствующих элементов НЕ 7.1-7.п группы, выходы элементов НЕ 7.1-7.П которой соединены с первыми входами соответствующих нечетных элементов И группы б элементов И, выходы нечетных элементов И которой соединены с первой группой установочных входов регистра 8 сдвига , втора  группа установочных входов которого соединена с выходами соответствующих четных элементов И группы 6 элементов И, вторые входы элементов И которой соединены между собой и входом установки генератора 1 псевдослучайной последовательности, вход синхронизации которого соединен с входом синхронизации регистра 8 сдвига.dineny with the inputs of the corresponding elements NOT 7.1-7.p group, the outputs of the elements NOT 7.1-7.P which is connected to the first inputs of the corresponding odd elements AND group b elements And the outputs of odd elements And which are connected to the first group of the installation inputs of the shift register 8, the second group of installation inputs of which are connected to the outputs of the corresponding even-numbered elements And groups 6 of the elements And, the second inputs of the elements And of which are interconnected and the input of the installation of the generator 1 of a pseudo-random sequence, the input is synchronous which is connected to the synchronization input of the shift register 8.

Генератор работает следующим образом .The generator works as follows.

В исходное положение генератор 1 псевдослучайной последовательности привод т в режиме параллельного заIn the initial position, the pseudo-random sequence generator 1 is driven in parallel

несени  информации, при котором в его регистр 8 сдвига записывают исходное число, посто нно заведенное на входы параллельной записи; запрещенным  в-carrying information, in which the initial number, permanently input to the inputs of the parallel recording, is recorded in its shift register 8; prohibited in

л етс  только состо ние 00...О регистра 8 сдвига. Дл  выполнени  этой операции на шину начальной установки устройства подают сигнал. Этим же сигналом сбрасываетс  триггер 2 и через элемент ИЛИ 4 устанавливаетс  в нулевое состо ние счетчик 5 импульсов . Триггер 2 и сумматор 3 по модулю два обеспечивают сброс счетчика 5 импульсов в нулевое состо ние приOnly the 00 ... O register of the 8 shift register is set. To perform this operation, a signal is provided on the device setup bus. The same signal clears trigger 2 and, through the OR element 4, the counter 5 pulses is set to the zero state. The trigger 2 and modulator adder 3 modulo reset the counter of 5 pulses to the zero state at

ходе генератора 1 псевдослучайной последовательности . Дл  подсчета числа следующих подр д нулей или единиц с выхода устройства выход сумматора 3 по модулю два должен быть в состо нииduring generator 1 pseudo-random sequence. In order to count the number of the following subsets of zeros or ones from the device output, the output of the adder 3 modulo two must be

О1 O1

которое позвол ет счетчику 5 имна обоих входах сумматора 3 по модулю which allows the counter 5 to name both inputs of the adder 3 modulo

два. При изменении значени  сигнала на выходе генератора 1 псевдослучайной последовательности (допустим с О на 1) на выходе сумматора 3 по модулю два возникает единичный сигнал и сбрасывает счетчик 5 импульсов вtwo. When the value of the signal at the output of the generator 1 of a pseudo-random sequence (say, from 0 to 1) changes modulo two at the output of module 2, a single signal arises and resets the counter of 5 pulses to

0 0

псевдослучайной последовательности приходит на вход триггера 2 и фронтом следующего тактового импульса передаетс  на выход триггера 2, вновь восстанавлива  на выходе сумматора 3 по модулю два сигнал О, позвол ющий начать счетчику Ь импульсов подсчет числа следующих подр д сигналов дру5 того значени  (допустим 1) в серии сигналов с выхода генератора 1 псевдослучайной последовательности. Работа счетчика 5 импульсов продолжаетс  до момента очередной смены сигнала на выходе генератора 1 псевдослучайной последовательности.a pseudo-random sequence arrives at the input of trigger 2 and the front of the next clock pulse is transmitted to the output of trigger 2, again restoring modulo two signal O at the output of modulator 3, allowing the pulse counter B to start counting the number of next different signals of another value (say 1) a series of signals from the generator output 1 pseudo-random sequence. The operation of the pulse counter 5 continues until the next signal change at the output of the pseudo-random sequence generator 1.

По вление неисправности в генераторе 1 псевдослучайной последовательности приводит к тому, что один илиThe occurrence of a malfunction in the pseudo-random sequence generator 1 causes one or

с несколько триггеров его регистра 8 сдвига посто нно наход тс  в одних и тех же (нулевых или единичных) состо ни х . Последовательно сдвига сь, это состо ние не позже, чем черезSince several triggers of its shift register 8 are constantly in the same (zero or one) states. Successively shift, this state is not later than

00

п-1 такт по вл етс  на выходе генератора 1 псевдослучайной последовательности . Еще через п+1 такт устройство выдает с выхода счетчика 5 импульсов сигнал наличи  неисправности.n-1 clock time appears at the output of pseudo-random sequence generator 1. After n + 1 clock cycle, the device issues a 5-pulse signal from the output of the counter of 5 pulses.

147147

Claims (2)

1. Генератор псевдослучайных чисел , содержащий генератор псевдослучайной последовательности, последовательно соединенные триггер, сумматор по модулю два, элемент ИЛИ и счетчик импульсов, счетный вход которого соединен с шиной тактовых импульсов, шину начальной установки, соединенную с вторым входом элемента ИЛИ и установочным входом генератора псеврого соединен с шиной тактовых импульсов , вход установки триггера сое динен с шиной начальной установки. 1. A pseudo-random number generator, containing a pseudo-random sequence generator, serially connected trigger, modulo two adder, the OR element and a pulse counter, the counting input of which is connected to the clock bus, the initial installation bus connected to the second input of the OR element and the setting input of the pseudo generator connected to the clock bus, the trigger setup input is connected to the initial setup bus. 2. Генератор по п. 1, отличающийс  тем, что генератор псевдослучайной последовательности с держит регистр сдвига с сумматором по модулю два в цепи обратной св зи,2. The generator according to claim 1, wherein the pseudo-random sequence generator C holds a shift register with a modulo two adder in the feedback circuit, 10 группу элементов НЕ и группу элементов И, первые входы четных элементов И которой  вл ютс  входами генератор псевдослучайной последовательности и соединены с входами соответствующих10, the group of elements is NOT and the group of elements is And, the first inputs of even elements And which are the inputs of a pseudo-random sequence generator and are connected to the inputs of the corresponding 15 элементов НЕ группы, выходы элементов НЕ которой соединены с первыми входами соответствующих нечетных эле ментов И группы, выходы нечетных эле ментов И которой соединены с первой15 elements of the NOT group, the outputs of the elements of which are connected to the first inputs of the corresponding odd elements AND groups, the outputs of the odd elements and which are connected to the first .i V.- j. vg. wri .., ПС ПО |„ I IC|J  .i V.- j. vg. wri .., PS software | „I IC | J дослучайной последовательности, выход 20 группой установочных входов регистраPre-random sequence, output 20 by a group of setup inputs of the register которого соединен с вторым входом сумматора по модулю два, шина тактовых импульсов соединена с входом синхронизации генератора псевдослучайной последовательности, отличающийс  тем, что, с целью повышесдвига , втора  группа установочных входов которого соединена с выходами соответствующих четных элементов И группы элементов И, вторые входы эле- 25 ментов И которой соединены между собой и входом установки генератораwhich is connected to the second input of the modulo two adder, the clock pulse bus is connected to the synchronization input of the pseudo-random sequence generator, characterized in that, in order to increase the shift, the second group of the installation inputs of which are connected to the outputs of the corresponding even elements And the group of elements And, the second inputs of the 25 cops and which are interconnected and the generator installation input сдвига, втора  группа установочных входов которого соединена с выходами соответствующих четных элементов И группы элементов И, вторые входы эле 25 ментов И которой соединены между собой и входом установки генератораshift, the second group of installation inputs of which are connected to the outputs of the corresponding even-numbered elements And a group of elements And, the second inputs of the elements 25 And And which are interconnected and the input of the generator installation ни  надежности устройства, выход гене- псевдослучайной последовательности ратора псевдослучайной последователь- вход синхронизации которого соединен ности соединен с информационным вхо- с входом синхронизации регистра дом триггера, вход синхронизации кото-3д сдвига.The reliability of the device, the output of the pseudo-random sequence of the pseudo-random sequence rator, the synchronization input of which is connected to the information input of the synchronization input of the trigger house, the synchronization input of the 3d shift. входы параллельной записиparallel entry inputs Установочный ТInstallation T &Л00 & L00 ЩЮОШ 1щОШ щшмSCHYuOSH 1 shchshm 14783071478307 рого соединен с шиной тактовых импульсов , вход установки триггера соединен с шиной начальной установки. 2. Генератор по п. 1, отличающийс  тем, что генератор псевдослучайной последовательности содержит регистр сдвига с сумматором по модулю два в цепи обратной св зи,Pogo connected to the bus clock pulses, the trigger installation input connected to the bus initial installation. 2. The generator of claim 1, wherein the pseudo-random sequence generator comprises a shift register with a modulo two adder in the feedback circuit, 10 группу элементов НЕ и группу элементов И, первые входы четных элементов И которой  вл ютс  входами генератора псевдослучайной последовательности и соединены с входами соответствующих10, the group of elements is NOT and the group of elements is And, the first inputs of even elements And which are the inputs of a pseudo-random sequence generator and are connected to the inputs of the corresponding 15 элементов НЕ группы, выходы элементов НЕ которой соединены с первыми входами соответствующих нечетных элементов И группы, выходы нечетных элементов И которой соединены с первой15 elements of the NOT group whose outputs are NOT connected to the first inputs of the corresponding odd elements AND group, the outputs of the odd elements And which are connected to the first .i V.- j. vg. wri .., ПС ПО |„ I IC|J  .i V.- j. vg. wri .., PS software | „I IC | J 20 группой установочных входов регистра20 groups of setup inputs of the register сдвига, втора  группа установочных входов которого соединена с выходами соответствующих четных элементов И группы элементов И, вторые входы эле- ментов И которой соединены между собой и входом установки генератораshift, the second group of the installation inputs of which are connected to the outputs of the corresponding even-numbered elements And a group of elements And, the second inputs of the elements And of which are interconnected and the input of the generator installation псевдослучайной последовательности вход синхронизации которого соединен с входом синхронизации регистра сдвига.a pseudo-random sequence whose synchronization input is connected to the synchronization input of the shift register.
SU874261087A 1987-06-12 1987-06-12 Pseudo random number generator SU1478307A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU874261087A SU1478307A1 (en) 1987-06-12 1987-06-12 Pseudo random number generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU874261087A SU1478307A1 (en) 1987-06-12 1987-06-12 Pseudo random number generator

Publications (1)

Publication Number Publication Date
SU1478307A1 true SU1478307A1 (en) 1989-05-07

Family

ID=21310491

Family Applications (1)

Application Number Title Priority Date Filing Date
SU874261087A SU1478307A1 (en) 1987-06-12 1987-06-12 Pseudo random number generator

Country Status (1)

Country Link
SU (1) SU1478307A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Ярмолик В.Н., Демиденко С.Н. Генерирование и применение псевдослучайных сигналов в системах испытаний и контрол . - Минск: Наука и техника, 1986, с. 83. Авторское свидетельство СССР № 907547, кл. G 06 F 7/58, 1981. *

Similar Documents

Publication Publication Date Title
SU1478307A1 (en) Pseudo random number generator
SU1138799A1 (en) Device for generating test sequences
SU1310898A1 (en) Storage
SU1705876A1 (en) Device for checking read/write memory units
SU1262701A1 (en) Generator of pseudorandom binary sequence
SU383042A1 (en) FORMER OF CODE COMBINATIONS
SU1128267A1 (en) Device for checking digital units
RU94001388A (en) Generator of n-digit random sequence
RU1789985C (en) Analog signals identificator
SU1388994A1 (en) Quadruple-coded sequence generator
RU2105357C1 (en) Shift register
SU888125A1 (en) Device for correcting failure codes in circular distributor
SU1383369A1 (en) Code ring generator
SU1277117A1 (en) Device for holding non-stable failures
RU1826128C (en) Pseudorandom sequence generator
SU1596473A1 (en) Device for clocking synchronization of pseudorandom sequences
SU1660146A2 (en) Uniformly distributed pseudorandom magnitude generator
SU1728975A1 (en) Channel selector
SU1236384A1 (en) Digital frequency meter
SU1674128A1 (en) Fault locator
RU1820393C (en) Device for forming sequence of discrete-frequency signals
SU1465885A1 (en) Pseudorandom sequence generator
SU1383363A1 (en) Signature analyzer
SU503242A1 (en) Fault finding device
SU1378033A1 (en) Device for checking clocking frequency pulses