RU1809431C - Gray code generator - Google Patents

Gray code generator

Info

Publication number
RU1809431C
RU1809431C SU4880650A RU1809431C RU 1809431 C RU1809431 C RU 1809431C SU 4880650 A SU4880650 A SU 4880650A RU 1809431 C RU1809431 C RU 1809431C
Authority
RU
Russia
Prior art keywords
group
elements
code
input
trigger
Prior art date
Application number
Other languages
Russian (ru)
Inventor
Юрий Львович Литвин
Александр Григорьевич Тягунов
Original Assignee
Войсковая часть 03444
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 Войсковая часть 03444 filed Critical Войсковая часть 03444
Priority to SU4880650 priority Critical patent/RU1809431C/en
Application granted granted Critical
Publication of RU1809431C publication Critical patent/RU1809431C/en

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано в устройствах контрол ,диагностики и защиты информации. Цель изобретени  - расширение области применени  устройства за счет обеспечени  возможности генерировани  до 2П различных последовательностей кода Гре , в зависимости от начального значени  кода. Генератор кода Гре  содержит п триггеров первой группы, генератор тактовых импульсов, первый и второй элементы И, элемент НЕ, п триггеров второй группы, п элементов ИЛИ, п групп элементов И, кажда  из которых содержит первый и .второй элементы И, п входов установки, п входов занесени  начального кода. Изобретение позвол ет расширить область применени  устройства за счет обеспечени  возможности генерировани  до 2П (где п - разр дность кода) различных последовательностей кода Гре  в зависимости от начального значени  кода, что обеспечивает его использование в многоканальных системах передачи данных с повышенной степенью защищенности информации . 1 ил., 1 табл.The invention relates to automation and computer technology and can be used in devices for monitoring, diagnosing and protecting information. The purpose of the invention is to expand the scope of the device by making it possible to generate up to 2P different sequences of Gre code, depending on the initial code value. The Gre code generator contains n triggers of the first group, a clock generator, the first and second elements AND, an element NOT, n triggers of the second group, n elements OR, n groups of elements AND, each of which contains the first and second elements And, n inputs of the installation , n inputs entering the initial code. The invention allows to expand the scope of the device by providing the possibility of generating up to 2P (where p is the bit depth of the code) various sequences of Gre code depending on the initial value of the code, which ensures its use in multichannel data transmission systems with a high degree of information security. 1 ill., 1 tab.

Description

Изобретение относитс  к автоматике и вычислительной технике И может быть использовано в устройствах контрол ,диагностики и защиты информации.The invention relates to automation and computer technology And can be used in devices for monitoring, diagnosing and protecting information.

Цель изобретени  - расширение области применени  за счет обеспечени  возможности генерировани  до 2П (п - разр дность кода) различных последовательностей кода Гре  в зависимости от начального значени  кода.The purpose of the invention is to expand the scope by providing the possibility of generating up to 2P (n - bit depth) different sequences of Gre code depending on the initial value of the code.

На чертеже изображена схема устройства .The drawing shows a diagram of the device.

Устройство содержит п триггеров первой группы 1. п выходов генератора 2, генератор тактовых импульсов 3, первый 4 и второй 5 элементы И, элемент НЕ 6, п триггеров второй группы 7, п элементов ИЛИ 8, п групп элементов И 9, кажда  из которых содержит первый 10 и второй 11 элементыThe device contains n triggers of the first group 1. n outputs of the generator 2, the clock generator 3, the first 4 and second 5 elements And, element NOT 6, n triggers of the second group 7, n elements OR 8, n groups of elements And 9, each of which contains the first 10 and second 11 elements

И, п входов установки 12, п входов занесени  начального значени  кода 13..And, n inputs of the installation 12, n inputs enter the initial value of the code 13 ..

Устройство работает следующим образом .The device operates as follows.

В исходном состо нии триггеры первой 1 и второй 7 групп наход тс  в нулевом состо ни х . При этом на выходе второго элемента И 5 присутствует сигнал высокого (разрешающего ) уровн , который, пройд  через элемент . НЕ 6, закрывает первый элемент И 4, а следовательно , импульсы с генератора тактовых импульсов 3 не проход т на просмотр состо ний групп элементов И 9.In the initial state, the triggers of the first 1 and second 7 groups are in the zero state. At the same time, at the output of the second element And 5 there is a signal of high (resolution) level, which, passed through the element. NOT 6, closes the first AND element 4, and therefore, pulses from the clock 3 do not go through to view the states of the And 9 element groups.

