SU1013954A1 - Pseudo-random sequency generator - Google Patents

Pseudo-random sequency generator Download PDF

Info

Publication number
SU1013954A1
SU1013954A1 SU813367046A SU3367046A SU1013954A1 SU 1013954 A1 SU1013954 A1 SU 1013954A1 SU 813367046 A SU813367046 A SU 813367046A SU 3367046 A SU3367046 A SU 3367046A SU 1013954 A1 SU1013954 A1 SU 1013954A1
Authority
SU
USSR - Soviet Union
Prior art keywords
inputs
input
output
flip
outputs
Prior art date
Application number
SU813367046A
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 SU813367046A priority Critical patent/SU1013954A1/en
Application granted granted Critical
Publication of SU1013954A1 publication Critical patent/SU1013954A1/en

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

ГЕНЕРАТОР ПСЕВДОСЛУЧАЙНОЙ ПОСЛЕДОВАТЕЛЬНОС П1, содержащий гене ратор тактовых импульсов, счетчик., сумматор по модулю два, выход которого соединен о информационным входом блока пам ти, о т л и чаю г щи и с   тем, что, с целью расширени  функодюнальных возможностей генератора обеспечени  изменени  статистических характеристик формируемой последовательности, он содержит коммутатор, паралдель иЫ1й сумматор,, два D-триггера, Т-триггер два 31лемента И и элемент ИЛИ, выход которого соединен с управл ю1цим вхо дом блока пам ти, вiыxoд которого соединен с D-входами D-триггеров, выходы которых соединены с входами сумматора по модулю два соответственно , выходгенератора тактовых импульсов соединен с входом Т-триггера и с первыми входами первого и второго элементов И выходы которых соединены с С-входами соотвеТствун цих D-триггеров, пр мой выход Т-триггера соединен с управл кицим входом коммутатора, с первым входом элемента ИЛИ и с вторьйвходом перг вого элемента И, выход которого соединен со счетным входом счетчика, разрйдные .выходы которого соединены, с первой группой входов параллельного сумматора соответственно, выходы которого соединены с соответствщ)адами адресныALTERNATIVE SEQUENTIAL SERIES P1, containing a clock generator, a counter., A modulo-two adder, whose output is connected to the information input of the memory unit, so that, in order to expand the functional possibilities of the change assurance generator statistical characteristics of the generated sequence, it contains a switch, a paralleler, an adder, two D-flip-flops, a T-flip-flop, two 31I elements, and an OR element, the output of which is connected to the control input of the memory block, the type of which connected to the D-inputs of D-flip-flops, the outputs of which are connected to the inputs of a modulo-two adder, respectively, the output of the clock pulse generator is connected to the input of the T-flip-flop and the first inputs of the first and second elements And the outputs of which are connected to the C-inputs of the corresponding D-flip-flops , the direct output of the T-flip-flop is connected to the control input of the switch, to the first input of the OR element and to the second input of the first AND element, the output of which is connected to the counting input of the counter, the disconnected outputs of which are connected s parallel adder, respectively, outputs of which are connected to sootvetstvsch) Adami ADDRESSABLE

Description

