SU1580564A1 - Device for detecting errors in equal-weight code - Google Patents
Device for detecting errors in equal-weight code Download PDFInfo
- Publication number
- SU1580564A1 SU1580564A1 SU874340956A SU4340956A SU1580564A1 SU 1580564 A1 SU1580564 A1 SU 1580564A1 SU 874340956 A SU874340956 A SU 874340956A SU 4340956 A SU4340956 A SU 4340956A SU 1580564 A1 SU1580564 A1 SU 1580564A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- inputs
- output
- elements
- group
- outputs
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Abstract
Изобретение относитс к автоматике и вычислительной технике. Его использование в системах обработки цифровой информации позвол ет повысить быстродействие. Устройство содержит генератор 1 тактовых импульсов, многоканальный преоразователь 2 параллельного кода в последовательности импульсов, триггер 3, блок 4 подсчета импульсов, элементы ИЛИ 5, 11, реверсивные накопители 6, группу элементов И 7 и элементы И 9, 10. Поставленна цель достигаетс благодар введению группы элементов ИЛИ 8 и группы элементов И 12. 1 ил.This invention relates to automation and computing. Its use in digital information processing systems allows for improved performance. The device contains a clock pulse generator 1, a multichannel pre-processor 2 parallel code in a pulse sequence, trigger 3, pulse counting unit 4, elements OR 5, 11, reversible drives 6, group of elements AND 7 and elements AND 9, 10. The goal is achieved by introducing groups of elements OR 8 and groups of elements And 12. 1 Il.
Description
Изобретение относится к автоматике и вычислительной технике и может быть использовано в системах обработки цифровой информации.The invention relates to automation and computer technology and can be used in digital information processing systems.
Цель изобретения - повышение быстродействия .The purpose of the invention is improving performance.
На чертеже приведена функциональная схема предлагаемого устройства.The drawing shows a functional diagram of the proposed device.
Устройство содержит генератор 1 тактовых импульсов, многоканальный преобразователь 2 параллельного кода в последовательности импульсов, триггер 3, блок 4 подсчета импульсов, первый элемент ИЛИ 5, реверсивные накопители 6, первую группу элементов И 7, группуэлементов ИЛИ 8, первый 9 и второй 10 элементы И, второй !элемент ИЛИ 11 и вторую группу элементов И 12. Устройство содержит также информационные 13 и установочные 14 входы, информационный выход 15 и выход 16 окончания работы.The device comprises a clock pulse generator 1, a multi-channel converter 2 of a parallel code in a pulse sequence, a trigger 3, a pulse counting unit 4, a first element OR 5, reversible drives 6, a first group of elements AND 7, a group of elements OR 8, the first 9 and second 10 elements AND , the second! OR element 11 and the second group of AND elements 12. The device also contains information 13 and installation 14 inputs, information output 15 and output 16 of the end of work.
Устройство предназначено для работы с η-разрядным кодом с постоянным числом К единиц.The device is designed to work with η-bit code with a constant number of K units.
Многоканальный преобразователь 2 может быть выполнен на распределителе импульсов, выходы которого соединены с первыми входами 2р групп зле' ментов И (2р - число.каналов преобразователя 2), вторые входы элементов И каждой группы являются информационными входами 13 соответствующего канала преобразователя 2, а выходы соединены с входами элемента ИЛИ, выход которого является выходом соответствующего канала преобразователя 2, тактовый вход распределителя импульсов является тактовым входом преобразователя 2, а выход его последнего разряда - выходом окончания работы преобразователя 2.Multichannel converter 2 can be performed on a pulse distributor, the outputs of which are connected to the first inputs of 2p groups of elements And (2p is the number of channels of converter 2), the second inputs of elements And of each group are information inputs 13 of the corresponding channel of converter 2, and the outputs are connected with the inputs of the OR element, the output of which is the output of the corresponding channel of the converter 2, the clock input of the pulse distributor is the clock input of the converter 2, and the output of its last discharge is the output converter end home 2.
Многоканальный преобразователь 2 может быть также выполнен в виде 2р регистров сдвига, соединенных информационными входами с соответствующими информационными входами 13 преобразователя 2, тактовыми входами - с его тактовым входом, а выходами переноса с соответствующими информационными выходами преобразователя 2, инверсные выходы каждого регистра сдвига соединены с входами своего элемента И, а выходы последних - с входами элемента И, выход которого является выходом окончания работы преобразователя 2.The multi-channel converter 2 can also be made in the form of 2p shift registers connected by information inputs with the corresponding information inputs 13 of the converter 2, clock inputs with its clock input, and transfer outputs with the corresponding information outputs of the converter 2, the inverse outputs of each shift register are connected to the inputs its element And, and the outputs of the latter - with the inputs of the element And, the output of which is the output of the end of the Converter 2.
Триггер 3 выполняется в виде RSтриггера, если многоканальный преоб10 разователь 2 выполнен на регистрах сдвига, либо на распределителе импульсов, сигнал на выходе окончания рабо5 ты которого синхронизован с паузой между тактовыми импульсами, или в виде счетного триггера, если преобразователь 2 выполнен на распределителе импульсов, сигнал на выходе окончания работы которого синхронизован с тактовым импульсом.Trigger 3 is executed in the form of an RS trigger, if the multichannel converter 2 is executed on shift registers, or on a pulse distributor, the signal at the output of the end of operation of which is synchronized with a pause between clock pulses, or in the form of a counting trigger, if converter 2 is executed on a pulse distributor, a signal at the output of the end of which is synchronized with a clock pulse.
Реверсивный накопитель 6 может быть выполнен в виде реверсивного счетчика с двумя счетными входами на разрядов, соединенного прямыми выходами с входами элемента ИЛИ, прямой выход которого является первым, а инверсный выход - вторым выходами накопителя 6, суммирующий и вычитающий счетные входы счетчика являются соответственно первым и вторым счетными входами реверсивного накопителя 6.The reversible drive 6 can be made in the form of a reversible counter with two counting inputs to the bits, connected by direct outputs to the inputs of the OR element, the direct output of which is the first, and the inverse output is the second outputs of the drive 6, summing and subtracting the counting inputs of the counter are respectively the first and the second counting inputs of the reversing drive 6.
В исходном состоянии в счетчик реверсивного накопителя 6,i с входов 14.i записывается код числа п^^/ входов (p+i)-ro канала многоканального преобразователя 2.In the initial state, the code of the reverse drive 6, i from the inputs 14.i is written the code of the number n ^ ^ / inputs (p + i) -ro of the channel of the multi-channel converter 2.
Блок 4 подсчета импульсов может быть выполнен в виде реверсивного счетчика на b-]logz(K?+2)L, К' = = max(K,J^£) разрядов, суммирующий и вычитающий счетные входы которого являются соответственно первым и вторым счетными входами блока 4. Прямой выход старшего разряда счетчика является выходом переполнения блока 4, а его выходы соединены с входами элемента И, выход которого является информационным выходом счетного блока 4, причем элемент И соединен входами с прямыми выходами разрядов счетчика с номерами, равными номерам единичных разрядов в двоичном представлении числа q+K, и инверсными вы- . ходами остальных его разрядов, где ς=2θ“( -К-10. В исходном состоянии в счетчик блока 4 с входов 14.р записывается код числа n^p+q.Block 4 counting pulses can be made in the form of a reversible counter on b-] log z (K ? +2) L, K '= max (K, J ^ £) digits, summing and subtracting the counting inputs of which are respectively the first and second the counting inputs of block 4. The direct output of the high-order bit of the counter is the overflow output of block 4, and its outputs are connected to the inputs of the element And, the output of which is the information output of the counting block 4, and the element And is connected by inputs to the direct outputs of the bits of the counter with numbers equal to the numbers of units bits in binary the presentation of q + K, and the inverse of by the moves of the rest of its digits, where ς = 2θ “ ( -K-10. In the initial state, the code of the number n ^ p + q is written to the counter of block 4 from inputs 14.p.
Кроме того, реверсивный счетчик может в исходном состоянии устанавливаться с входов 14.р в состояние, при котором в него записан код числа п-2р, т.е. q=0, однако при этом выходом переполнения блока 4 является выход порогового элемента с весами входов 24 и порогом К+1, соединяемо5 го входами с прямыми выходами реверсивного счетчика.In addition, the reversible counter can be installed in the initial state from the inputs 14.p to the state in which the code of the number p-2p is written into it, i.e. q = 0, however, the overflow output of block 4 is the output of the threshold element with the weights of the inputs 2 4 and the threshold K + 1 connected by the 5th inputs with the direct outputs of the reversible counter.
Элементы И 12 могут устанавливаться непосредственно на выходах каналов преобразователя 2.Elements And 12 can be installed directly on the outputs of the channels of the Converter 2.
Устройство функционирует следующим образом.The device operates as follows.
В исходном состоянии многоканальный преобразователь 2, триггер 3, накопители 6 и блок 4 сброшены. На информационные входы 13 подан контролируемый код, причем на входы каналов от первого до р-го он подан в прямом виде, а на входы каналов от (р+1)-го до (2р)-го - в инверсном либо в прямом, но инвертируется установкой инверторов на соответствующих входах многоканального преобразователя 2 либо выполнением соответствующих входов преобразователя 2 инверсными.In the initial state, the multi-channel converter 2, trigger 3, drives 6 and block 4 are reset. A controlled code is supplied to the information inputs 13, and it is sent in direct form to the inputs of the channels from the first to the r-th, and to the inputs of the channels from the (p + 1) th to the (2 p) -th in inverse or in direct, but is inverted by installing inverters on the corresponding inputs of the multi-channel converter 2 or by performing the corresponding inputs of the converter 2 inverted.
При поступлении тактовых импульсов на тактовый вход многоканального преобразователя 2 с выхода генератора 1 тактовых импульсов преобразователь 2 преобразует количество единичных сигналов на информационных входах каналов от первого до р-го и количество нулевых сигналов на информационных входах каналов от (р+1)-го до (2р)-го в количество импульсов на выходах соответствующих каналов. Импульсы с выхода (2р)-го канала многоканального преобразователя 2 поступают на вычитающий счетный вход блока 4, ас выхода р-го канала - через элемент ИЛИ 5 на суммирующий вход блока 4. Если.импульс поступает только на суммирующий или только на вычитающий входы блока 4, то к его содержимому прибавляется или от его содержимого вычитается соответственно единица.. Импульсы с выхода i-ro канала многоканального’ преобразователя 2 поступают на суммирующий вход реверсивного накопителя 6.1, ас выхода (p+i)-ro канала - на вычитающий счетный вход реверсивного накопителя 6.i через элемент ИЛИ 8.i. Если импульс поступает только на суммирующий вход реверсивного накопителя 6, то к его содержимому прибавляется единица, а если только на вычитающий счетный вход, то от его содержимого вычитается единица. Если импульсы поступают одновременно.с i-ro и (p+i)-ro или р-го и (2р)-го каналов преобразователя 2, то состояние реверсивного на копителя 6.i или счетного блока 4 не изменяется благодаря элементам И 12.When clock pulses arrive at the clock input of the multi-channel converter 2 from the output of the clock generator 1, converter 2 converts the number of unit signals at the channel information inputs from the first to the rth and the number of zero signals at the channel information inputs from the (p + 1) th to ( 2p) th in the number of pulses at the outputs of the corresponding channels. The pulses from the output of the (2p) channel of the multichannel converter 2 are fed to the subtracting counting input of block 4, and the pulses of the output of the rth channel are transmitted through the OR 5 element to the summing input of block 4. If the pulse arrives only to the summing or subtracting inputs of the block 4, then one is added to its contents, or one is subtracted from its contents, respectively. Pulses from the output of the i-ro channel of the multi-channel 'converter 2 are fed to the summing input of the reversing drive 6.1, and the output of the (p + i) -ro channel to the subtracting counting input reverse 6.i drive through the element OR 8.i. If the pulse is supplied only to the summing input of the reversing drive 6, then one is added to its contents, and if only to the subtracting counting input, one is subtracted from its contents. If pulses arrive simultaneously from the i-ro and (p + i) -ro or p-th and (2p) -th channels of the converter 2, then the state of the reverse to the accumulator 6.i or the counting unit 4 does not change due to the And elements 12.
Работа продсля-'ается таким образом с до окончания преобразования входного кода многоканальным преобразователем 2. По окончания преобразования он самоблокируется и далее импульсов па выходах своих каналов не формирует.The work is continued in this way from before the end of the conversion of the input code by the multi-channel converter 2. Upon completion of the conversion, it is self-blocking and then does not generate pulses at the outputs of its channels.
При этом сигналом со своего выхода окончания работы преобразователя 2 переключает триггер 3, на выходе которого появляется единичный сигнал.' Далее происходит процесс последова15 тельного пересчета содержимо ιό реверсивных накопителей 6 в блок 4, ПустьIn this case, the signal from its output of the end of operation of the converter 2 switches the trigger 3, the output of which appears a single signal. ' Next, the process of sequentially recalculating the contents ιό of reverse drives 6 to block 4 takes place. Let
6.1 - наименьший номер реверсивного накопителя, в который записан ненулевой код, причем к моменту оконча- ния работы преобразователя 2 в каждый реверсивный накопитель 6.1 записан код числа единичных сигналов на паре групп информационных входов 13.1 и 13.(p+i). При этом единичным сигиа25 лом С первого выхода реверсивного накопителя 6.1 и единичными сигналами с вторых выходов реверсивных накопителей 6.1 - 6.(i-1) разрешается прохождение тактовых импульсов через 30 элемент И 7.i и элемент ИЖ 5 на суммирующий вход счетного блока 4 и через элемент И 7.i и элемент ИЛИ 8.1на вычитающий йход реверсивного накопителя 6.is при этом каждый раз к со35 держимому блока 4 прибавляется, а от содержимого реверсивного накопителя6.1 - the smallest number of the reversing drive into which a nonzero code is recorded, and by the time the converter 2 is finished, each reverse drive 6.1 has a code for the number of individual signals on a pair of groups of information inputs 13.1 and 13. (p + i). In this case, a single signal C from the first output of the reversing drive 6.1 and single signals from the second outputs of the reversing drives 6.1 - 6. (i-1) allowed the passage of clock pulses through 30 element And 7.i and element IZH 5 to the summing input of the counting unit 4 and through element AND 7.i and element OR 8.1, the subtracting yield of the reversible drive 6.i s is added each time to the contents of block 4, and from the contents of the reversible drive
6.1 вычитается единица. Работа продолжается таким образом до обнуления реверсивного накопителя 6.1, при этом 40 на его первом выходе появляется нулевой сигнал, запрещающий дальнейшее прохождение тактовых импульсов через элемент И 7.1, а на втором выходе единичный, разрешающий их прохожде- ние через элементы И 7.(1+1) -7. (р-1). И далее аналогично осуществляются обнуление реверсивных накопителей 6.(i+1) - 6.(р-1) и пересчет их содержимого в счетчик блока 4.6.1 unit is deducted. The work continues in this way until the reversible drive 6.1 is reset to zero, with a zero signal appearing at its first output 40, prohibiting the further passage of clock pulses through the AND 7.1 element, and at the second output, a single one, allowing them to pass through the AND 7. (1+ 1) -7. (p-1). And then, in the same way, the reversible drives 6. (i + 1) - 6. (p-1) are reset and their contents are converted to the block counter 4.
,,
Если то работа устройст1=1 ва продолжается до обнуления всех реверсивных накопителей 6, при этом на их вторых выходах появляются единичные сигналы, поступающие на входы элемента И 9 и вызывающие па выходе 16 окончания работы устройства единичный сигнал, свидетельствующий об окончании цикла работы. РезультатIf the operation of device1 = 1 va continues until all reversible drives 6 are reset to zero, at the same time, on their second outputs, single signals appear at the inputs of the And 9 element and cause a single signal at output 16 of the end of the device, indicating the end of the operation cycle. Result
Ί η снимается с выхода 15: если Х(=К, то на выходе 15 единичный сигнал, βοή η ли 2[X;«tK, то нулевой. Если X; ? t «Ί 1 — 1Ί η is removed from output 15: if X ( = K, then output 15 is a single signal, βοή η is 2 [X; “tK, then zero. If X;? T“ Ί 1 - 1
Ж, то работа устройства продолжается до накопления в блоке 4 (К+1) импульса, при этом на его выходе переполнения появляется единичный сигнал, поступающий через элемент И 10 на вход элемента ИЛИ 11 и вызывающий единичный сигнал на выходе 16 окончания работы устройства. С выхода 15 снимается нулевой сигнал.G, then the operation of the device continues until an impulse is accumulated in block 4 (K + 1), and a single signal appears at its overflow output, which passes through the And 10 element to the input of the OR element 11 and causes a single signal at the output 16 of the end of the device. Output 15 is a zero signal.
Таким образом, предлагаемое уст; ройство обеспечивает более высокое ; быстродействие, чем известное.Thus, the proposed mouth; swarm provides higher; performance than known.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874340956A SU1580564A1 (en) | 1987-12-08 | 1987-12-08 | Device for detecting errors in equal-weight code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874340956A SU1580564A1 (en) | 1987-12-08 | 1987-12-08 | Device for detecting errors in equal-weight code |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1580564A1 true SU1580564A1 (en) | 1990-07-23 |
Family
ID=21341277
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU874340956A SU1580564A1 (en) | 1987-12-08 | 1987-12-08 | Device for detecting errors in equal-weight code |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1580564A1 (en) |
-
1987
- 1987-12-08 SU SU874340956A patent/SU1580564A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1149260, кл. G 06 F 11/00, 1982. Авторское свидетельство СССР № 1325480, кл. G 06 F 11/00, 1986. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1580564A1 (en) | Device for detecting errors in equal-weight code | |
SU1580563A1 (en) | Device for checking equal-weight code | |
SU1741270A1 (en) | Converter of code of a number system to that of another one | |
SU1282160A1 (en) | Multichannel device for calculating values of structural function | |
SU1728975A1 (en) | Channel selector | |
SU1383330A1 (en) | Data input device | |
SU1741269A1 (en) | Converter of code of a number system to that of another one | |
SU1057891A2 (en) | Device for measuring power of losses in thyristor switching | |
SU905813A1 (en) | Decoder | |
SU1401461A1 (en) | Device for checking unit number in binary code by modulo k | |
SU1374430A1 (en) | Frequency-to-code converter | |
SU1411972A1 (en) | Method and device for multichannel a-d conversion of pulses | |
SU1151946A1 (en) | Information input device | |
SU1522412A1 (en) | Converter of series character-digit code into parallel code of addition | |
SU1387185A2 (en) | Threshold element | |
SU1302437A1 (en) | Device for converting parallel code to serial code | |
SU1591010A1 (en) | Digital integrator | |
SU1427574A1 (en) | Modulo k device for counting units of binary code | |
SU1242831A1 (en) | Digital accelerometer | |
SU613501A1 (en) | Code-to-time interval multichannel converter | |
SU1283976A1 (en) | Number-to-pulse repetition period converter | |
SU1644390A1 (en) | Parallel-to-serial converter | |
SU1280621A1 (en) | Random process generator | |
SU552613A1 (en) | Multichannel correlator | |
SU864546A1 (en) | Adaptive register |