Дл  начала формировани  очередной последовательности кода Гре  по входам занесени  начального значени  кода 13 на триггеры первой группы 1 заноситс  код, определ ющий очередную последовательность кода Гре ,, а по входам установки 12To start generating the next sequence of Gre code by the inputs of entering the initial value of code 13 on the triggers of the first group 1, a code is entered that defines the next sequence of Gre code, and by the installation inputs 12

СОWith

о юabout y

СОWith

триггеры второй группы 7 устанавливаютс  в единичные состо ни . При этом на выходе второго элемента И 5 формируетс  сигнал, который, пройд  элемент НЕ 6, открывает первый Элемент И 4 дл  прохождени  им- пульсов с генератора тактовых импульсов 3. Импульсами с генератора тактовых импульсов 3 осуществл етс  последовательный просмотр состо ний триггеров второй группы 7, начина  с первого триггера. Первый импульс с генератора 3 поступает на первые входы первого 10 и второго 11 элементов И первой группы элементов И 9. Так как состо ние первого триггера второй группь триггеров 7 единичное, то этот импульс проходит через открытый элемент И 1 ( первой группы триггеров 7 в нулевое сост  ние и, поступа  на счетный вход первого триггера первой группы триггеров 1, инвертирует состо ние этого триггера. Второй импульс с генератора 3, пройд  открытый элемент И 10 первой группы элементов И 9, так как первый триггер второй rpynflbi триггеров 7 находитс  в нулевом состо нии, через первый элемент ИЛИ 8 устанавливает первый триггер второй группы триггеров 7 в единичное состо ние и, пройд  через открытый элемент И 11 второй группы элементов И 9, устанавливает второй триггер второй групthe triggers of the second group 7 are set to single states. In this case, a signal is generated at the output of the second element And 5, which, having passed the element NOT 6, opens the first Element And 4 for passing pulses from the clock generator 3. By pulses from the clock generator 3, the states of the triggers of the second group 7 are sequentially viewed starting with the first trigger. The first pulse from the generator 3 is supplied to the first inputs of the first 10 and second 11 elements And the first group of elements And 9. Since the state of the first trigger of the second group of triggers 7 is single, this pulse passes through the open element And 1 (of the first group of triggers 7 to zero The state and, entering the counting input of the first trigger of the first group of triggers 1, inverts the state of this trigger. The second pulse from the generator 3, passed the open element And 10 of the first group of elements And 9, since the first trigger of the second rpynflbi of triggers 7 is at zero state, through the first element OR 8 sets the first trigger of the second group of triggers 7 to a single state and, passing through the open element 11 of the second group of elements 9, sets the second trigger of the second group

пы триггеров 1 - в инверсное состо ние.The triggers 1 are in the inverse state.

30thirty

ретий импульс с генератора тактовых импульсов 3 аналогично выше изложенному станавливает первый триггер второй группы триггеров 7 в нулевое состо ние, а первый триггер-первой группы триггеров 1 - в 35 нверсное состо ние. Четвертый импульс с генератора тактовых импульсов 3« пройд  последовательно элементы И 10 первой и второй групп элементов И 9, устанавливает первый и второй триггеры, второй группы 40 риггеров 7 в единичное состо ние, а прой  через элемент И 11 третьей группы элементов И 9, устанавливает третий триггер второй группы триггеров 7 в нулевое состо ние , а третий триггер первой группы триг- 45 геров 1 - в инверсное состо ние. Далее работа генератора кода Гре  по формированию кодовой последовательности аналогична вышеизложенному.The third pulse from the clock generator 3, similarly to the above, sets the first trigger of the second group of triggers 7 to the zero state, and the first trigger of the first group of triggers 1 to the 35th inverse state. The fourth pulse from the clock generator 3 "passed sequentially the elements And 10 of the first and second groups of elements And 9, sets the first and second triggers, the second group of 40 triggers 7 in a single state, and the through through element And 11 of the third group of elements And 9, sets the third trigger of the second group of triggers 7 to the zero state, and the third trigger of the first group of triggers 45 of the gers 1 to the inverse state. Further, the work of the Gre code generator for generating a code sequence is similar to the above.

Таким образом, осуществл етс  после- 50 довательный просмотр состо ний триггеров второй группы 7, начина  с первого. При этом каждый импульс с генератора тактовых импульсов 3 последовательно проходит группы элементов И 9, определ  , таким 55 образом, наименьший j-й номер триггера второй группы триггеров б, который находитс  в единичном состо нии. Этот j-й триггер второй группы триггеров 7 устанавливаетс  в нулевое состо ние, а все триггеры второйThus, a sequential view of the states of the triggers of the second group 7 is carried out, starting with the first. In this case, each pulse from the clock generator 3 sequentially passes through the group of elements And 9, thus determining 55 the smallest jth trigger number of the second group of triggers b, which is in the single state. This j-th trigger of the second group of triggers 7 is set to zero, and all the triggers of the second

5 0 5 5 0 5

00

5 0 5 5 0 5

0 5 0 5

группы триггеров 7 с номерами от 1 до Q-1) в единичные состо ни , j-й триггер первой группы триггеров 1 устанавливаетс  в инверсное состо ние. Таким образом, с поступлением каждого импульса с генератора тактовых импульсов 3 на выходах генератора 2 формируетс  код, соответствующий ко- ДУ Гре .. trigger groups 7 with numbers from 1 to Q-1) to the single states, the jth trigger of the first trigger group 1 is set to the inverse state. Thus, with the arrival of each pulse from the clock generator 3 at the outputs of the generator 2, a code is generated corresponding to the control code ..

