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 PDF

Info

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
Application number
SU833682843A
Other languages
Russian (ru)
Inventor
Олег Николаевич Музыченко
Original Assignee
Войсковая часть 31303
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 Войсковая часть 31303 filed Critical Войсковая часть 31303
Priority to SU833682843A priority Critical patent/SU1357960A1/en
Application granted granted Critical
Publication of SU1357960A1 publication Critical patent/SU1357960A1/en

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)

1. Устройство дл  контрол  количества единиц двоичного кода по модулю К, содержащее счетчик по модулю К, 25 л етс  информационным выходом устэлемент И, элемент ИЛИ, группу элементов И, генератор тактовых импульсов , причем выход генератора тактовых импульсов соединен с первыми входами всех элементов И группы, о т л и - чающеес  тем, что, с целью повышени  быстродействи  устройства, в него введены многоканальный преобразователь параллельного кода в последовательный , группа блоков подсче- та единиц по модулю К и триггер, причем группа информационных входов многоканального преобразовател  параллельного кода в последовательный  вл етс  группой информационных входов устройства, информационный выход первого канала многоканального преобразовател  параллельного кода в последовательный соединен с первым входом элемента ИЛИ, выход конца работы многоканального преобразовател  параллельного кода в последовательный соединен с единичным входом триггера, пр мой выход которого и первые выхо O1. A device for controlling the number of units of binary code modulo K, containing a counter modulo K, 25 is the information output of the device element AND, the element OR, the group of elements AND, the clock generator, the output of the generator of clock pulses connected to the first inputs of all the elements AND groups, which, in order to increase the speed of the device, have introduced a multi-channel parallel code converter into a serial one, a group of units of units modulo K and a trigger, with the information group Parallel Code to Serial Multi-channel Converter is a group of information inputs of the device, the information output of the first channel of the multi-channel parallel code to serial converter is connected to the first input of the OR element, the output of the end of the operation of the multi-channel parallel code to serial converter is connected to a single trigger input, direct output whose first exit o 5 five 00 ды всех блоков подсчета единиц по модулю К соединены с соответствующими входами элемента И, выход которого  вл етс  выходом конца работы устройства , информационный выход каждого i-ro канала многоканального преобразовател  параллельного кода в последовательный (, где п - число каналов многоканального преобразовател  параллельного кода в последовательный ) соединен с суммирующим входом (i-l)-ro блока подсчета единиц по модулю К, пр мой выход триггера соединен с вторыми входами всех элементов И группы, второй выход каждого j-ro блока подсчета единиц по модулю К группы соединен с третьим входом j-ro элемента И группы (), выход которого соединен с вычитающим входом j-ro блока подсчета единиц по модулю К группы И (j+l)-M входом элемента ИЛИ, выход которого соединен со счетным входом счетчика по модулю К, информационный выход Которого  вройства , первый выход каждого т-го блока подсчета единиц по модулю К группы соединен с (т+3)-ми входами .каждого 1-го элемента И группы (, тй+ ), выход генератора тактовых импульсов соединен с тактовым входом многоканального преобразовател  параллельного кода в последовательный.The units of all units of module K are connected to the corresponding inputs of the element I, the output of which is the output of the device’s end of operation, the information output of each i-ro channel of the multichannel parallel code to serial converter (where n is the number of channels of the multichannel parallel code converter to serial ) connected to the summing input (il) -ro of the unit counting unit modulo K, the direct trigger output is connected to the second inputs of all AND elements of the group, the second output of each j-ro counting unit units modulo K group is connected to the third input of the j-ro element AND group (), the output of which is connected to the subtractive input j-ro of the unit of calculation of units modulo K group AND (j + l) -M input of the OR element, the output of which is connected to the counting input of the modulo K counter, the information output of Which device, the first output of each tth unit counting unit modulo K group is connected to the (t + 3) -th inputs of each 1st element And group (, tj +), output clock generator connected to the clock input of the multichannel parallel code converter in sequential. 2. Устройство по П.1, отличающеес  тем, что блок подсчета единиц по модулю К группы содержит реверсивный счетчик по модулю К, элемент ИЛИ и элемент НЕ, причем суммирующий и вычитающий входы реверсивного счетчика по модулю К  вл ютс  соответственно суммирующим и вычи- та.ощим входами блока, выходы разр дов реверсивного счетчика по модулю К соединены с входами элемента ИЛИ, выход которого соединен с входом элемента НЕ, выход которого  вл етс  - лервым выходом блока, выход элемента ИЛИ  вл етс  вторым выходом блока.2. The device according to claim 1, characterized in that the unit of counting units modulo K group contains a reversible counter modulo K, the element OR and the element NOT, and the summing and subtracting inputs of the reversible counter modulo K are respectively summing and subtracted By the block inputs, the outputs of the bits of the reversible counter modulo K are connected to the inputs of the OR element, the output of which is connected to the input of the element NOT, the output of which is the first output of the block, the output of the OR element is the second output of the block. Редактор И.ШуллаEditor I. Shulla Фиг. гFIG. g Составитель В.ГречневCompiled by V.Grechnev Техред Л.Сердюкова Корректор Л.ПилипенкоTehred L. Serdyukova Proofreader L. Pilipenko Заказ 6000/50 Тираж 671ПодписноеOrder 6000/50 Circulation 671 Subscription ВНИИПИ Государственного комитета СССРVNIIPI USSR State Committee по делам изобретений и открытий 113035, Москва, Ж-35, Раушска  наб,, д. 4/5for inventions and discoveries 113035, Moscow, Zh-35, Raushsk nab, 4/5 Производственно-полиграфическое предпри тие, г. Ужгород, ул. Проектна , 4Production and printing company, Uzhgorod, st. Project, 4
SU833682843A 1983-12-30 1983-12-30 Device for checking quantity of units of binary code by modulus k SU1357960A1 (en)

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)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
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
SU1357960A1 (en) Device for checking quantity of units of binary code by modulus k
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
SU940163A1 (en) Logic unit testing device
SU959058A1 (en) Data input device
SU1339900A1 (en) Device for checking uniformly weighted code
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
SU1001449A1 (en) Multichannel code-to-time internal converter
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