SU993444A1 - Pseudorandom sequence generator - Google Patents
Pseudorandom sequence generator Download PDFInfo
- Publication number
- SU993444A1 SU993444A1 SU813293893A SU3293893A SU993444A1 SU 993444 A1 SU993444 A1 SU 993444A1 SU 813293893 A SU813293893 A SU 813293893A SU 3293893 A SU3293893 A SU 3293893A SU 993444 A1 SU993444 A1 SU 993444A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- generator
- register
- installation
- Prior art date
Links
Landscapes
- Tests Of Electronic Circuits (AREA)
Description
Изобретение относитс к импульс|ной технике и может быть использовано дл формировани тестовых последовательностей при контроле и диагностике неисправностей цифровЕлх устройств автоматики, телемеханики И вычислительной техникиThe invention relates to a pulse technology and can be used to form test sequences for monitoring and diagnosing malfunctions of digital automatics, telemechanics, and computing equipment.
Известно устройство дл формиро- вани псевдослучайных сигналов сложной структуры, содержащее генератор тактовых импульсов, генератор псев- . дослучайной последовательности, элемент И, электронный ключ, счетчик тактов, элемент НЕ, дешифратор, счетчик циклов и триггер, позвол ницее формировать многократно повтор емые периоды псевдослучайной поспедова тельности, сдвинутые один относитель но другого на заданный интервал времени 11 .A device for generating pseudo-random signals of a complex structure, comprising a clock, a pseudo-generator, is known. Before the random sequence, the AND element, the electronic key, the clock counter, the NOT element, the decoder, the cycle counter and the trigger, allow us to generate repetitively repeated periods of pseudo-random behavior that are shifted one relative to the other for a given time interval 11.
Недостатком это.го устройства вл етс невозможность формировани псевдослучайной последовательности в обратном направлении и блокировани выходных сигналов устройства: на отдельных отрезках последовательности,The disadvantage of this device is the impossibility of forming a pseudo-random sequence in the opposite direction and blocking the output signals of the device: on separate segments of the sequence,
Наиболее близким по технической сущности к предлагаемому вл етс 17енератор псевдослучайных последовательностей , содержащий генератор такгThe closest in technical essence to the present invention is a 17 pseudo-random sequence generator, comprising a generator
товых импульсов, . элемент И, первый вход которого соединен с выходом генератора тактовых импульсов, вычи таклций счетчик, счетный вход которого соединен с выходом элемента И, группу элементов И, выхода1 которых вл ютс выходами генератора, h-разр дный реверсивный сдвигающий регистр, установочный вход кото|юго соединен с шиной Установка, вход синхронизации соединен с выходом элемента И, а выходы соединены с первьши входами группы элементов И, первьШ и второй сумматоры по модулю два, входы которых соединены с выходами реверсивного сдвигакщего регистра, а выходы соединены соответственно с. первьв и вторым информационными входами реверси вного сдвигающего ре20 гистра 2 . . .Tov pulses. And element, the first input of which is connected to the output of the clock generator, computing the counter, the counting input of which is connected to the output of the element And, a group of elements And whose output1 are the generator outputs, h-bit reverse shift register, the installation input | connected to the bus installation, the synchronization input is connected to the output of the element AND, and the outputs are connected to the first inputs of the group of elements AND, the first and the second modulo-two adders, whose inputs are connected to the outputs of the reverse shift register, and the outputs are connected respectively with. The first and second information inputs of the reverse shift register are 2. . .
Недостатком этого устройства вл ютс его ограниченные функциональные возможности,- так как при использовании генератора псевдослучайных поспедовательностей в качестве источника входных тестовых воздействий контролируекалх устройств в р де случаев непосредственно воспользоватьс последовательностью кодов генератора не . ддаетс , поскольку в этих устройствах возникают состо ни неопределенности вследствие одр- временного изменени нескольких входных воздействий , по влени на входах контролируемых устройств запрещенных комбина .ций и других причин. Иногда дл проверки правильности функционировани устройств требуетс повторение определенных участков.последовательности кодов генератора Ч пересчетные схемы ), поэтому при контроле целесообразно использовать не всю псевдослучайную последовательность кодов, а отдельные ее участки, формируемые в пр мом или обратном направлении, с блокировкой или без блокировки выходных сигналов,генератора, дл этого предварительно необходимо составл ть программу проверки контролируемых устройств, определ ющую пор док и характер формировани отдельных участков псевдослучайной последовательности . Выполн ть эту программу путем изменени вручную выполн емых генератором функций,как в известных устройствах., тр/доемко и практически невозможно, вследствие большой скорости изменени тестовых воздействий контролируемых устройств .A disadvantage of this device is its limited functionality, because when using a pseudo-random generator as a source of input test effects of controlled devices, in a number of cases it is not directly used by the generator code sequence. This is because, in these devices, uncertainties arise due to the simultaneous change of several input actions, the appearance of forbidden combinations at the inputs of monitored devices and other reasons. Sometimes, to check the correct functioning of devices, it is necessary to repeat certain sections. Sequence of generator codes (conversion circuits), therefore, when monitoring, it is advisable to use not the entire pseudo-random code sequence, but its individual sections, formed in the forward or backward direction, with or without blocking generator, for this, it is first necessary to compile a program for checking the monitored devices, determining the order and nature of the formation separate portions of the pseudorandom sequence. Perform this program by changing the functions manually performed by the generator, as in the known devices., Mp / long and practically impossible due to the high rate of change of the test actions of the monitored devices.
Цель изобретени - автоматизаци процесса формировани запрограммированных участков генерируемой последовательности .The purpose of the invention is to automate the process of forming the programmed sections of the generated sequence.
Поставленна цель достигаетс тем, что в генератор псевдослучайных последовательностей., содержащий генератор тактовых импульсов, выход которого соединен 0 первыгл в.ходоЬ элемента И, выход которого подключен |К счетному входу вычитающего счетчика , и к синхронизирующему входу п (разр дного реверсивного регистра сдвига, установочный вход которого соединен с шиной установки, первый и второй информационные входы соединены соответственно через первый и второй сумматоры по модулю два с соответствующими выходами п-разр дного реверсивного регистра сдвига , выходы которого также соединены с первь 1и входами блока элементов И, дополнительно введены буферный запоминающий блок, регистр:, сдвига и блок управлени , первый вход которо го соединен с шиной установки, второй вход соединен р выходом генератора тактовых импульсов, третий вход соединен с выходом вычитающего счетчика , а четвертый вход подключен к первому выходу регистра сдвига:, первый выход.блока управлёйи со едине с вторым входом элемента И, второй выход подключен к входу считывани буферного запоминающего блока, .установочный вход которого соединен с шиной установки, управл ющий выход буферного запоминающего блока под-The goal is achieved by the fact that the pseudorandom sequence generator., Which contains a clock pulse generator, the output of which is connected to the first element of the AND element, the output of which is connected | To the counting input of the counting counter, and the synchronizing input of the n (bit reverse shift register, whose installation input is connected to the installation bus, the first and second information inputs are connected, respectively, through the first and second modulo two adders with the corresponding outputs of the n-bit reversing the shift register, the outputs of which are also connected to the first 1 and inputs of the AND block, are additionally introduced a buffer storage unit, a register: shift and a control block, the first input of which is connected to the installation bus, the second input is connected by the clock output, the third input is connected with the output of the subtracting counter, and the fourth input is connected to the first output of the shift register :, the first output of the control unit is connected with the second input of the And element, the second output is connected to the read input of the buffer storage unit,. an installation input of which is connected to the installation bus, which controls the output of the buffer storage unit
ключен к входам записи вычитающего счетчика и регистра сдвига, а перва и втора группа выходов подключена к информационным входам вычитающего счетчика и регистра сдвигаIt is connected to the inputs of the record of the deducting counter and the shift register, and the first and second group of outputs are connected to the information inputs of the deducting counter and the shift register
соответственно, причем второй иrespectively, with the second and
третий выходы регистра сдвига соединены с входом управлени п-разр дного реверсивного регистра сдвига и с вторыми входами блока элементов И.the third outputs of the shift register are connected to the control input of the n-bit reverse shift register and to the second inputs of the block of elements I.
На чертеже приведена функциональна схема генератора псевдослучайных последовательностей.The drawing shows a functional diagram of the generator of pseudo-random sequences.
Генератор псевдослучайных последовательностей содержит блок 1 элементов И, Г1 -разр дный реверсивный perjiCTp 2 сдвига, сумматоры 3 и 4 по модулю 2, элемент И 5, вычитающий счётчик 6, регистр 7 сдвига, генератор 8 тактовых иг-шульсов,The pseudo-random sequence generator contains a block of 1 elements AND, G1-bit reversive perjiCTp 2 shift, adders 3 and 4 modulo 2, element 5, subtractive counter 6, shift register 7, generator 8 clock ig-pulses,
блок 9 управлени , буферный запоминающий блок 10, шину 11 установки, шины 12 информационных входов, шину 13 записи. . .control unit 9, buffer storage unit 10, installation bus 11, bus 12 information inputs, write bus 13. . .
На чертеже также показан пример .выполнени буферного запоминающего блока 10, который содержит запоминающий блок 14 с произвольной выборкой , с четчик 15 адреса, элемент ИЛИ 16 и формирователь 17 импульсов.The drawing also shows an example of executing a buffer storage unit 10, which contains a random access memory unit 14, with an address checker 15, an OR element 16, and a pulse shaper 17.
Блок 9 управлени выполнен на D-триггерах.The control unit 9 is executed on D-triggers.
Генератор работает следующим образом .The generator works as follows.
Перед Началом работы составл етс программа формировани выходной псевдослучайной последовательности кодов в виде последовательности управл ющих СЛОВ.. Каждое управл ющее слово -имеет (п + 3) разр да,где п - разр дность регистра 2. Первые п.разр дов управл ющего слова А1...АП содержат двоичный код длины и отрезка псевдослучайной последовательности, на которой генератор выполн ет одну из возможных операций, предусмотренных в коде операции. Код операции содержитс в {п + 1), (п + 2), (п + 3)-ем разр дах управл ющего слова .(Ao4-t . Ati,,).-Разр д А„4.1 содержит признак конца программы. в последнем управл ивдем слове программы , а в остальных словах Af,. 1. Разр д определ ет направление формировани отрезка псевдослучайной последовательности: в пр мом направлении при А ti+2 1 и в обратном направлении при Ап+2 0. Разр д , А„.з определ ет состо ние выхода генератора. Если А 1/ то на выход поступает формируема генера- . тором последовательность кодов. Eoni (An+ji 0, то на выходе поддерживаетс уровень логического О, а формируемав генератором последовательность кодов не поступает потребите5 .лю (маскируетс ).Before the start of work, a program is formed to form the output pseudo-random sequence of codes as a sequence of control words. Each control word has a (n + 3) bit, where n is the register size 2. The first control word of the A1 ... APs contain a binary code for the length and length of a pseudo-random sequence in which the generator performs one of the possible operations provided for in the operation code. The operation code is contained in (n + 1), (n + 2), (n + 3) -th digits of the control word. (Ao4-t. Ati ,,) .- Digit А „4.1 contains the end of program sign. in the last control of the program word, and in the remaining words Af ,. 1. The discharge determines the direction of the formation of a segment of a pseudo-random sequence: in the forward direction at А ti + 2 1 and in the opposite direction at An + 2 0. The discharge, А & .3, determines the state of the generator output. If A 1 / then the output is generated by generated-. torus sequence of codes. Eoni (An + ji 0, then the logical O level is maintained at the output, and the sequence of codes generated by the generator does not reach the consumer. 5 (masked).
Составленна программа загружаетс в блок 10, где она хранитс и может быть многократно использована . Перед загрузкой программы сигналом по шине 11 обнул етс счетчикThe compiled program is loaded into block 10, where it is stored and can be reused. Before loading the program with a signal on bus 11, the counter is zeroed.
15адреса блока 10 На шины 12 подаетс первоеуправл ющее слово программы и сигналом по шине 13 оно записываетс в нулевую чейку пам ти.. Сигнал с шины 13 через элемент ИЛИ15 addresses of the block 10 On the bus 12, the first control word of the program is supplied and is written to the zero memory cell by a signal on the bus 13. The signal from the bus 13 via the OR element
16поступает на счетный вход счетчика 15 и своим задним фронтом переводит его в следующееососто ние. Аналогично в блок 14 записываютс остальные управл ющие слова программы. После загрузки программы сигналом16 enters the counting input of the counter 15 and, with its falling front, transfers it to the next state. Similarly, in block 14, the remaining control words of the program are recorded. After loading the program with a signal
по шине 11 снова обнул етс счетчик 15 и устанавливаютс в исходные состо ни регистр 2 и блок 9 управлени . На выходе блока 9 управлени формируетс сигнал, вьодаваемый на вход разрешени считывани блока 10. На информационные входы блока 10 поступает первое управл ющее слово из нулевой чейки пам ти. Сигнал с выхода формировател 17, задержанный относительно сигнала на входе разрешени считывани блока 14, переписывает первые п разр дов управл ющего слова (д ) в вычитающий счетчик б, а (п + 1), (п + 2), (п + 3)-ий разр ды (код операции) - в регистр 7 После окончани считывани управл ющего слова из блока/ 10 на первом выходе блока 9 управлени про вл етс сигнал, разрешающий прохождение импульсов с генератора 8 тактовых импульсов через элемент И 5 на вход синхронизации регистра 2 и на счетщо вход вычитающего счетчика 6. При это в зависимости от сигнала на входе управлени направлением сдвига регистра 2 происходит сдвиг информации в регистре 2 в пр мом или обратном направлении, и формируетс псевдослучайна последовательность кодов в пр мом или обратном направлении. В зависимости от состо ни третьего регистра 7 генерируема последовательность кодов поступает на выход устройства или .блокируетс с помощью . блока элементов И 1. Каждый импульс ; на выходе элемента И 5 уменьшает сог держимое вычитающего счетчика б на единицу. После Л сдвигов регистра 2 счетчик б обнул етс , на его выходе Z формируетс сигнал, поступающий в блок 9 управлени . В результате на выходе блока 9 управлени по йл етсй сигнал,.запрещающий прохождение импульсов через элемент И 5. Так кончаетс формирование первого отрезка псевдослучайной последовательности/ кодов, соответсзтвуннцего первому уп равл ющему слову npoipaMivH. После этого блок 9 управлени формирует сигнал на вход разрешени считывани блока 10, и второе управл ющееon bus 11, counter 15 is reset again and register 2 and control block 9 are reset to initial states. At the output of the control unit 9, a signal is generated, inputted to the readout input of the unit 10. The information inputs of the unit 10 receive the first control word from the zero memory cell. The signal from the output of the driver 17, delayed relative to the signal at the read resolution input of block 14, rewrites the first n bits of the control word (e) to the subtracting counter b, a (n + 1), (n + 2), (n + 3) bits (operation code) - to register 7 After the control word from the block / 10 is finished reading, the first output of the control block 9 shows a signal allowing the passage of pulses from the generator 8 clock pulses through the element 5 to the input of the synchronization register 2 and on the counting input subtractive counter 6. When this is, depending on the signal At the shift direction of the register 2, the information in the register 2 is shifted in the forward or backward direction, and a pseudo-random sequence of codes is generated in the forward or backward direction. Depending on the state of the third register 7, the generated code sequence is fed to the output of the device or blocked by. block of elements And 1. Each pulse; at the output of the element And 5 reduces the co-held by the subtracting counter b by one. After L register shifts 2, the counter b is zeroed, at its output Z a signal is generated, which enters control unit 9. As a result, the output of control block 9 is a signal that prohibits the passage of pulses through element 5. This ends the formation of the first segment of the pseudo-random sequence / codes corresponding to the second control word npoipaMivH. After this, control block 9 generates a signal to the read enable input of block 10, and the second control
слово программы переписываетс в 6 и регистр 7. Формируетс iковый отрезок псевдослучайной посде .довательности кодов в соответствии ;с кодом операции, записанном в реги5 стре 7, длиной в & кодов, занесенной ;в счетчик 6, и т.д. Управл юпще слов програмкы по пор дку считываютс из блока 10 до тех пор, пока в последнем управл надём слове проходит призт10 нак конца программы, которой блокирует в блоке 9 управлени выдачу сигналов разрешени считывани в блок 10.the program word is rewritten to 6 and the register 7. An ikovy segment of a pseudo-random sequence of codes of code is formed in accordance with the operation code recorded in register 7 with a length of & codes listed; in counter 6, etc. The control of the program's words is read in order from block 10 until the last control word passes through the end of the program, which blocks in block 9 of the control the issuance of read permission signals to block 10.
Таким образом, введение в генера15 тор псевдослучайных последовательностей блока 9 управлени , регистра 7 и блока 10 позвол ет организовать автоматическую работу генератора по заранее разработанной программе, воз2Q можности составлени выходной последовательности кодов из отдельных отрезков псевдослучайной последовательности , формируемых в пр мом или обратном направлении, с блокировкойThus, introducing into the generator 15 pseudorandom sequences of control block 9, register 7 and block 10 allows organizing automatic generator operation according to a previously developed program, the possibility of composing an output sequence of codes from individual segments of a pseudorandom sequence formed in the forward or reverse direction, blocking
25 или без блокировки выхода устройства , что позвол ет .более эффективно использовать генератор дл контрол и диагностики цифровых устройств.25 or without blocking the output of the device, which makes it possible to more effectively use the generator to monitor and diagnose digital devices.
30thirty
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU813293893A SU993444A1 (en) | 1981-06-01 | 1981-06-01 | Pseudorandom sequence generator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU813293893A SU993444A1 (en) | 1981-06-01 | 1981-06-01 | Pseudorandom sequence generator |
Publications (1)
Publication Number | Publication Date |
---|---|
SU993444A1 true SU993444A1 (en) | 1983-01-30 |
Family
ID=20960213
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU813293893A SU993444A1 (en) | 1981-06-01 | 1981-06-01 | Pseudorandom sequence generator |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU993444A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2557764C2 (en) * | 2013-04-09 | 2015-07-27 | Федеральное Государственное Бюджетное Образовательное Учреждение Высшего Профессионального Образования "Дагестанский Государственный Технический Университет" (Дгту) | Pseudorandom sequence generator |
RU2718218C1 (en) * | 2019-08-29 | 2020-03-31 | Российская Федерация, от имени которой выступает Государственная корпорация по атомной энергии "Росатом" (Госкорпорация "Росатом") | Pulse sequence generator |
-
1981
- 1981-06-01 SU SU813293893A patent/SU993444A1/en active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2557764C2 (en) * | 2013-04-09 | 2015-07-27 | Федеральное Государственное Бюджетное Образовательное Учреждение Высшего Профессионального Образования "Дагестанский Государственный Технический Университет" (Дгту) | Pseudorandom sequence generator |
RU2718218C1 (en) * | 2019-08-29 | 2020-03-31 | Российская Федерация, от имени которой выступает Государственная корпорация по атомной энергии "Росатом" (Госкорпорация "Росатом") | Pulse sequence generator |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU993444A1 (en) | Pseudorandom sequence generator | |
US4549283A (en) | Digital time delay circuit with high speed and large delay capacity | |
SU1695394A1 (en) | Storage with self-testing | |
SU521608A1 (en) | Sensor codes for storage unit control | |
US20070047622A1 (en) | Data generator having linear feedback shift registers for generating data pattern in forward and reverse orders | |
RU1826128C (en) | Pseudorandom sequence generator | |
SU1129656A1 (en) | Device for checking storage | |
SU1160414A1 (en) | Device for checking logic units | |
SU1193727A1 (en) | Storage | |
RU2097820C1 (en) | Programmable timer | |
SU1660004A1 (en) | Microprocessor testing device | |
SU1213554A1 (en) | Device for checking and controlling reconfiguration | |
SU1413676A1 (en) | Self-check direct-access memory | |
SU1317484A1 (en) | Storage with error correction | |
SU1508287A1 (en) | Storage with check | |
SU1518680A1 (en) | Counter of photons | |
SU1317486A1 (en) | Device for checking memory blocks | |
SU497637A1 (en) | One-shift shift register | |
RU1817133C (en) | Time diagrams former | |
SU1432547A2 (en) | Apparatus for investigating petri-nets | |
SU1406640A1 (en) | Self-check on-line storage | |
SU951668A1 (en) | Device for forming pulse trains | |
RU1812628C (en) | Device for detection of group synchronization codes | |
SU1010731A1 (en) | Counting device | |
SU476523A1 (en) | Device for generating impulses in electrical control systems |