В момент, когда все триггеры второй группы 7 окажутс  в нулевых состо ни х, сигнал с выхода второго элемента И 5, инвертированный на элементе НЕ 6, закрывает прохождение импульсов с генераторг тактовых импульсов 3 через первый элемент И 4. На этом формирование очередной последовательности кода Гре  на выходах генератора 2 заканчиваетс . Перед началом формировани  следующей последовательности кода Гре  триггеры первой группы 1 обнул ютс ,At the moment when all the triggers of the second group 7 are in the zero state, the signal from the output of the second element And 5, inverted on the element HE 6, closes the passage of pulses from the clock generator 3 through the first element And 4. At this, the formation of the next sequence of code The grease at the outputs of generator 2 ends. Before starting the formation of the next sequence of Gre code, the triggers of the first group 1 are reset,

При поступлении по входам занесени  начального значени  кода 13 на триггеры первой группы 1 различных кодов формируютс  различные последовательности кода Гре . Пример трех последовательностей, получаемых с генератора трехразр дного кода Гре , соответствующих начальным кодам 000, 010. 100, заносимым в первую группу триггеров 1, приведены в таблице.Upon entering the initial value of code 13 on the inputs of the triggers of the first group 1 of different codes, different sequences of Gre code are formed. An example of three sequences obtained from a three-digit Gre code generator corresponding to the initial codes 000, 010. 100, recorded in the first group of triggers 1, is given in the table.

В общем случае имеетс  возможность формировать до 2П различных кодовых последовательностей .In the general case, it is possible to form up to 2P different code sequences.

Claims (1)

