SU696510A1 - Pseudorandom code generator - Google Patents

Pseudorandom code generator

Info

Publication number
SU696510A1
SU696510A1 SU772447623A SU2447623A SU696510A1 SU 696510 A1 SU696510 A1 SU 696510A1 SU 772447623 A SU772447623 A SU 772447623A SU 2447623 A SU2447623 A SU 2447623A SU 696510 A1 SU696510 A1 SU 696510A1
Authority
SU
USSR - Soviet Union
Prior art keywords
bit
input
register
code
trigger
Prior art date
Application number
SU772447623A
Other languages
Russian (ru)
Inventor
Олег Владимирович Викторов
Леонид Федорович Карачун
Алексей Михайлович Романкевич
Original Assignee
Киевский Ордена Ленина Политехнический Институт Им. 50-Летия Великой Октябрьской Социалистической Революции
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 Киевский Ордена Ленина Политехнический Институт Им. 50-Летия Великой Октябрьской Социалистической Революции filed Critical Киевский Ордена Ленина Политехнический Институт Им. 50-Летия Великой Октябрьской Социалистической Революции
Priority to SU772447623A priority Critical patent/SU696510A1/en
Application granted granted Critical
Publication of SU696510A1 publication Critical patent/SU696510A1/en

Links

Landscapes

  • Error Detection And Correction (AREA)

Description

Изобретение относитс  к области вычислительной техники и может быть использовано в качестве генераторов проверочных кодов в установках, ис .пользуюищх различные веро тностные методы обнаружени  отказов в цифровых схемах, а также в качестве датчиков, генерирующих двоичные псевдослучайны коды с .гаобым заданным числом единиц, дл  машинного синтеза контролирующих тестов . Известен генератор псевдослучайных кодов, содержащий триггеры со счетными и установочныгии входами и формиру ющий только равномерно распределенны псевдослучайные коды 1. Наиболее близким по технической сущности к предлоуленному изобретению  вл етс  генератор псевдослучайных кодов, содержащий регистр сдвига с сумматором по модулю два в цепиобратной св зи, регистр сдвига, каждый разр д которого содержит трипер, первый, второй и третий элементы И и элемент ИЛИ, а входы которого подключены к выхода м второго и третьего элементов И, первый вход второго э.пемента И соединен с выходом триггера , а второй вход второго элемента И объединен со вторым вхоцом третьего з,лемеЕ-1та И и подключен к первому входу первого элемента И, выход которого соединен со вторым входом триггера , а второй вход первого элемента И  вл етс  входом тактовых импульсов, выход элемента ИЛИ каждого разр да соединен с первыми Бходаг 1л триггера и третьего элемента И последующего разр да 2., Однако этот генератор не позвол ет формировать псевдослучайные коды посто нного веса. Цель .изобретени  - расширение функциональных возможностей генератора за счет формировани  псевдослучайных кодов посто нного веса. Дл  достижени  поставленной цели генератор .содержит блок задани  веса кода, вход которого соединен с выходом элемента ИЛИ последнего разр да регистра сдвига, а „зыход блока задани  веса кода соединен с первы входами триггера и третьего элемента И первого разр да регистра сдвига, разр дные выходы регистра сдвига с сумматором по модулю два в цепи обратной св зи соединены с первыьш входами первых элементов И ка :дого разр да регистра сдвига соответстзенно.The invention relates to the field of computer technology and can be used as generators of verification codes in installations using various probabilistic methods for detecting failures in digital circuits, as well as sensors generating binary pseudo-random codes with an arbitrary number of units for machine synthesis of control tests. A pseudo-random code generator containing triggers with counting and set-up inputs and forming only uniformly distributed pseudo-random codes 1 is known. The pseudo-random code generator is closest in technical essence to the pre-polled invention and contains a shift register with modulator two in the reverse link, a modulator. the shift, each bit of which contains a tripper, the first, second and third elements AND, and the element OR, and whose inputs are connected to the output of the second and third elements AND, first The second input of the second e-plug And is connected to the trigger output, and the second input of the second element And is combined with the second input of the third, Lemme-1t I and connected to the first input of the first element And, the output of which is connected to the second input of the trigger, and the second input of the first element AND is the input of clock pulses, the output of the element OR of each bit is connected to the first trigger and the third element AND the subsequent bit 2. However, this generator does not allow generating pseudo-random codes of constant weight. The purpose of the invention is to enhance the functionality of the generator by generating pseudo-random codes of constant weight. To achieve this goal, the generator contains a block for specifying the code weight, the input of which is connected to the output of the element OR the last bit of the shift register, and the output of the block for specifying the code weight is connected to the first inputs of the trigger and the third element And the first digit of the shift register, the shift register with an adder modulo two in the feedback circuit is connected to the first inputs of the first elements I ka: the one bit of the shift register respectively.