Изобретение относитс  к вычисли тельной технике и может быть испол зовано дл  решени  веро тностных задач методом моделировани . .Известен .генератор псевдослучай ной последовательности двоичных чисел, содержащий регистр сдвига с сумматором по модулю 2 в цепи обратной св зи, генератор тактовых импульсов, выход которого соединен со входом регистра сдвига, а также счетчик и блок сумматоров 11 Недостатком данного устройства  вл етс  малое значение периода пс дослучайной последовательности, ог- раниченное разр дностью регистра сдвига. Увеличение периода последовательности , за счет разр дности регистра приводит к усложнению схемы и снижению её надежности. Наиболее близким по техническому решению к изобретению  вл етс  гене ратор псевдослучайной последователь ности, содержащий тактовый генератор , счетчик импульсов, блок пам ти и сумматор по модулю 2. В данной схеме работа, выполн ема  блоком пам ти, аналогична работе многоразр дного регистра сдвига. За счет увеличени  объема пам ти длина генерируемой последовательности увеличиваетс  без значительного усложнени  схемы C2j. Недостатком известного устройства  вл етс  сложность изменени  характеристик генерируемой псевдослучайной последовательности. Изменение последовательности возможно за счет изменени  временного сдвига мезхду сигналами на входах сумматора по модулю 2 путем увеличени  или уменьшени  разр дности регистра сдвига. Однако это приводит к изменению общего числа разр дов генератора и св зано со значительным изменением схемы. Цель изобретени  - расширение функционировани  возможностей генератора за счет обеспечени  изменени  характеристик формируемой последовательности . Дл  достижени  поставленной цели в генератор псевдослучайной последовательности , содержащий генератор тактовых импульсов, счетчик, сумматор по модулю два, выход которого соединен с инфЬрмационным входом блока пам ти, введены коммутатор , параллельный сумматор, два D-триггера, Т-триггер, два элемента И и элемент ИЛИ, выход которого соединен с управл ющим входом блока пам ти, выход которого соединен с D-входами D-триггеров, выходы которых соединены со входами сумматора по модулю два соответственно, выход генератора .тактовых импульсов соединен со входом Т-триггера и с первыми входами первого и второго элементов И, выходы которых соединены с С-входами соответствующих D-триггеров, пр мой выход Т-триггера соединен с управл ющим входом коммутатора, с первым входом элемента ИЛИ и со вторым входом первого элемента И, выход которого соединен со счетным входом счетчика, разр дные выходы которого соединены с первой группой входов параллельного сумматора соответственно, выходы которого соединены с соответствующими адресными входами блока пам ти , инверсный выход Т-триггера соединен со вторым входом второго элемента И, выход которого соединен со вторым входом элемента ИЛИ, выход второго D-триггера  вл етс  выходом генератора, группой входов которого  вл етс  группа входов коммутатора , группа выходов которого соединена со второй группой входов параллельного cyMNfaTopa соответственно. На фиг. 1 дана блок-схема генератора; на фиг. 2 - диаграмма его работы. Генератор псевдослучайной последовательности содержит генератор 1 тактовых импульсов, Т-триггер 2f элементы ИЗ, элемент ИЛИ 4, блок 5 пам ти, параллельный сумматор 6, счетчик 7, коммутатор 8, D-триггеры 9 и сумматор 10 по модулю два. Генератор работает следующим образом . Сигнал f с выхода генератора 1 поступает на вход триггера2 и элементы И 3. На пр мом и инверсном выходах триггера 2 формируютс  сигналы Q и 9 формы меандр (фиг. 2), а на выходах элементов И 3 - несовпадающие последовательности импульсов V|, и V (фиг. 2) с частотой ,-1 Каждый импульс сигнала V , поступающий на вход счетчика 7, увеличиваетс  на код М на его.разр дных выходах , соединенных со входами первого слагаемого параллельного сумматора 6. При досто нии Q 1 коммутатором 8 подключаетс  ко всем входам второго слагаемого ксэдовый сигнал логического нул . Сумматор 6 формирует на адресных шинах блока пам ти 5 код М, определ ющий адрес опрашиваемой  чейки пам ти. Элемент ИЛИ, формирующий сигнал V Q V V/j, воздейству  на вход управлени  режимом работы блока 5 пам ти, устанавливает блок пам ти в режим считывани , и в первый D-триггер 9 сигналом переписываетс  содержимое  чейки пам ти с адресом М. С приходом следующего импульса f триггер 2 переходит в состо ние Q О, коммутатор 8 подключает ко входам вто- Е{ого слагаемого сумматора 6 управл ющий кодовый сигнал N. Сумматор 6 формирует на -адресных шинах блока 5 пам ти, работающего пр-преж нему в режиме считывани , код М + N и во; второй D-TpHrj ep 9 сигналом переписываетс  содержимое  чейки пам ти М + N. На входах сумматора по модулю 2 формируетс  двоичное число , определ емое состо нием D-триггеров 9, По окончании импульса V на выходе элемента ИЛИ 4 формируетс  сигнал V о; блок 5 пам ти переводитс  в режим записи, происходит запись числа с выхода сумматора по модулю 2 в  чейку пам ти-с номером М + N.The invention relates to a computational technique and can be used to solve probabilistic problems by the simulation method. A pseudo-random binary number generator is known that contains a shift register with a modulo 2 adder in a feedback circuit, a clock generator whose output is connected to the input of the shift register, and a counter and block of adders 11 The disadvantage of this device is a small value period ps of a random sequence, limited by the size of the shift register. An increase in the sequence period due to the register size leads to a complication of the circuit and a decrease in its reliability. The closest technical solution to the invention is a pseudo-random sequence generator containing a clock generator, a pulse counter, a memory unit, and a modulo-2 adder. In this scheme, the work performed by the memory unit is similar to that of a multi-bit shift register. By increasing the memory capacity, the length of the generated sequence is increased without significantly complicating the C2j scheme. A disadvantage of the known device is the complexity of changing the characteristics of the generated pseudo-random sequence. The sequence can be changed by changing the time shift of the mezhd with signals at the inputs of the modulo 2 adder by increasing or decreasing the shift register bit size. However, this leads to a change in the total number of generator bits and is associated with a significant change in the circuit. The purpose of the invention is to enhance the functionality of the generator by providing changes in the characteristics of the generated sequence. To achieve this goal, a pseudo-random sequence generator containing a clock, a counter, a modulo-two adder, the output of which is connected to the memory input of a memory unit, a switch, a parallel adder, two D-flip-flops, a T-flip-flop, two AND elements, and the OR element, the output of which is connected to the control input of the memory unit, the output of which is connected to the D-inputs of D-flip-flops, the outputs of which are connected to the inputs of the modulo-two, respectively, the output of the generator of tact pulses It is connected with the input of the T-flip-flop and with the first inputs of the first and second And elements, the outputs of which are connected to the C-inputs of the corresponding D-flip-flops, the direct output of the T-flip-flop is connected to the control input of the switch, to the first input of the OR element and to the second input the first element And, the output of which is connected to the counting input of the counter, the bit outputs of which are connected to the first group of inputs of the parallel adder, respectively, the outputs of which are connected to the corresponding address inputs of the memory unit, the inverse output T of the flip-flop with one with a second input of the second AND gate, whose output is connected to the second input of the OR gate, the output of the second D-flip-flop is the output of the generator, which group of inputs is a group switch input group whose output is connected to a second group of parallel inputs cyMNfaTopa respectively. FIG. 1 is given a block diagram of the generator; in fig. 2 is a diagram of his work. The pseudo-random sequence generator contains 1 clock pulse generator, T-flip-flop 2f elements IZ, element OR 4, memory block 5, parallel adder 6, counter 7, switch 8, D-flip-flops 9 and modulator 10. The generator works as follows. The signal f from the output of the generator 1 is fed to the input of the trigger 2 and the elements of AND 3. At the direct and inverse outputs of the trigger 2, the signals Q and 9 of the shape of the square wave are formed (Fig. 2), and at the outputs of the elements of the 3 are mismatched pulse sequences V | V (Fig. 2) with a frequency, -1 Each pulse of the signal V, fed to the input of counter 7, is incremented by a code M at its discharge outputs connected to the inputs of the first term of the parallel adder 6. At Q 1, switch 8 connects to all inputs of the second term, the csed signal of the logical well . The adder 6 generates on the address buses of the memory block 5 a code M defining the address of the polled memory cell. The OR element, which forms the VQVV / j signal, acts on the control input of the memory block 5, sets the memory block to read mode, and the contents of the memory cell with the address M are copied to the first D flip-flop 9 with a signal M. With the arrival of the next pulse f the trigger 2 goes to the QO state, the switch 8 connects the control code signal N to the inputs of the second E {st component of the adder 6. The adder 6 generates, on the -address buses of the memory block 5, which is still in read mode, the code M + N and in; the second D-TpHrj ep 9 signal rewrites the contents of memory cell M + N. At the inputs of the modulo 2 adder, a binary number is generated, determined by the state of D-flip-flops 9. At the end of the pulse V, the output of the element OR 4 forms the signal V o; memory block 5 is transferred to the recording mode, the number from the output of the modulo 2 adder is written into the memory cell with the number M + N.

Во врем  работы счетчик 7 проходит все К своих возможных состо ний число которых равно объему пам ти и блока 5 пам ти, и число, записанное в каждую i- чейку пам ти, считываетс  на вход первого D-триггера 9 чеtie3 К - N периодовсигнала V , а на вход второго D-триггера 9 - через . К периодов. В результате работа, выполн ема  блоком 5 пам ти, аналогична работе К-разр дного регистра сдвига, охваченного обратной св зью через сумматор по модулю 2, подключенный своими входами к последнему. (k-му) ,. и К - N-му разр дам регистра . За счет изменени  регулирующей кодовой комбинации на входах коммутатора 8 может быть изменен номер разр да эквивалентного регистра сдвига , к которому подключен полусумматор .During operation, counter 7 passes all K of its possible states, the number of which is equal to the memory volume and memory block 5, and the number written in each memory cell i is read to the input of the first D flip-flop 9 chip 3 K - N of the V signal , and to the input of the second D-flip-flop 9 - through. By periods. As a result, the work performed by memory block 5 is similar to the operation of a K-bit shift register covered by feedback through a modulo-2 adder connected by its inputs to the latter. (k-th),. and K - N-th register dam. By changing the control code combination at the inputs of the switch 8, the bit number of the equivalent shift register to which the half adder is connected can be changed.

Таким образом, генератор псевдослучайной последовательности позвол ет получить все возможные последовательности при выбранном объеме пам ти . При этом изменение, длины генерируемой последовательности не св зано с изменением схемы устройства и увеличением аппаратурных затрат.Thus, a pseudo-random sequence generator allows to obtain all possible sequences for a selected memory size. In this case, the change in the length of the generated sequence is not associated with a change in the device circuit and an increase in hardware costs.

Фиг,2FIG 2

Claims (1)

ГЕНЕРАТОР ПСЕВДОСЛУЧАЙНОЙ ПОСЛЕДОВАТЕЛЬНОСТИ, содержащий генератор тактовых импульсов, счетчик/ сумматор по модулю два, выход кото-. рого соединен с информационным входом блока памяти, от л и ч а ю т щ и й с я тем, что, с целью расширения функциональных возможностей / генератора путём обеспечения изменения статистических характеристик формируемой последовательности, он содержит коммутатор, параллельный сумматор,, два D-триггера, Т-триггер, два элемента И и элемент ИЛИ, выход которого соединен с управляющим входом блока памяти, выход которого соединен с D-входами D-триггеров, выходы которых соединены с входами сумматора по модулю два соответственно, выход‘генератора тактовых импульсов соединен с входом Т-триггера и с первыми входами первого и второго элементов И; выходы которых соединены с С-входами соответствующих D- триггеров, прямой выход *Г-триггера соединен с управляющим входом коммутатора, с первым входом элемента ИЛИ и с вторым'входом первого элемента И, выход которого соединен со счетным входом счетчика / разрядные выходы которого соединены, с первой группой входов параллельного сумматора соответственно, выходы которого соединены с соответствующими адресными входами блока памяти, инверсный выход Т-триггера соединён с вторым входом второго элемента И, выход которого соединен с ' вторым входом элемента ИЛИвыход второго D-триггёра является выхддом генератора, группой входов которого является группа входов коммутатора, группа выходов которого соединена с второй группой входов параллельного сумматрра.соответственно. :PSEUDOLE SEQUENCE GENERATOR, comprising a clock pulse generator, a counter / adder modulo two, the output of which is. It is connected to the information input of the memory block, so that in order to expand the functionality of the generator by providing changes in the statistical characteristics of the generated sequence, it contains a switch, a parallel adder, two D- trigger, T-trigger, two AND elements and an OR element, the output of which is connected to the control input of the memory block, the output of which is connected to the D-inputs of D-triggers, the outputs of which are connected to the inputs of the adder modulo two, respectively, the output of the clock generator s pulses connected to the input of the T-trigger and with the first inputs of the first and second elements And; the outputs of which are connected to the C-inputs of the corresponding D-flip-flops, the direct output * of the Г-flip-flop is connected to the control input of the switch, to the first input of the OR element and to the second input of the first AND element, the output of which is connected to the counting input of the counter / discharge outputs of which are connected , with the first group of inputs of the parallel adder, respectively, whose outputs are connected to the corresponding address inputs of the memory block, the inverse output of the T-trigger is connected to the second input of the second element And, the output of which is connected to the 'second input th element of the second D-ILIvyhod triggora vyhddom generator is a group of inputs of which is a group of switch inputs, the group which is connected to a second group of parallel inputs summatrra.sootvetstvenno outputs. : · .·. - » ?- "? ΙΞΠΞΙΞΠΞ W С0 СПW С0 СП 4* t4 * t II 10Ϊ395410Ϊ3954
SU813367046A 1981-12-11 1981-12-11 Pseudo-random sequency generator SU1013954A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU813367046A SU1013954A1 (en) 1981-12-11 1981-12-11 Pseudo-random sequency generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU813367046A SU1013954A1 (en) 1981-12-11 1981-12-11 Pseudo-random sequency generator

Publications (1)

Publication Number Publication Date
SU1013954A1 true SU1013954A1 (en) 1983-04-23

Family

ID=20987115

Family Applications (1)

Application Number Title Priority Date Filing Date
SU813367046A SU1013954A1 (en) 1981-12-11 1981-12-11 Pseudo-random sequency generator

Country Status (1)

Country Link
SU (1) SU1013954A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1. Авторское свидетельство ССС 524175, кл. G 06 F 7/58, 1975. 2. Авторское свидетельство СССР по за вке 3243239/18-24, кл. G 06 F 7/58, 1981 (прототип). *

Similar Documents

Publication Publication Date Title
SU1013954A1 (en) Pseudo-random sequency generator
SU1198533A1 (en) Device for simulating phase jitter of pulses of code sequence
SU1264165A1 (en) Adder-accumulator
SU1528770A1 (en) Pseudorandom sequence generator
SU1405110A1 (en) Reversible pulse counter
SU868975A1 (en) Pulse generator
SU1117622A1 (en) Walsh function generator
SU1347167A1 (en) Process number generator
SU1100621A1 (en) Function generator
SU1539774A1 (en) Pseudorandom series generator
SU790346A1 (en) Pulse counter
SU1531086A1 (en) Arithmetic-logic device
SU1177910A1 (en) Device for generating quaternary-coded sequences
SU1547057A2 (en) Frequency divider with variable division ratio
SU1101804A1 (en) Stochastic walsh function generator
RU2028028C1 (en) Counter
SU1057944A2 (en) Device for computing values of exponential function
SU750565A1 (en) Buffer storage
SU1298910A1 (en) Frequency divider with variable countdown
SU892735A1 (en) Binary counter
SU780007A1 (en) Control device
SU1591076A2 (en) Device for checking ram units
SU1336248A1 (en) Encoder
SU1506594A1 (en) Information scrambler
SU1501100A1 (en) Function generator