SU1357960A1 - Device for checking quantity of units of binary code by modulus k - Google Patents
Device for checking quantity of units of binary code by modulus k Download PDFInfo
- Publication number
- SU1357960A1 SU1357960A1 SU833682843A SU3682843A SU1357960A1 SU 1357960 A1 SU1357960 A1 SU 1357960A1 SU 833682843 A SU833682843 A SU 833682843A SU 3682843 A SU3682843 A SU 3682843A SU 1357960 A1 SU1357960 A1 SU 1357960A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- output
- group
- modulo
- units
- unit
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Abstract
Изобретение относитс к области автоматики и вычислительной техники и может быть использовано дл построени надежных устройств переработки дискретной информации. Цель изобретени - повьшение быстродействи устройства. Двоичный код обрабатываетс многоканальным преобразователем параллельного кода в последовательный . Сигналы с информационного выхода первого канала преобразовател через элемент ИЛИ поступают на счетный вход счетчика по модулю К. Сигналы с информационных выходов остальных каналов преобразовател поступают на суммирующие входы соответст- в пощих блоков подсчета единиц по мо- дуУпо К группы. Работа многоканального преобразовател тактируетс генератором тактовых импульсов. По окончании работы многоканального преобразовател устанавливаетс в единичное состо ние триггер, сигнал с пр мого выхода которого разрешает прохождение через элементы И группы тактовых импульсов. Каждый предьщущий блок подсчета единиц по модулю К группы при наличии в нем кода, отличного от нул , разрешает прохождение тактовых импульсов через соответствую1ций элемент И группы и запрещает прохождение тактовых импульсов через остальные элементы И группы. Сигналы с выхода открытого элемента И группы поступают через элемент ИЛИ на счетный вход счетчика по модулю К и на вычитающий вход соответствующего блока подсчета единиц группы. Как только код в блоке подсчета единиц группы становитс равным нулю, закрываетс прохождение тактовых импульсов через соответствующий элемент И группы и разрешаетс их прохождение через остальные элементы И группы. Как только закончитс считывание содержимого из всех блоков подсчета единиц группы , на выходе элемента И формируетс сигнал конца работы устройства. Количество единиц двоичного.кода по модулю К хранитс на счетчике по модулю К. 1 з.п. ф-лы, 2 ил. i с со сд со аThe invention relates to the field of automation and computer technology and can be used to build reliable devices for processing discrete information. The purpose of the invention is to increase the speed of the device. The binary code is processed by a multi-channel parallel-to-serial code converter. The signals from the information output of the first channel of the converter through the OR element are fed to the counting input of the counter modulo K. The signals from the information outputs of the other channels of the converter are fed to the summing inputs of the corresponding unit counting units of the KU group. The operation of the multichannel converter is clocked by a clock pulse generator. At the end of the multichannel converter operation, the trigger is set to one state, the signal from the direct output of which allows the passage through the elements of the AND group of clock pulses. Each previous unit of counting units modulo the K group, if there is a code different from zero in it, allows the passage of clock pulses through the corresponding AND group element and prohibits the passage of clock pulses through the remaining And group elements. The signals from the output of an open element AND of the group are received through the element OR to the counting input of the counter modulo K and to the subtracting input of the corresponding unit unit counting unit. As soon as the code in the unit counting unit of the group becomes zero, the passage of clock pulses through the corresponding AND group element is closed and their passage through the remaining AND group elements is allowed. As soon as the reading of the contents of all units of the group is counted, the output signal of the device is formed at the output of the element And. The number of units of the binary code modulo K is stored on the counter modulo K. 1 cp f-ly, 2 ill. i with with sd with a
Description
Изобретение относитс к автомати- . ке и вычислительной технике и может быть использовано дл построени надежных устройств переработки дискрет- ной информации.This invention relates to automation. Ke and computer technology and can be used to build reliable devices for processing discrete information.
изобретени вл етс повышение быстродействи устройства. the invention is to increase the speed of the device.
На фиг.1 приведена функциональна Figure 1 shows the functional
подсчета единиц по модулю К группы Таким образом, по окончании работ многоканального преобразовател 1 (преобразование осуществл етс с п мощью сигналов с выхода генератора 3 тактовых импульсов) на счетчике по модулю К и на реверсивных счетч ках 12 по модулю К всех блоков подcounting units modulo the K group. Thus, upon completion of the work of the multichannel converter 1 (the conversion is performed with the power of the signals from the generator output of 3 clocks) on the counter modulo K and on the reversible counters 12 modulo K all blocks under
схема устройства; на фиг.2 - функцио- 10 счета единиц по модулю К группы 9 нальна схема блока подсчета единиц по модулю К.device layout; FIG. 2 shows the function of 10 units of account modulo K group 9 and the scheme of the unit counting unit modulo K.
Устройство дл контрол количества единиц двоичного кода по модулю К (фиг.1) содержит многоканальный пре- 15 образователь 1 параллельного кода в последовательньй, элемент ИЛИ 2, генератор 3 тактовых импульсов, группу 4 информационных входов преобразовасодержитс код, равный количеству единиц в отдельных группах разр до исходного двоичного кода по модулюThe device for controlling the number of binary code units modulo K (Fig. 1) contains a multichannel preamplifier of 1 parallel code into a sequence, an OR 2 element, a 3 clock pulse generator, a group of 4 information inputs converts a code equal to the number of ones in separate groups of bits before the binary source code
После того происходит последова тельное обнуление содержимого реве сивных счетчиков 12 по модулю К вс блоков подсчета единиц по модулю К группы 9 к содержимому счетчика 11 по модулю к,, что осуществл етс слThereafter, the contents of the revolving counters 12 modulo K of all the units of moduli of units Modulo K of group 9 to the contents of counter 11 modulo k, are sequentially reset to zero.
тел , информационный выход 5 устрой- ства, группу 6 элементов И, триггер 7, элемент И 8, группу 9 блоков подсчета единиц по модулю К, выход 10 конца работы устройства, счетчик 11 по модулю К.tel, information output 5 devices, a group of 6 elements And, trigger 7, element And 8, group 9 units of unit count K, output 10 of the end of the device, counter 11 modulo K.
БЛОК подсчета единиц по модулю К группы 9 содержит реверсивный счетчик 12 по модулю К, элемент ИЛИ 13 и элемент НЕ 14.The unit Counting units modulo K group 9 contains a reversible counter 12 modulo K, the element OR 13 and the element NOT 14.
Устройство дп контрол количества единиц двоичного кода по модулю К работает следующим образом.The device DP control the number of units of binary code modulo K works as follows.
В начале работы триггер 7, счетчик 11 по модулю К и реверсивные счетчики 12 по модулю К всех блоков подсчета единиц группы 9 устанавливаютс в нулевое состо ние (цепь начальных установок не показана). Ис- ходньй двоичный код поступает на информационные входы группы 4 устройст ва.At the start of operation, the trigger 7, the counter 11 modulo K, and the reversible counters 12 modulo K of all units of counting units of group 9 are set to the zero state (the initial setting circuit is not shown). The source binary code enters the information inputs of group 4 of the device.
В многоканальном преобразователе 1 параллельного кода в последовательный начинаетс обработка исходного двоичного кода, с информационного выхода первого канала многоканального преобразовател 1 сигналы поступают на первый вход элемента ИЛИ 2, с выхода которого поступают на счетный вход счетчика 11 по модулю К. На счетчике 11 по модулю К происходит подсчет количества единиц в первом канале многоканального преобразовател 1 .In the multichannel converter of parallel code to serial, the processing of the source binary code begins; from the information output of the first channel of multichannel converter 1, signals arrive at the first input of the element OR 2, from the output of which goes to the counting input of counter 11 modulo K. the number of units in the first channel of multichannel converter 1 is counted.
Сигналы с информационных выходов других каналов многоканального преобразовател 1 поступают на суммирующие входы реверсивных счетчиков 12 по модулю К соответствующих блоковThe signals from the information outputs of other channels of the multichannel converter 1 are fed to the summing inputs of reversible counters 12 modulo K of the corresponding blocks
подсчета единиц по модулю К группы 9. Таким образом, по окончании работы многоканального преобразовател 1 (преобразование осуществл етс с помощью сигналов с выхода генератора 3 тактовых импульсов) на счетчике 11 по модулю К и на реверсивных счетчиках 12 по модулю К всех блоков под счета единиц по модулю К группы 9 counting units modulo K of group 9. Thus, after the end of operation of multichannel converter 1 (conversion is carried out using signals from the generator of 3 clock pulses) on counter 11 modulo K and on reversible counters 12 modulo K of all blocks for counting units modulo K group 9
содержитс код, равный количеству единиц в отдельных группах разр дов исходного двоичного кода по модулю К.contains a code equal to the number of units in separate groups of bits of the source binary code modulo K.
После того происходит последовательное обнуление содержимого реверсивных счетчиков 12 по модулю К всех блоков подсчета единиц по модулю К группы 9 к содержимому счетчика 11 по модулю к,, что осуществл етс сле0Thereafter, the contents of the reversible counters 12 modulo K of all units of units modulo K of group 9 to the contents of counter 11 modulo K, which is done later, are sequentially reset.
5five
0 0
дующим образом.blowing way.
Сигналом с выхода конца работы многоканального преобразовател 1 устанавливаетс в единичное состо ние триггер 7, сигнал с пр мого выхода 5 которого открывает элементы И группы 6 дл прохождени сигналов с выхода генератора 3 тактовых импульсов. Если на реверсивном счетчике 12 первого блока подсчета единиц по модулю К группы 9 код отличен от нул , то единичный сигнал с второго выхода этого блока разрешает прохождение тактовых импульсов через первый элемент И группы 6, в то врем как нулевой сигнал с первого выхода первого блока подсчета единиц по модулю К группы 9 закрывает все элементы И группы 6, начина с второго.The output signal of the end of operation of the multichannel converter 1 sets trigger 1 to one state, the signal from the direct output 5 of which opens AND elements of group 6 for passing signals from the output of the 3 clock pulse generator. If on the reversible counter 12 of the first unit counting unit modulo K of group 9, the code is different from zero, then a single signal from the second output of this block allows the passage of clock pulses through the first element of group 6, while the zero signal from the first output of the first counting unit units modulo K group 9 closes all elements AND group 6, starting with the second.
Сигналы с выхода первого элемента И группы 6 через элемент ИЛИ 2 поступают на счетный вход счетчика 11 по модулю К и одновременно на вычитающий вход первого блока подсчета единиц по модулю К группы 9. Когда 5 через первый элемент И группы 6 пройдет количество тактовых импульсов, равное коду, содержащемус на реверсивном счетчике 12 первого блока подсчета единиц по модулю К группы 9, то на этом реверсивном счетчике 12 устанавливаетс нулевой код. К этому моменту на счетчике 11 по модулю К будет находитьс код, равный сумме по модулю К первоначального содержимого счетчика 11 и содержимого реверсивного счетчика 12 первого блока подсчета единиц по модулю К группы 9.The signals from the output of the first element AND of group 6 through the element OR 2 are fed to the counting input of counter 11 modulo K and simultaneously to the subtracting input of the first unit of unit count modulo K of group 9. When 5 through the first element of group 6 passes the number of clock pulses equal to If the code containing on the reversible counter 12 of the first unit counting unit modulo K of group 9, then a zero code is set on this reversible counter 12. At this point on the counter 11 modulo K there will be a code equal to the sum modulo K of the initial contents of counter 11 and the contents of the reversible counter 12 of the first unit counting unit modulo K of group 9.
Затем нулевой сигнал с второго выхода первого блока подсчета единицThen the zero signal from the second output of the first unit of counting units
00
5five
по модулю к группы 9 закрывает первый элемент И группы 6, а единичный сигнал с первого вьпсода этого блока разрешает прохождение тактовых импульсов через остальные элементы И группы 6, Начинаетс прибавление к счетчику 11 по модулю К содержимого реверсивного счетчика I2 второго блока подсчета единиц по модулю К группы 9.modulo to group 9 closes the first element AND of group 6, and a single signal from the first off-line of this block permits the passage of clock pulses through the remaining elements of AND 6, the addition to counter 11 modulo the content of the reversible counter I2 of the second unit of counting K groups 9.
По окончании сложени содержимого счетчика II по модулю К с содержимым реверсивных счетчиков 12 всех блоков подсчета единиц по модулю К группы 9 на выходе элемента И 8 формиру- етс сигнал конца работы устройства. К этому времени на счетчике I1 содержитс код, равный количеству единиц двоичного кода по модулю К.Upon completion of the addition of the contents of counter II modulo K with the contents of the reversible counters 12 of all units of counting units modulo K of group 9, the output signal of the device 8 is generated at the output of element 8. By this time, the counter I1 contains a code equal to the number of units of binary code modulo K.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU833682843A SU1357960A1 (en) | 1983-12-30 | 1983-12-30 | Device for checking quantity of units of binary code by modulus k |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU833682843A SU1357960A1 (en) | 1983-12-30 | 1983-12-30 | Device for checking quantity of units of binary code by modulus k |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1357960A1 true SU1357960A1 (en) | 1987-12-07 |
Family
ID=21096788
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU833682843A SU1357960A1 (en) | 1983-12-30 | 1983-12-30 | Device for checking quantity of units of binary code by modulus k |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1357960A1 (en) |
-
1983
- 1983-12-30 SU SU833682843A patent/SU1357960A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 428385, кл. G 06 F, 11/10, 1972. Авторское свидетельство СССР № 922749, кл. G 06 F 11/00, 1980. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4027301A (en) | System for serially transmitting parallel digital data | |
US3949365A (en) | Information input device | |
SU1357960A1 (en) | Device for checking quantity of units of binary code by modulus k | |
ES292329A1 (en) | Character assembly and distribution apparatus | |
SU1288684A1 (en) | Device for control of data input | |
SU1259246A1 (en) | Device for ordering data | |
SU1256073A1 (en) | Information transmission device | |
SU1117677A1 (en) | Multichannel device for collecting information | |
SU981981A1 (en) | Device for input pickup data | |
SU1057926A1 (en) | Multichannel program-time unit | |
SU788110A1 (en) | Logic automatic device | |
SU959058A1 (en) | Data input device | |
SU1310834A1 (en) | Device for information output from electronic computer to communication line | |
SU1575186A1 (en) | Device for shaping residue by module from number | |
SU1241232A2 (en) | Device for counting number of zeroes in binary code | |
SU1128246A1 (en) | Interface | |
SU920628A1 (en) | Device for measuring time intervals | |
SU1361567A1 (en) | Device for introducing information from two-position transducers | |
RU2034401C1 (en) | Threshold element | |
SU1256196A1 (en) | Multichannel pulse counter | |
SU1474592A1 (en) | Device for processing signals of multi-channel programmer-timer | |
SU1300459A1 (en) | Device for sorting numbers | |
SU1281445A1 (en) | Device for multiplying quantity of photoelectronic pulses for laser recording instruments | |
SU1297031A1 (en) | Generator of balanced codes | |
SU1251088A1 (en) | Information input device |