На чертеже изображена функциональна  схема генератора.The drawing shows a functional diagram of the generator.

Генератор состоит из п - разр дного регистра сдвига 1, состо щего из триггеров 2. Единичный выход триггера 2 в i-oM разр де соединен; с входом элемента И 3, выход которого через элемент ИЛИ 4 подключен к информационному входу 5 триггера 2 в (i+l)-oM разр де и к одному входу элемента И 6 также в {1+1)-ом разр де . Нулевые выходы триггеров 7 п-разр дного регистра сдвига 8 с сумматором по модулю два соединен в каждом разр де с инверсным входом элемента И 6, а также с входом элемента И 3 и с одним входом элемента И 9, второй вход которого подсоединен к шине тактовых сигналов 10, а выход подключен к тактовому входу 11 триггера 2. Выход элемента И 6 соединен с входом элемента ИЛИ 4. Выход элемента ИЛИ 4 последнего разр да через блок задани  веса кода 12 соединен с ВХОДОМ;. 5 триггера 2 в первом разр де и с одним входом элемента И 6 в этом же разр де. К входам блока 12 подключены шины 13 и 14 задани  веса кода.The generator consists of an n - bit shift register 1 consisting of flip-flops 2. A single output of flip-flop 2 in the i-oM bit is connected; with the input element And 3, the output of which through the element OR 4 is connected to the information input 5 of the trigger 2 in (i + l) -oM bit and to the same input of the element And 6 also in the (1 + 1) -th bit. The zero outputs of the trigger 7 of the p-bit shift register 8 with a modulo two adder are connected in each bit with the inverse input of the element 6, and also with the input of the element 3 and with one input of the element 9, the second input of which is connected to the clock bus signals 10, and the output is connected to the clock input 11 of the trigger 2. The output of the element And 6 is connected to the input of the element OR 4. The output of the element OR 4 is the last bit through the block specifying the weight of the code 12 connected to the INPUT ;. 5 flip-flops 2 in the first category and with one input of the element And 6 in the same category. To the inputs of the block 12 connected tires 13 and 14 sets the weight of the code.

Работу генератора рассмотрим на примере дл  .The generator will consider the example of dl.

Перед началом работы устанав;1иваетс  вес кода. Дл  этого по шике задани  веса кода 13 последовательно поступают единицы в количестве равным заданному весу кода Р. При этом на регистр сдвига 8 с cyKiiviaTopoM по модулю два в цепи обратной св зтактовые импульсы не подаютс  и регистр 8 сохран ет исходное (нулевое) состо ние. До тех пор, пока все триггеры 7 регистра 8 остаютс  в нулевом состо нии, сигнал с единичного выхода триггера 2 в любом разр де проходит через элементы И 3 и ИЛИ 4 на информационный вход 5 триггера 2 следующего разр да. В момент действи  тактового сигнала, поступающего на входы 11 всех триггеров 2, происходит за-пись в триггер 2 (i+l)-ro разр да информации с выхода триггера 2 i-ro разр да. Таким образом, поступающие по шине 13 единицы сдвигаютс  в регистре 1 обычным образом и заполн ют первые Р разр дов рех истра 1 .Before starting, the code is set; To do this, in order to set the weight of the code 13, units in a quantity equal to the specified weight of the code P are received. At the same time, the shift register 8 with the cyKiiviaTopoM modulo two in the feedback feedback circuit is not fed and the register 8 retains its original (zero) state. As long as all the triggers 7 of register 8 remain in the zero state, the signal from the single output of trigger 2 in any bit goes through the elements AND 3 and OR 4 to the information input 5 of trigger 2 of the next bit. When the clock signal arrives at the inputs of 11 all triggers 2, it is written to the trigger 2 (i + l) -ro of the information discharge from the output of trigger 2 i-ro bit. Thus, the units arriving on the bus 13 are shifted in register 1 in the usual way and fill the first P bits of the switch.

