SU1543406A2 - Device for single-side shifts of binary codes with check - Google Patents
Device for single-side shifts of binary codes with check Download PDFInfo
- Publication number
- SU1543406A2 SU1543406A2 SU864161234A SU4161234A SU1543406A2 SU 1543406 A2 SU1543406 A2 SU 1543406A2 SU 864161234 A SU864161234 A SU 864161234A SU 4161234 A SU4161234 A SU 4161234A SU 1543406 A2 SU1543406 A2 SU 1543406A2
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- node
- bits
- input
- output
- shift
- Prior art date
Links
Landscapes
- Error Detection And Correction (AREA)
Abstract
Изобретение относитс к вычислительной технике и может быть использовано в процессорах быстродействующих ЦВМ. Цель изобретени - повышение достоверности контрол . Устройство содержит узлы 1, 2 сдвига информации, узел 3 сдвига контрольных разр дов, узел 4 сдвига группы битов, первый и второй узлы 5, 6 свертки по модулю два, первый узел 7 сравнени , первый коммутатор 8, первый информационный вход 9 устройства, группу 10 узлов свертки по модулю два, информационный выход 11 устройства, группу 12 выходов контрольных разр дов устройства, третий узел 13 свертки по модулю два, второй узел 14 сравнени , элемент ИЛИ 15, выход 16 неисправности устройства, вход 17 задани величины сдвига групп устройства, вход 18 задани величины сдвига битов устройства, второй информационный вход 19 устройства, входы 20, 21 контрольных разр дов устройства, второй коммутатор 22, третий узел 23 сравнени , четвертый узел 22 свертки по модулю два. В устройстве обеспечиваетс непрерывный контроль по модулю два. Поставленна цель достигаетс введением четвертого узла свертки по модулю два, третьего узла сравнени и второго коммутатора, обеспечивающих контроль крайней против направлени сдвига группы вдвигаемых бит. 1 ил.The invention relates to computing and can be used in high-speed digital computer processors. The purpose of the invention is to increase the reliability of the control. The device contains nodes 1, 2 shift information, node 3 shift check bits, node 4 shift group of bits, the first and second nodes 5, 6 modulo two convolution, first node 7 comparison, first switch 8, first information input 9 of the device, group 10 modulo two nodes, device information output 11, device control output group 12, device 3 third convolution node 13, second comparison node 14, element OR 15, device failure output 16, device group offset value input 17, input 18 set the value shifting the device bits, the second information input 19 of the device, the inputs 20, 21 of the control bits of the device, the second switch 22, the third comparison node 23, the fourth convolution node 22 modulo two. The device provides continuous control modulo two. The goal is achieved by introducing a modulo-two fourth convolution node, a third comparison node and a second switch, providing control of the extreme opposite of the shift direction of the group of bits being moved in. 1 il.
Description
Изобретение относится к вычислительной технике, может быть использовано в процессорах быстродействующих ИВМ и является дополнительным к > $ авт, св. № 1446617.The invention relates to computing, can be used in processors of high-speed computing systems and is additional to> $ auth, sv. No. 1446617.
Целью изобретения является повышение достоверности контроля.The aim of the invention is to increase the reliability of control.
На чертеже изображена функциональная схема устройства. 10The drawing shows a functional diagram of the device. 10
Устройство содержит узлы 1 и 2 сдвига информации, узел 3 сдвига контрольных разрядов, узел 4 сдвига группы битов, первый 5 и второй 6 узлы свертки по мрдулю два, первый узел 7 15 сравнения, первый коммутатор 8, первый информационный вход 9 устройства, группу 10 узлов свертки по модулю два, информационный выход 1J устройства, группу 12 выходов контрольных 20 разрядов устройства, третий узел 13 свертки по модулю два, второй узел > 14 сравнения, элемент ИЛИ 15, выход 16 неисправности устройства, вход 17 задания величины сдвига групп устрой- 25 ства, вход 18 задания величины сдвига битов устройства, второй информационный вход 19 устройства, входы 20 и 21 контрольных разрядов устройства, второй коммутатор 22, третий узел 23 зо сравнения, четвертый узел 24 свертки по модулю два.The device contains information shift nodes 1 and 2, control bit shift node 3, bit group shift node 4, first 5 and second 6 convolution nodes in the middle two, the first comparison node 7 15, the first switch 8, the first information input 9 of the device, group 10 convolution nodes modulo two, information output 1J of the device, a group of 12 outputs of the control 20 bits of the device, the third node 13 convolution modulo two, the second node> 14 comparison, element OR 15, output 16 of the device malfunction, input 17 sets the magnitude of the shift groups of devices 25st, entrance 18 quests in the values of the shift bits of the device, the second information input 19 of the device, inputs 20 and 21 of the control bits of the device, the second switch 22, the third node 23 of the comparison, the fourth node 24 convolution modulo two.
Первый узел 1 сдвига информации обеспечивает сдвиг двоичного N-разрядного кода, поступающего на первый 35 информационный вход 9 устройства в одну сторону (например, вправо) на Количество бит,кратное величине К, где К 5: 2, а через второй информационный вход 19 устройства осуществляется до вдвигание в освободившееся разряды (слева) соответствующее количество групп битов по К битов в каждой, группе .The first node 1 shift information provides a shift of the binary N-bit code received at the first 35 information input 9 of the device in one direction (for example, to the right) by the Number of bits that is a multiple of K, where K 5: 2, and through the second information input 19 of the device the corresponding number of groups of bits of K bits in each group is carried out before moving into the released bits (left).
Количество групп битов по К битов 45 в каждой группе задается путем установки на входе 17 устройства соответствующего кода, значение (М) которого может быть равным 0, 1, 2, ..., , где [xj означает ближайшее це- 50 лое число, меньшее X.The number of groups of bits of K bits 45 in each group is set by setting the corresponding code at the device input 17, the value (M) of which can be 0, 1, 2, ..., where [xj means the nearest integer, smaller X.
При этом в узле 1 осуществляется сдвиг кодов вправо (с описанным: вдвиганием) на количество соответственно ςΐξ Moreover, in node 1, the codes are shifted to the right (with the described: pushing) by the number, respectively, ςΐξ
0, 4, 2К0, 4, 2K
В узле 2 осуществляется сдвиг (вправо) кода, установленного на выIn node 2, a shift (to the right) of the code set to
ходе узла 1, с вдвиганием в освобождаемые разряды (слева) битов кода, установленного на выходе коммутатора 8, на количество битов, равное ш, где m = 0, 1, 2,..., (К-1). При этом сдвинутый и вдвинутый коды передаются на информационный выход 11 устройства . Код величины сдвига в пределах 0£га Sr(K-l) устанавливается на входе 18 устройства.the course of node 1, with the bits of the code installed at the output of the switch 8 inserted into the released bits (left) by the number of bits equal to w, where m = 0, 1, 2, ..., (K-1). In this case, the shifted and shifted codes are transmitted to the information output 11 of the device. The code of the amount of shift within 0 £ ha Sr (K-l) is set at the input 18 of the device.
Разрядность выхода 11 устройства равна N, а выходов вдвигаемого числа узлов 2 и 4 - (К-1), т.е. не используется последний относительно направ ления сдвига разряд выхода коммутатора 8, количество разрядов которого равно К.The resolution of the output 11 of the device is N, and the outputs of the retractable number of nodes 2 and 4 are (K-1), i.e. the last bit of the output of the switch 8, with respect to the direction of the shift, is used, the number of bits of which is K.
Узел 3 функционирует так же, как и узел 2, с тем отличием, что разрядность его входа 20 и выхода равна (+ О. Разрядность входа вдвигаемого числа, узла равна НН (без последнего со стороны направления сдвига разряда входа 2J, разрядность которого равна + J).Node 3 functions in the same way as node 2, with the difference that the width of its input 20 and output is ( + O. The bit depth of the input of the retractable number of the node is LV (without the last from the direction of the shift direction of the discharge of input 2J, the width of which is + J).
Узел 4 функционирует так же, как и узел 2, с тем отличием, что разряд ность его входов и вдвигаемого чисел равна соответственно К и К-1.Node 4 functions in the same way as node 2, with the difference that the capacity of its inputs and the retractable numbers is K and K-1, respectively.
Коммутатор 8 предназначен для передачи на выход сигналов битов первой относительно направления сдвига не вдвинутой группы битов кода с входа 19.The switch 8 is designed to transmit the output of the first bit signals relative to the direction of the shift of the not moved group of code bits from input 19.
Коммутатор 22 предназначен для передачи на выход сигнала четности (с входа 21) группы бит (кода, установленного на входе 19), сигналы которой передаются на выход, коммутатора 8.The switch 22 is designed to transmit to the output of the parity signal (from input 21) a group of bits (code installed at input 19), the signals of which are transmitted to the output of switch 8.
Например, если пронумеровать группы бит кодов на входах 19 и 9 устройства (и, следовательно, группы разрядов входов 19 и 9) в соответствии с направлением сдвига (например, вправо) цифрами 0, 1, 2,..., то при задании на входе 18 кода со значением, равным 3, группы.бит кода на входе 19 с номерами 0, 1, 2, будут вдвинуты в сдвинутый код на выходе узла 1 вдвига, а сигналы группы бит с номером 3 с помощью коммутатора 8 будут переданы на его выход.For example, if you number the groups of bit codes on the inputs 19 and 9 of the device (and, therefore, the groups of bits of the inputs 19 and 9) in accordance with the direction of the shift (for example, to the right) with the numbers 0, 1, 2, ..., then when setting to input 18 of the code with a value equal to 3 of the group. bits of code at input 19 with numbers 0, 1, 2 will be shifted into the shifted code at the output of node 1 of the shift, and the signals of the group of bits with number 3 using switch 8 will be transmitted to it exit.
Устройство работает следующим образом.The device operates as follows.
В исходном состоянии на входе 9 устройства устанавливается N-разрядный сдвигаемый код, на входе 19 устройства устанавливается сдвигаемый код. На входе 20 устройства устанав,Г N Ί , . ливается ( (j-g- ' + 1)-разрядный код контрольных сигналов, значение которых в каждом i-м разряде соответствует сумме по модулю два сигналов в соответствующей i-й группе.разрядов кода на входе 9, где i = 0, 1, ..., Н-1На входе 21 устройства устанавливается код контрольных сигналов, значение которых в каждом разряде, как и для входа 20 устройства·, соответствует сумме по модулю два сигналов в 20 соответствующей группе разрядов кода на входе 19 устройства. На входе 17 устройства устанавливается код вели чины сдвига на количество разрядов, кратное К, т.е. на количество группIn the initial state, an N-bit shift code is set at the input 9 of the device, a shift code is set at the input 19 of the device. At the input 20 of the device is tired, G N Ί,. a ((jg- '+ 1) -bit code of control signals is generated, the value of which in each ith digit corresponds to the sum modulo two signals in the corresponding ith group. bits of the code at input 9, where i = 0, 1,. .., N-1 At the input 21 of the device, a code of control signals is set, the value of which in each category, as for input 20 of the device ·, corresponds to the sum modulo two signals in 20 of the corresponding group of bits of the code at the input 19 of the device. code of shift values by the number of digits, a multiple of K, i.e. groups GUSTs
Г N Ί разрядов И, где 0<М< -g-j . На входе 18 устройства устанавливается код величины битных сдвигов в пределах 0 < К-1 .N N Ί bits And, where 0 <M <-g-j. At the input 18 of the device sets the code value of the bit shifts in the range 0 <K-1.
Код, установленный на входе 9 устройства, например, разный 1111011100110001 (при N = 16), сдвигается в узле J, например, вправо на М, К = 2; 4=8 бит ' при М = 2, К = = 4у, ас входа 19 устройства в освобождаемые разряды вдвигается соответ ствующая часть кода, равного, например, 111011100410001. В результате на выходе узла 1 сдвига информации сфор- 4θ мируется код 0011000111110111. Код контрольных разрядов, установленный на входе 20 устройства и равный 0101, сдвинется вправо в узле 3 на И = 2 ’ бита, а код, установленный на входе 4д J21 устройства и равный 101 , вдвигается в узле 3 в освобождаемые разряды слева ‘ на два разряда правой частью кода. В результате на выходе узла 3 сдвига сформируется код 0101. При qq ртом на крайнем правом разряде выхода узла 3 сдвига установится логическая единица, а на выходах остальных разрядов - код 010. Из групп разрядов 0001 , ООП, 0111, 111 входа 19 уст- gg ройства при отсчете от направления сдвига (т.е. против направления сдвига) на выход коммутатора 8 передаются сигналы 0111 группы сигналов 0100, а на входы вдвигаемых чисел узлов 2 и 3 передаются сигналы 111 группы сигналов 0111, переданной на выход 24.The code installed at input 9 of the device, for example, different 1111011100110001 (with N = 16), is shifted in node J, for example, to the right by M, K = 2; 4 = 8 bit 'for M = 2, K = 4y, ac input device 19 is pushed into the vacated bits The corresponding part of the code equal to, for example, 111011100410001. The result at the output node 1 information sfor- 4 shift θ miruetsya code 0011000111110111. The code of control bits set at the input 20 of the device and equal to 0101 is shifted to the right in node 3 by И = 2 'bits, and the code installed at the input 4 d J 21 of the device and equal to 101 is inserted in the node 3 into the released bits on the left' by two digits on the right side of the code. As a result, the code 0101 will be generated at the output of the shift node 3. With qq, the logical unit will be set to the rightmost bit of the output of the shift node 3, and the code 010 will be set at the outputs of the remaining bits. Of the groups of bits 0001, OOP, 0111, 111 of the input 19, gg When counting from the direction of shift (i.e., against the direction of shift), signals 0111 of signal group 0100 are transmitted to the output of switch 8, and signals 111 of signal group 0111, transmitted to output 24, are transmitted to the inputs of the retractable numbers of nodes 2 and 3.
В узле 2 осуществляется сдвиг вправо кода, установленного на его входе, сдвигаемого числа и равного 0С11000111110111 на количество бит, равное, например, трем (то = 3). При этом в освобождаемые разряды в узле 2 осуществляется сдвигание трех правых бита кода.In node 2, a shift to the right of the code installed at its input, a shifted number, and equal to 0С11000111110111, by the number of bits equal to, for example, three (that = 3), is carried out. At the same time, the three right bits of the code are shifted to the released bits in node 2.
В результате на выходе 11 уст-’ ройства устанавливается код 1110011000111110. На входе сдвигаемого числа узла 4 установится код 0111. На выходе узла 4 сдвига сформируется код (в результате сдвига кода вправо, равного 0111, на ш = 3 бит и вдвигание с выхода коммутатора 8 кода 111), равный 1110. В узле 6 формируется сигнал суммы по модулю два сигналов разрядов кодов с выходов узлов 4 и 3, равных соответственно 1110 и 010. На выходе узла 6 сформируется логический нуль. На выходе узла 5 формируется сигнал суммы по модулю два сигналов разрядов кода, сформированного на выходе 11 устройства, равный в рассматриваемом случае логическому нулю. Первый узел 7 осуществляет сравнение с выходов узлов 5 и 6 свертки по модулю два с формированием логического нуля на выходе, означающего, что ошибки в узлах 1 и 2 не произошло (.т.е. узлы 1 и 2 исправны^. При неравенстве сигналов на его Входах узел 7 формирует логическую единицу, означающую, что в устройстве возникла неисправность (или помеха).As a result, the code 1110011000111110 is set at the output of the 11 device. The code 0111 will be set at the input of the shifted number of the node 4. The code will be generated at the output of the shift node 4 (as a result of shifting the code to the right, equal to 0111, by w = 3 bits and moving it from the output of the switch 8 of code 111), equal to 1110. In node 6, a sum signal is generated modulo two code signals of the bits from the outputs of nodes 4 and 3, respectively 1110 and 010. A logical zero is generated at the output of node 6. At the output of node 5, a sum signal is generated modulo two signals of the bits of the code generated at the output of the device 11, which in this case is equal to logical zero. The first node 7 compares the outputs of nodes 5 and 6 of the convolution modulo two with the formation of a logical zero at the output, which means that errors in nodes 1 and 2 did not occur (i.e., nodes 1 and 2 are operational ^. In case of inequality of signals on its Inputs node 7 forms a logical unit, which means that a malfunction (or interference) has occurred in the device.
Сигнал с выхода узла 7 сравнения передается через'элемент ИЛИ 5 на выход 16 неисправности устройства.The signal from the output of the comparison unit 7 is transmitted via the OR element 5 to the output 16 of the device malfunction.
Сигнал ошибки на выходе первого узла 7 сравнения однако не обеспечивает полного контроля исправности устройства (т.е. высокую достоверность функционального контроля), так как не обеспечивается контроль ошибок 1 в группах бит кода, установленного на входе 19, передаваемых на выходе коммутатора 8 и входных и выходных цепей разрядов крайней со стороны направления сдвига (крайней правой) группы разрядов узла 1. Контроль этих цепей обеспечивается с помощью узлов и элементов 15, 13, 14, 23, 24 и коммутатора 22.The error signal at the output of the first comparison node 7, however, does not provide complete control of the health of the device (i.e., high reliability of the functional control), since error control 1 is not ensured in groups of code bits installed at input 19, transmitted at the output of switch 8 and input and output circuits of discharges of the extreme direction of the shift (extreme right) of the group of discharges of node 1. Control of these circuits is provided using nodes and elements 15, 13, 14, 23, 24 and switch 22.
В узле 13 формируется сигнал суммы по модулю два сигналов разрядов красителей по направлению сдвига группы информационного выхода первот го узла 1 сдвига информации. В данном случае результат суммирования равен 1”. Второй узел 14 сравнения сравнивает результат свертки с крайним по направлению сдвига разрядом вьрсода узла 3 сдвига контрольных разрядов . При несравнении единичный сигнал с выхода второго узла 14 сравнения через элемент ИЛИ 15 проходит на выход 16 неисправности устройства. В узле 24 формируется сигнал суммы по модулю два сигналов разрядов с выхода коммутатора 8. В данном случае результат суммирования равен ”1”. Третий узел 23 сравнения сравнивает результат свертки с выходом коммутатора 22. При несравнении единичный сигнал с выхода третьего узла 23 сравнения через элемент ИЛИ 15 проход дит на выход 16 неисправности устройства. Узлы свертки по модулю два группы 10 формируют контрольные биты К-разрядных групп числа, сформирован ного на втором узле 2 сдвига информации, которые поступают ня .выходы контрольных разрядов устройства груп5 пы 12.At node 13, a sum signal is generated modulo two dye discharge signals in the direction of the shift of the information output group of the first information shift node 1. In this case, the summation result is 1 ”. The second comparison node 14 compares the result of the convolution with the extreme discharge in the direction of shift of the high of the node 3 of the shift of the control bits. If incomparable, a single signal from the output of the second comparison node 14 through the OR element 15 passes to the output 16 of the device malfunction. At node 24, a sum signal is generated modulo two bit signals from the output of switch 8. In this case, the summation result is “1”. The third comparison node 23 compares the result of the convolution with the output of the switch 22. In case of non-comparison, a single signal from the output of the third comparison node 23 passes through the OR element 15 to the output 16 of the device malfunction. The convolution nodes modulo two groups of 10 form the control bits of the K-bit groups of the number generated on the second node 2 of the information shift, which are received by the outputs of the control bits of the device of group 12.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864161234A SU1543406A2 (en) | 1986-12-15 | 1986-12-15 | Device for single-side shifts of binary codes with check |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864161234A SU1543406A2 (en) | 1986-12-15 | 1986-12-15 | Device for single-side shifts of binary codes with check |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU1446617 Addition |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1543406A2 true SU1543406A2 (en) | 1990-02-15 |
Family
ID=21272802
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU864161234A SU1543406A2 (en) | 1986-12-15 | 1986-12-15 | Device for single-side shifts of binary codes with check |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1543406A2 (en) |
-
1986
- 1986-12-15 SU SU864161234A patent/SU1543406A2/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1446617, кл. G 06 F 11/10, 1987. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4498174A (en) | Parallel cyclic redundancy checking circuit | |
US4032885A (en) | Digital correlator | |
EP0230730B1 (en) | CRC calculation machines | |
EP0225761A2 (en) | Apparatus and method for calculating cyclical redundancy codes | |
US4691319A (en) | Method and system for detecting a predetermined number of unidirectional errors | |
JPS60260256A (en) | Data synchronization transmitting method and encoder using same method | |
US20050166122A1 (en) | System and method for generating cyclic codes for error control in digital communications | |
US3571795A (en) | Random and burst error-correcting systems utilizing self-orthogonal convolution codes | |
SU1543406A2 (en) | Device for single-side shifts of binary codes with check | |
US4251884A (en) | Parity circuits | |
SU1446617A1 (en) | Device for unidirectional shifting of binary codes with check | |
SU1695306A1 (en) | Device for one-side binary code shifts with check | |
SU1056180A1 (en) | Device for comparing parallel codes of numbers | |
SU1128251A1 (en) | Device for comparing binary numbers | |
SU1195346A1 (en) | Device for selecting maximum number | |
US3470364A (en) | Circuit for detecting a register malfunction | |
SU1691893A2 (en) | Device for shifting information with checking | |
SU1001529A1 (en) | Majority-redundancy device | |
JPS63196130A (en) | Signal detection system | |
SU1478340A1 (en) | Fibonacci p-code check unit | |
SU1103239A1 (en) | Parallel code parity checking device | |
SU781811A2 (en) | Device for parallel counting of unities (zeros) in binary number | |
SU1173447A1 (en) | Data shifter | |
SU964626A1 (en) | Device for checking reception fidality of information in berger codes | |
SU860335A1 (en) | Device for correcting errors in discrete data |