SU1315970A1 - Multiplying device - Google Patents
Multiplying device Download PDFInfo
- Publication number
- SU1315970A1 SU1315970A1 SU853990822A SU3990822A SU1315970A1 SU 1315970 A1 SU1315970 A1 SU 1315970A1 SU 853990822 A SU853990822 A SU 853990822A SU 3990822 A SU3990822 A SU 3990822A SU 1315970 A1 SU1315970 A1 SU 1315970A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- multiplier
- input
- output
- adder
- information input
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Abstract
Устройство дл умножени двоичных чисел, представленных в дополнительном коде, может быть использова/2 « lit 15 пГ 2 17 но в цифровых вычислительных и измерительных системах.Устройство содержит четыре табличных умножител 1-4 и семь сумматоров 5-11, причем 12, 13, 14 - входы соответственно младших , старших и знакового разр дов второго сомножител , а 15, 16, 17 - входы соответствующих разр дов первого сомножител , 18-21 - выходы устройства . За счет совмещени операции вычислени «частичных произведений с предварительной частичной коррекцией результата в табличных умножител х удалось уменьшить аппаратурные затраты устройства. 1 ил. 18 (Л СО Ю 20 ел QD И 21A device for multiplying binary numbers presented in the additional code can be used / 2 "lit 15 pg 2 17 but in digital computing and measurement systems. The device contains four tabular multipliers 1-4 and seven adders 5-11, and 12, 13, 14 — the inputs of the younger, senior, and sign bits of the second factor, respectively; 15, 16, 17 — the inputs of the corresponding bits of the first factor, 18–21 — the device outputs. By combining the computational operation of the “partial products” with the preliminary partial correction of the result in tabular multipliers, it was possible to reduce the hardware costs of the device. 1 il. 18 (L SO YU 20 ate QD I 21
Description
11eleven
Изобретение относитс к вычислительной технике и может быть использовано в .цифровых вычислительных и измерительных системах.The invention relates to computing and can be used in digital computing and measuring systems.
Цель изобретени - уменьшение аппаратурных затрат.The purpose of the invention is to reduce hardware costs.
На чертеже представлена функциональна схема устройства.The drawing shows the functional diagram of the device.
Устройство содержит первый 1, четвертый 2, второй 3 и третий 4 табличные умножители, семь сумматоров 5-11, входы 12-14 младших, старших и знакового .разр д ов второго сомножител , входы 15-17 младших, старших и знакового разр дов первого сомножител , выходы 18 и 19 первых и вторых младших разр дов произведени , выходы 20 и 21 первых и вторых старших разр дов произведени .The device contains the first 1, the fourth 2, the second 3 and the third 4 tabular multipliers, seven adders 5-11, the inputs 12-14 junior, senior and sign bits of the second factor, the inputs 15-17 junior, senior and sign bits of the first multiplier, outputs 18 and 19 of the first and second low-order digits of the product, outputs 20 and 21 of the first and second high-order bits of the product.
Кодирование функциональных преобразователей при п-разр дных входных числах А и В, при разбиении каждого из них на две части (,, А.; В,), где разр дность частей А, В, -п; Aj, Bj-nj осуществл етс по следующим формулам:Coding of functional converters with n-bit input numbers A and B, by dividing each of them into two parts (A, B,), where the bits of A, B, -n; Aj, Bj-nj is carried out according to the following formulas:
.Bj, (mod ); (1) Bj+Ef,- ;.Bj, (mod); (1) Bj + Ef, -;
Z A B +bn-AI-2 , (mod 2); (2) Z,A,- В,+а„-В,,-A,-2 . ,(3)Z A B + bn-AI-2, (mod 2); (2) Z, A, - B, + a „-B ,, - A, -2. , (3)
Окончательный результат произведени , реализуемый устройством, вычисл етс по формулеThe final result of the work realized by the device is calculated by the formula
, + () 2 +Z,. 2 Чап- 2%-t-b -2 , (mod ),, + () 2 + Z ,. 2 Chap- 2% -t-b -2, (mod),
(4)(four)
где mod 2 обозначает, что результат представл етс в х-разр дной секе , а, и Ь - знаковые разр ды операндов .where mod 2 indicates that the result is represented in the x-bit section, a, and b are sign bits of the operands.
Устройство работает следующим образом.The device works as follows.
При положительных сомножител х (А,) коэффициенты а, Ь,0, поэтому коррекции не происходит. Выражение (4) принимает видWith positive factors x (A,), the coefficients are a, b, 0, so the correction does not occur. Expression (4) takes the form
,2n, 2n
1one
,-.В,. 2 (A,- B +Aa-B)-2 +,-.AT,. 2 (A, - B + Aa-B) -2 +
(5)(five)
+A2B, (mod 2)+ A2B, (mod 2)
Поскольку Z7/0, запись его в пр мом коде эквивалентна записи в дополнительном коде.Since Z7 / 0, writing it in the direct code is equivalent to writing in the additional code.
5970259702
Если один из сомножителей отрицателен , например , с выходов табличных умножителей частичные произведени поступают с предварительнойIf one of the factors is negative, for example, from the outputs of tabular multipliers, partial products come from a preliminary
5 коррекцией и после суммировани дают следующий рез5гльтат: ,- . 2. (А, В4+5 correction and after summing give the following result:, -. 2. (A, B4 +
+Aj.Bi+Bi-2 М X 2 +Ai-В2- -2 (mod ),+ Aj.Bi + Bi-2MX2 + Ai-B2-2 -2 (mod),
fOfO
(6)(6)
так как а,1, .since a, 1,.
Выражение (6) можно представить в виде суммы двух слагаемых z , рав- ного произведению кодов А,. В и корректирующего коэффициента с Expression (6) can be represented as the sum of two terms z, equal to the product of the codes A ,. In and the correction factor with
Z Z +C A-B+2(B+1)Z +2 (-В),Z Z + C A-B + 2 (B + 1) Z + 2 (-B)
(mod )„(7)(mod) „(7)
Рассмотрим теперь процесс перемножени с преобразованием сомножителей в пр мой код и с последующим преобразованием произведени в дополнительньш код. Поскольку АО, , то , следовательноLet us now consider the process of multiplying with the transformation of factors into a direct code and with the subsequent transformation of the product into an additional code. Since AO, therefore,
,2п, 2n
,2п, 2n
,()()-B, () () - B
2 +А В-2 +Z +2 - (-В), (mod ).(8)2 + A B-2 + Z + 2 - (-B), (mod). (8)
Как видим, выражени (7) и (8) тождественны (коэффициент 2 выходит за пределы ()-разр дной сетки и поэтому не оказывает вли ни на результат ) , что говорит о правильности Выполнени произведени устройством.As you can see, expressions (7) and (8) are identical (the coefficient 2 goes beyond the () -size grid and therefore does not affect the result), which indicates the correctness of the performance of the production by the device.
Аналогично выполн етс произведение в случае , . При равенст- ве нулю одного из сомножителей (например , В), выражение (4) примет видThe product is executed in the same way in the case of,. If one of the factors is equal to zero (for example, B), the expression (4) takes the form
Zn,Zn
,- 2 -2 2+Bi-2- 2 -2 2 + Bi-2
+2 +2
Zn-iZn-i
4545
(В+1), (mod 2 ), (B + 1), (mod 2),
т.е. даже при з множении отрицательного числа на нуль, выходной нулевой результат будет положительным, что соответствует представлению чисел в 50 дополнительных кодах.those. even if a negative number is multiplied by zero, the output zero result will be positive, which corresponds to the representation of numbers in 50 additional codes.
В случае, если оба сомножител отрицательны, результат произведени согласно (4) выгл дит следующим образом:In case both factors are negative, the result of the product according to (4) is as follows:
+ (A,- B +B AJ+BI- )2 + + (A, - B + B AJ + BI-) 2 +
+ (A,B,+BV 2 +А, 2 М-2 2+2%2 А-В+2 - (-В)+2;(-А), (mod ). (9)+ (A, B, + BV 2 + A, 2 M-2 2 + 2% 2 A-B + 2 - (-B) +2; (- A), (mod). (9)
При классическом произведении, аналогично (8), с учетом того, что , получимIn the classical product, similarly to (8), taking into account the fact that, we get
А а п I A a p i
.Вп () ()2 +А-В-н.Vp () () 2 + AB
)+2(-В), (mod 2 ). (10)) +2 (-B), (mod 2). (ten)
Совпадение (9) и (10) говорит о том, что и в этом случае устройство выдает правильный результат.Coincidence (9) and (10) indicates that in this case the device produces the correct result.
Числа А и В разбиваютс на две равные части с числом разр дов в каждой . Выражени (1-5), отображающие работу устройства, принимают видNumbers A and B are divided into two equal parts with the number of bits in each. Expressions (1-5), showing the operation of the device, take the form
B г Bj+aB g Bj + a
(mod (mod
2Ъ;2b;
Aj+b,- , (modAj + b, -, (mod
2«);2 ");
(11) (12)(11) (12)
, ,- A,- 2, (mod 2); ,, - A, - 2, (mod 2);
+ (Z2+Z5) ,-2 + + (Z2 + Z5), -2 +
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU853990822A SU1315970A1 (en) | 1985-12-11 | 1985-12-11 | Multiplying device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU853990822A SU1315970A1 (en) | 1985-12-11 | 1985-12-11 | Multiplying device |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1315970A1 true SU1315970A1 (en) | 1987-06-07 |
Family
ID=21210301
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU853990822A SU1315970A1 (en) | 1985-12-11 | 1985-12-11 | Multiplying device |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1315970A1 (en) |
-
1985
- 1985-12-11 SU SU853990822A patent/SU1315970A1/en active
Non-Patent Citations (1)
Title |
---|
Электроника, 1970, № 10, с. 13-15, фиг. 1. Авторское свидетельство СССР 1019442, кл. G 06 F 7/52, 1981. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US3878985A (en) | Serial-parallel multiplier using booth{3 s algorithm with combined carry-borrow feature | |
US4644491A (en) | Sign generation system for a carry save adder | |
SU1315970A1 (en) | Multiplying device | |
GB1582958A (en) | Digital system for binary multiplication of a number by a sum of two numbers | |
SU1229757A1 (en) | Multiplying device | |
SU817700A1 (en) | Device for adding n single-digit binary numbers | |
SU1196853A1 (en) | Device for determining inverse value | |
SU1003074A1 (en) | Device for parallel algebraic adding in sign-digit number system | |
EP0067862B1 (en) | Prime or relatively prime radix data processing system | |
SU824203A1 (en) | Device for adding n-digit decimal numbers | |
SU1285463A1 (en) | Multiplying device | |
SU1229758A1 (en) | Multiplying device | |
RU1797112C (en) | Device for multiplication of numbers | |
SU1515161A1 (en) | Multiplication device | |
SU851395A1 (en) | Converter of binary to complementary code | |
SU1291973A1 (en) | Dividing device | |
SU1256019A1 (en) | Dividing device | |
SU1043627A1 (en) | Binary to bcd converter | |
SU822174A1 (en) | Converter of direct binary-decimal code into complementary binary-decimal one | |
SU1038937A1 (en) | Multiplication device | |
JPH05216626A (en) | Multiplier | |
SU900282A1 (en) | Device for adding n-bit decimal numbers | |
SU1254477A1 (en) | Device for calculating value of square root | |
SU1008736A1 (en) | Device for square root calculation | |
SU877528A1 (en) | Device for computing square root of two n-digit number squared sum |