После задани  веса тактовые сигналы подаютс  на регистр 8. В регистре 8 формируетс  псевдослучайна  последовательность нулей и единиц.After the weight has been set, the clock signals are sent to register 8. In register 8, a pseudo-random sequence of zeros and ones is formed.

Процесс формировани  кодовых комбинаций в регистре 1 протекает следующим образом. Например, в данном такте в регистре находитс  код 0110, а в предьщущем такте на регистре 1 была сформирована кодова  комбинаци  1100 В этом случае нулевым сигналом с нулевого выхода триггеров второго иThe process of forming code combinations in register 1 proceeds as follows. For example, the code in the register is 0110, and in the previous clock on register 1, the code combination 1100 was formed. In this case, the zero signal from the zero output of the second and triggers

третьего разр дов будут закрыты элеметы И Э в соответствующих разр дах, поэтому тактовые сигналы 10 не пройдут на входы 11 триггеров 2 во втором и третьем разр дах и эти триггеры сохран т свое состо ние. В то же врем  единичный сигнал с единичного выхода триггера 2 первого разр да проходи через элементы И 3, ИЛИ 4 в первом разр де и через открытый нулевым сигналом с вглхода триггеров 17 элемен И б второго разр да поступает далее через элемент ИЛИ 4 второго разр да и открытый нулевьгм сигналом с выхода триггера 7 третьего разр да элемент И 6 через элемент ИЛИ 7 на вход 5 триггера 2 четвертого разр да. Через элемент И б четвертого разр да рассматриваемый сигнал не проходит, так как он закрыт единичным сигналом с выхода триггера 7 четвертого разр да. Ьа вход 5 триггера 2 первого разр да действет нулевой сигнал с выхода триггер-а 2 четвертого разр да. В момент действи  тактового сигнала 10 произойдет запись единицы в четверТсий тр:-1ггер 2 и нул  в первый триггер 2. В результате на регистре 1 формируетс  код 0101.The third bit will close the I and E elements in the corresponding bits, so the clock signals 10 will not pass to the inputs of 11 triggers 2 in the second and third bits and these triggers will retain their state. At the same time, a single signal from a single output of flip-flop 2 of the first bit goes through the elements AND 3, OR 4 in the first bit and through the open zero signal from the trigger of the triggers 17 elements And the second bit goes further through the element OR 4 of the second bit and an open zero signal from the trigger output 7 of the third bit of the element AND 6 through the element OR 7 to the input 5 of the trigger 2 of the fourth bit. The considered signal does not pass through the fourth-bit element B of the fourth bit, since it is closed by a single signal from the output of the fourth trigger of the fourth digit. On input 5 of trigger 2 of the first bit, the zero signal from the output of trigger 2 of the fourth bit acts. At the time of the clock signal 10, the unit will be recorded in quarTs tr: -1yr 2 and zero to the first trigger 2. As a result, code 0101 is generated on register 1.

Тй.ким образом, при сдвиге разр ды кода перепрыгивают через триггерыIn the same way, when shifting the code bits jump over triggers.

единицагли в соот отмеченныеunits in correspondence

ветствующих разр дах регистра 8. Отм-ачен ые триггеры 2 сохран ют прежнее состо ние. При этом количество ejanHHU в коде на регистре 1 остаетс  неизменны;-.the corresponding bits of the register 8. Marked triggers 2 retain their previous state. At the same time, the number of ejanHHU in the code on register 1 remains unchanged; -.

