SU1520512A1 - Matrix-type squaring device - Google Patents
Matrix-type squaring device Download PDFInfo
- Publication number
- SU1520512A1 SU1520512A1 SU884401437A SU4401437A SU1520512A1 SU 1520512 A1 SU1520512 A1 SU 1520512A1 SU 884401437 A SU884401437 A SU 884401437A SU 4401437 A SU4401437 A SU 4401437A SU 1520512 A1 SU1520512 A1 SU 1520512A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- column
- adder
- output
- inputs
- Prior art date
Links
Abstract
Устройство относитс к вычислительной технике и позвол ет вычисл ть квадрат аргумента и осуществл ть контроль вычислений по неразрешенным кодам результата. Устройство содержит элементы И 1 чеек матрицы, определ ющие всевозможные конъюнкции значений различных разр дов аргумента, сумматоры 2 чеек матрицы, вычисл ющие квадрат аргумента путем нахождени взвешенной суммы значений конъюнкций и разр дов аргумента. Устройство содержит также блок 3 свертки по модулю семь, определ ющий остаток от делени кода результата на семь, блок свертки по модулю два 5, и элемент ИЛИ 4. ЭЛЕМЕНТ НЕ 6 И ЭЛЕМЕНТ И 7 ПО СИГНАЛАМ С ВЫХОДОВ БЛОКА 5 И ЭЛЕМЕНТА 4 ИДЕНТИФИЦИРУЮТ КОДЫ ОСТАТКА 3, 5 И 6, УКАЗЫВАЮЩИЕ НА НЕРАЗРЕШЕННЫЕ КОДЫ РЕЗУЛЬТАТА И СООТВЕТСТВЕННО НА НЕПРАВИЛЬНОЕ ФУНКЦИОНИРОВАНИЕ УСТРОЙСТВА. 1 ИЛ.The device is related to computing and allows calculating the square of the argument and controlling the calculations by unresolved result codes. The device contains And 1 cells of the matrix, defining all possible conjunctions of the values of different argument bits, adders of 2 matrix cells, calculating the square of the argument by finding the weighted sum of the conjunction values and the argument bits. The device also contains a modulo seven convolution block 3, determining the remainder of dividing the result code by seven, a modulo convolution block of two 5, and the element OR 4. NOT 6 AND ELEMENT AND 7 ON SIGNALS FROM THE OUTPUTS OF BLOCK 5 AND ELEMENT 4 IDENTIFYING CODES RESIDUALS 3, 5 AND 6, INDICATING TO UNRESOLVED RESULTS CODES AND ACCORDINGLY TO THE WRONG FUNCTIONING OF THE DEVICE. 1 IL.
Description
1one
(21)4401437/24-24(21) 4401437 / 24-24
(22)31.03.88(22) 03/31/88
(46) 07.11.89. Бюл. Р 41(46) 11/07/89. Bul P 41
(71)Одесский политехнический институт(71) Odessa Polytechnic Institute
(72). Дрозд, Е.Л. Полин, A.M. Романкевич, В.Н. Валуйский и С.А. Не стеренко(72). Drozd, E.L. Pauline, A.M. Romankevich, V.N. Valuisky and S.A. Not sterenko
(53)681.325(088.8).(53) 681.325 (088.8).
(56)Авторское свидетельство СССР № 842804, кл, G 06 F 7/552, 1979.(56) USSR Author's Certificate No. 842804, class G 06 F 7/552, 1979.
Авторское свидетельство СССР № 1439583, кл. G 06 F 7/552, 1985,USSR Author's Certificate No. 1439583, cl. G 06 F 7/552, 1985,
(54)МАТРИЧНОЕ УСТРОЙСТВО ДЛЯ ВОЗВЕДЕНИЯ В КВАДРАТ(54) MATRIX DEVICE FOR INCLUSION IN SQUARES
(57)Изобретение относитс к вычислительной технике и позвол ет вычисл ть квадрат аргумента и осуществл ть контроль вычислений по неразрешенным(57) The invention relates to computing and allows calculating the square of the argument and controlling the calculations for unresolved
кодам результата. Устройство содержит элементы И 1 чеек матрицы, определ ющие всевозможные конъюнкции значений различных разр дов аргумен- j-a, сумматоры 2 чеек матрицы, вы- числ н ще квадрат аргумента путем нахождени взвешенной суммы зна1| ений конъюнкций и разр дов аргумента. Устройство содержит также блок 3 свертки по модулю семь, определ ющий остаток от делени кода результата на семь, блок 5 свертки по модулю два и элемент ИЛИ 4. Элемент НЕ 6 и элемент И 7 по сигналам с выходов блока 5 и элемента 4 идентифихщруют коды остатка 3, 5 и б, указываюпдае на неразрешенные коды результата и соответственно на неправильное функционирование устройства, t ил.result codes. The device contains the elements And 1 cells of the matrix, determining all possible conjunctions of the values of different bits of the argument j-a, adders of 2 cells of the matrix, calculating the square of the argument by finding the weighted sum sign 1 | conjunctions and bits of argument. The device also contains a modulo seven convolution block 3, determining the remainder of dividing the result code by seven, modulo two convolution block 5 and the element OR 4. The HE element 6 and the AND 7 element identify the residual codes from the outputs of the block 5 and element 4. 3, 5 and b, indicate unresolved result codes and, accordingly, the device malfunction, t Il.
(Л(L
СWITH
СПSP
|С| C
оabout
ел гоate
.3.3
Изобретение относитс к вычислительной технике и может быть использовано в специализированных вычислител х .The invention relates to computing and can be used in specialized computers.
Цель изобретени - повышение достоверности функционировани .The purpose of the invention is to increase the reliability of the operation.
На чертеже представлена структурна схема устройства дл .The drawing shows a block diagram of the device for.
Устройство содержит элементы И 1, сумматоры 2, блок 3 свертки по модулю семь, элементы ИЛИ 4, блок 5 срертки по модулю два, элемент НЕ б и элемент И 7,The device contains elements AND 1, adders 2, block 3 convolutions modulo seven, elements OR 4, block 5 modulo two modulo, element NOT b and element And 7,
; Устройство работает следующим образом.; The device works as follows.
Разр ды операнда поступают на рходы устройства. При этом первый разр д операнда подаетс на первый выход устройства, второй выход ко- торого посто нно принимает значение логического нул . Кроме того, первый разр д tp подаетс на первые входы элементов И 1 первого столбца, на вторые входы которых поступают соответственно последующие разр ды операнда 2pj Зр, 4р, 5р и 6р. На выхода элементов И 1 первого столбца образуютс конъюнкции 1р 2р., tp;3p, 1р-4р, 1р-5р и Тр-бр, которые ПостуOperand bits are fed to the devices. In this case, the first bit of the operand is fed to the first output of the device, the second output of which constantly takes on the value of a logical zero. In addition, the first bit tp is fed to the first inputs of the And 1 elements of the first column, the second inputs of which receive the subsequent bits of the 2pj operand 3p, 4p, 5p, and 6p, respectively. At the output of the elements And 1 of the first column are formed of the conjunction 1p 2p., Tp; 3p, 1p-4p, 1p-5p and Tr-br, which Post
пают на вторые входы соответствующих сумматоров 2 первого столбца, Через первые входы-и выходы этих маторов 2, как и сумматоров 2 последующих столбцов, распростран етс сигнал переноса .(кроме первого входа первого сумматора 2j который, как и в последующих столбцах, занулен, а также кроме первого выхода последующего п того сумматора 2, с выхода которого, как и во втором столбце, сигнал переноса поступает на третий вход четвертого сумматора 2 следующего столбца).go to the second inputs of the corresponding adders 2 of the first column. The transfer signal spreads through the first inputs and outputs of these mathors 2, as well as the adders of the 2 subsequent columns (except for the first input of the first adder 2j which, as in the subsequent columns, is zeroed, and as well as the first output of the subsequent nth adder 2, from the output of which, as in the second column, the transfer signal arrives at the third input of the fourth adder 2 of the next column).
Третьи входы четных сумматоров первого столбца занулены, а на третьи входы первого, третьего и п того суматоров 2 первого « столбца поступают разр ды операнда, соответственно 2р , Эр и 4р .The third inputs of the even adders of the first column are zeroed, and the third inputs of the first, third, and fifth summers 2 of the first column receive bits of the operand, respectively 2p, Er and 4p.
При этом определ ютс третий и четвертый разр ды результата, посту- пакмцие с вторых выходов первого и второго сумматоров 2 первого столбца на третий и четвертый вькоды устройства . Сигналы суммы с вторых вьпсо- дов третьего, четвертого и п того сумматоров 2 первого столбца поступают , как и сигналы суммы с соответствующих сумматоров 2 второго столб0In this case, the third and fourth bits of the result are determined, received from the second outputs of the first and second adders 2 of the first column to the third and fourth codes of the device. The sum signals from the second points of the third, fourth, and fifth adders 2 of the first column are received, as are the sum signals from the corresponding adders 2 of the second column0
0505
5five
00
00
5 0 50
5 five
0 е 0 e
124124
ца, на третьи входы соответственно первого, второго и третьего сумматоров следующего столбца. Элементы I И 1 второго столбца вычисл ют в соответствии с заведенными на их входы разр дами операнда конъюнкции 2р-3р, 2р 4р5 2р 5р 5 2р-6р и 4р 5р, которые поступают на вторые входы сумматоров 2 второго столбца. На третий вход п того сумматора 2 второго столбца поступает разр д операнда 5р.ca, to the third inputs, respectively, of the first, second and third adders of the next column. Elements I and 1 of the second column are calculated in accordance with the bits of the operand conjunctions 2p-3p, 2p 4p5 2p 5p 5 2p-6p and 4p 5p that are input to their inputs, which are fed to the second inputs of adders 2 of the second column. The third input of the second adder 2 of the second column receives the bit operand 5p.
При этом определ ютс п тый и шестой разр ды результата, поступающие с вторых выходов первого и второго с т маторов 2 второго столбца на п тый и шестой выходы устройства. Элементы И 1 третьего столбца определ ют в соответствии с заведенными на их входы разр дами операнда конъюнкции Зр-4р, Зр-Зр, Зр-6р, 4р6р и Зр бр, которые поступают на вторые входы соответствующих сумма- Т.ОРОВ 2 третьего столбца. На третий вход п того сумматора 2 третьего столбца поступает разр д операнда 6р. При этом определ ютс последующие разр ды результата, поступающие с вторых выходов ci MMaTopa 2 третьего столбца и первого выхода п того сумматора 2 третьего столбца соответственно на выходе устройства .с седьмого по двенадцатый.In this case, the fifth and sixth bits of the result are determined, coming from the second outputs of the first and second from matrices 2 of the second column to the fifth and sixth outputs of the device. Elements And 1 of the third column are determined in accordance with the bits of the conjunction operand Zp-4p, Zp-Zp, Zp-6p, 4p6p and Zpbr set at their inputs, which are fed to the second inputs of the corresponding sum-TOROV 2 of the third column. The third input of the first adder 2 of the third column receives the 6p operand bit. The following bits of the result are determined from the second outputs ci MMaTopa 2 of the third column and the first output of the fifth adder 2 of the third column, respectively, at the output of the device from seventh to twelfth.
-Кроме того, все разр ды результа- та поступают соответственно на входы блока 3 свертки по модулю семь. При этом блок 3 определ ет остаток от делени результата на семь. Код остатка поступает на входы элемента ИЛИ 4 5 а также на входы блока 5 , свертки по модулю два. Блок 5 принимает единичное значение при нечетном количестве единиц в коде остатка; Это значение инвертируетс элементом НЕ 6 и устанавливает выход элемента И 7 в нулевое значение по первому входу. По второму входу элемент И 7 устанавливаетс в ноль при нулевом коде остатка, вы вл емом элементом ИЛИ 4. Таким образом, все коды остатка имеющие четное количество единиц , отличное от нул , установит выход элемента И 7, вл ющийс конт- рольнь1М выходом устройства в единичное значение.- In addition, all bits of the result are received respectively at the inputs of the convolution unit 3 modulo seven. In this case, block 3 determines the remainder of dividing the result by seven. The residual code goes to the inputs of the element OR 4 5 as well as to the inputs of block 5, the convolutions modulo two. Block 5 takes a single value when an odd number of units in the code of the remainder; This value is inverted by the element NOT 6 and sets the output of the element AND 7 to zero at the first input. At the second input, the AND 7 element is set to zero with a zero residual code, the detected element OR 4. Thus, all residual codes having an even number of ones other than zero, will determine the output of the AND 7 element, which is the control 1M output of the device single value.
Правильно вычисленный результат возведени операнда в квадрат не может иметь кода остатка с четным количеством единиц, .отличным от нул .A correctly calculated result of raising the operand to a square cannot have a residual code with an even number of ones, different from zero.
поэтому при правильной работе устройства его контрольный выход принимает нулевое значение, а возникновение единичного значение на контрольном выходе устройства указывает на его неправильное функционирование.therefore, when the device is working properly, its control output assumes a zero value, and the occurrence of a single value at the control output of the device indicates its malfunction.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU884401437A SU1520512A1 (en) | 1988-03-31 | 1988-03-31 | Matrix-type squaring device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU884401437A SU1520512A1 (en) | 1988-03-31 | 1988-03-31 | Matrix-type squaring device |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1520512A1 true SU1520512A1 (en) | 1989-11-07 |
Family
ID=21365026
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU884401437A SU1520512A1 (en) | 1988-03-31 | 1988-03-31 | Matrix-type squaring device |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1520512A1 (en) |
-
1988
- 1988-03-31 SU SU884401437A patent/SU1520512A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4498174A (en) | Parallel cyclic redundancy checking circuit | |
JPH0697559B2 (en) | Semiconductor memory device | |
US3555255A (en) | Error detection arrangement for data processing register | |
SU1520512A1 (en) | Matrix-type squaring device | |
SU1509881A1 (en) | Matrix squaring device | |
SU858115A1 (en) | Fixed storage unit testing device | |
SU1005189A1 (en) | Device for reading-out information from associative storage | |
SU703817A1 (en) | Monitored parallel adder | |
SU911510A1 (en) | Device for determining maximum number | |
SU875461A1 (en) | Storage device | |
SU824316A1 (en) | Fixed storage testing device | |
SU818018A1 (en) | Device for checking the quantity of unities in code | |
SU1695308A2 (en) | Modulo three pyramidal convolution | |
SU1337899A1 (en) | Device for checking packet-optimum t-codes | |
SU1030797A1 (en) | Device for sorting mn-digit numbers | |
SU1619260A1 (en) | Matrix-type squaring device | |
SU1478340A1 (en) | Fibonacci p-code check unit | |
SU1103223A2 (en) | Device for adding binary numbers | |
SU691856A1 (en) | Parallel adder with even parity check | |
SU830377A1 (en) | Device for determining maximum number code | |
SU1262476A1 (en) | Device for selecting the maximum number | |
SU898509A1 (en) | Storage device with error detection and correction | |
SU1096639A1 (en) | Device for comparing n-digit numbers | |
SU1001529A1 (en) | Majority-redundancy device | |
SU752332A1 (en) | Device for computing the function: squared x plus squared y |