Формула изобретени  The claims Генератор кода Гре , содержащий п триггеров первой группы, (п - разр дность кода), генератор тактовых импульсов, причем единичный выход j-ro триггера Q 1,п) первой группы соединен с соответствующим j-м выходом генератора, отличающийс  тем, что, с целью расширени  области применени  путем обеспечени  возможности генерировани  до 2П различных после- довательностей кода Гре  в зависимости от начального значени  кода, он содержит первый и второй элем.енты И, элемент НЕ, п триггеров второй группы, п элементов ИЛИ, п групп элементов И, кажда  из которых содержит .первый и второй элементы И, причем выход генератора тактовых импульсов соединен с первым входом первого элемента И, второй вход которого соединен с выходом второго элемента И через элемент НЕ, нулевой выход J-ro триггера второй группы соединен с соответствующим j-м входом второго элемента И, выход j-ro элемента ИЛИ-соединен с входом установки в Г соответствующего j-ro триггера второй группы, первый вход первого элемента И j-йA Gre code generator containing n triggers of the first group (n is the bit of the code), a clock pulse generator, the unit output j-ro of the trigger Q 1, n) of the first group being connected to the corresponding j-th output of the generator, characterized in that, in order to expand the scope by providing the possibility of generating up to 2P different sequences of Gre code depending on the initial value of the code, it contains the first and second elements AND, element NOT, n triggers of the second group, n elements OR, n groups of elements AND each of the cat ryh contains the first and second elements And, and the output of the clock generator is connected to the first input of the first element And, the second input of which is connected to the output of the second element And through the element NOT, the zero output J-ro of the trigger of the second group is connected to the corresponding j-th input of the second element AND, the output of the j-ro element OR is connected to the installation input in G of the corresponding j-ro trigger of the second group, the first input of the first element And the j-th группы элементов И соединен с первым входом второго элемента И, выход первого элемента И (Н)й группы элементов И и с первым входом соответствующего j-ro элемента ИЛИ, второй вход которого соединен с соответствующим -м входом установки, первый вход первого элемента И первой группы элементов И соединен с выходом первого элемента И, второй вход первого элемента И каждой j-й группы элементов И соединен с нулевым выходом соответствующего j-ro триггера второй группы, второйgroups of elements And is connected to the first input of the second element And, the output of the first element And (H) of the group of elements And and with the first input of the corresponding j-ro OR element, the second input of which is connected to the corresponding input of the installation, the first input of the first element And the first group of elements And is connected to the output of the first element And, the second input of the first element And of each j-th group of elements And is connected to the zero output of the corresponding j-ro trigger of the second group, the second вход второго элемента И каждой j-й группы элементов И соединен с единичным выходом соответствующего J-ro триггера второй группы, выход второго элемента И каждой j-й группы элементов И соединен с входом установки в О соответствующего J-ro триггера второй группы и со счетным входом соответствующего j-ro триггера первой группы, вход установки в Г j-ro триггера первой группы соединен с соответствующей J-M входом занесени  начального значени  кода.the input of the second element And of each j-th group of elements And is connected to the unit output of the corresponding J-ro trigger of the second group, the output of the second element And of each j-group of elements And is connected to the input of the installation in O of the corresponding J-ro trigger of the second group and with the counting by the input of the corresponding j-ro trigger of the first group, the input of the installation in Г j-ro of the trigger of the first group is connected to the corresponding JM input of entering the initial code value.
SU4880650 1990-11-06 1990-11-06 Gray code generator RU1809431C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU4880650 RU1809431C (en) 1990-11-06 1990-11-06 Gray code generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU4880650 RU1809431C (en) 1990-11-06 1990-11-06 Gray code generator

Publications (1)

Publication Number Publication Date
RU1809431C true RU1809431C (en) 1993-04-15

Family

ID=21544193

Family Applications (1)

Application Number Title Priority Date Filing Date
SU4880650 RU1809431C (en) 1990-11-06 1990-11-06 Gray code generator

Country Status (1)

Country Link
RU (1) RU1809431C (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 669346, кл. G 06 F 1/02, 1977. Авторское свидетельство СССР № 1418686, кл. G 06 F 1/02. 1988. *

Similar Documents

Publication Publication Date Title
RU1809431C (en) Gray code generator
SU1173467A1 (en) Frequency-to-number converter
SU1365358A1 (en) Device for monitoring "m out of n" code
SU1280610A1 (en) Device for comparing numbers
SU997024A1 (en) Information input device
SU739526A1 (en) Device for comparing two numbers
SU1008893A1 (en) Pulse train generator
SU807219A1 (en) Device for programme-control of objects
SU1121669A1 (en) Device for comparing number of ones in binary codes
SU1188728A1 (en) Device for implementing boolean functions
SU1397936A2 (en) Device for combination searching
SU1149241A1 (en) Device for capturing information from transducers
SU1647910A1 (en) Positional code encoder
SU1636994A1 (en) Semi-markovian process generation device
SU1377852A1 (en) Device for sorting numbers
SU1280603A1 (en) Information input device
SU732873A1 (en) Sensor address former
SU974393A1 (en) Data compressing device
SU650086A1 (en) Device for classification of amages of microobjects
SU1599859A1 (en) Device for monitoring standard modules
SU1608635A1 (en) Data input device
SU1675948A1 (en) Device for restoration of clock pulses
SU1649548A1 (en) Pulse train monitor
SU1615721A1 (en) Device for distributing tasks among processors
SU1559297A1 (en) Device for automatic normalization of binary code