Поскольку последовательность нулей и единиц на выходах регистра 8, котора  уг;равл ет сдвигом кода в регистре 1, представл ет собой псевдослучайную последовательность (с равными веро тОSince the sequence of zeros and ones at the outputs of register 8, which is equal to the code shift in register 1, is a pseudo-random sequence (with equal probability

) , то), then

нocт  м по влени occurrence

иand

перемешивание единиц в регистре 1 будет происходить в случайном пор дке и на выходах будут формироватьс  псевдослучайные кодовые комбинации посто нного веса, причем математическоеthe mixing of units in register 1 will occur in random order and pseudo-random constant-weight code combinations will be generated at the outputs, and the mathematical

1one

в двоичнойin binary

ожидание по влени waiting on appearance

последовательности на выходе любого разрада регистра 1 будет равно величне -рг Р - вес кода, an- число разр дов регистра 1.the sequence at the output of any register bit 1 will be equal to the value of ir p P - the weight of the code, an - the number of bits of the register 1.

Вес кодов, формируемых на регистре 1 можно измен ть без остановки, в процессе работы устройства с помощью блока задани  веса кода 12. Дл  этого необходимое число импульсов {единиц) подаетс  на вход блока 12 по шине 13 в случае i вeличeни  веса или по шине 14 в случае уменьшени  веса генерируемых кодов.The weight of codes generated on register 1 can be changed without stopping during operation of the device using the code weight setting block 12. For this, the required number of pulses (units) is fed to the input of block 12 via bus 13 in case of i weight increase or bus 14 in the case of reducing the weight of the generated codes.

Генератор может быть использован в качестве датчика входных наборов в системах автоматического синтеза тестов дл  сложных логических схем. При этом в р де методов поиска контролирующих тестов такие свойства, каThe generator can be used as a sensor for input sets in automatic test synthesis systems for complex logic circuits. At the same time, in a number of methods of searching for control tests such properties as

SU772447623A 1977-01-27 1977-01-27 Pseudorandom code generator SU696510A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU772447623A SU696510A1 (en) 1977-01-27 1977-01-27 Pseudorandom code generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU772447623A SU696510A1 (en) 1977-01-27 1977-01-27 Pseudorandom code generator

Publications (1)

Publication Number Publication Date
SU696510A1 true SU696510A1 (en) 1979-11-05

Family

ID=20693651

Family Applications (1)

Application Number Title Priority Date Filing Date
SU772447623A SU696510A1 (en) 1977-01-27 1977-01-27 Pseudorandom code generator

Country Status (1)

Country Link
SU (1) SU696510A1 (en)

Similar Documents

Publication Publication Date Title
US4312068A (en) Parallel generation of serial cyclic redundancy check
US4498174A (en) Parallel cyclic redundancy checking circuit
US3924181A (en) Test circuitry employing a cyclic code generator
US4553090A (en) Method and apparatus for testing a logic circuit using parallel to serial and serial to parallel conversion
KR920005171A (en) Semiconductor memory with successively clocked call codes for entering test mode
US4713605A (en) Linear feedback shift register for circuit design technology validation
JPS6232511B2 (en)
JPH022173B2 (en)
SU696510A1 (en) Pseudorandom code generator
US3787669A (en) Test pattern generator
US3056108A (en) Error check circuit
US3407389A (en) Input buffer
JPS59122972A (en) Apparatus for testing logical circuit
US3323111A (en) Distortion signal generator
SU551573A1 (en) Device for testing logical blocks
SU1691841A1 (en) A digital installations tester
SU742910A1 (en) Pseudorandom binary train generator
US3092807A (en) Check number generator
SU1229970A1 (en) Device for determining validity to transmission of binary information
SU951301A1 (en) Pseudo-random code generator
SU1037261A1 (en) Digital unit checking device
SU1061275A1 (en) Device for single-error correction and multiple-error detection
SU951318A2 (en) Discrete communication channel simulator
SU1191911A1 (en) Device for checking digital units
SU1476473A1 (en) Test stimulus generator