SU1667053A1 - Logarithmic code adder - Google Patents
Logarithmic code adder Download PDFInfo
- Publication number
- SU1667053A1 SU1667053A1 SU894741644A SU4741644A SU1667053A1 SU 1667053 A1 SU1667053 A1 SU 1667053A1 SU 894741644 A SU894741644 A SU 894741644A SU 4741644 A SU4741644 A SU 4741644A SU 1667053 A1 SU1667053 A1 SU 1667053A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- adder
- inputs
- block
- Prior art date
Links
- 230000015654 memory Effects 0.000 claims abstract description 12
- 238000010276 construction Methods 0.000 abstract 1
- 230000006870 function Effects 0.000 description 2
- 101150022494 GLG1 gene Proteins 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000008092 positive effect Effects 0.000 description 1
Landscapes
- Complex Calculations (AREA)
Abstract
Изобретение относитс к вычислительной технике и может быть использовано при построении универсальных и специализированных цифровых вычислительных машин. Целью изобретени вл етс упрощение сумматора. Сумматор содержит элемент И 2, элемент ИЛИ - НЕ 3, элемент ИСКЛЮЧАЮЩЕЕ ИЛИ 4, первый и второй блоки 5 и 10 вычитани , первый и второй мультиплексоры 6 и 7, блок 11 сложени , блок 12 элементов И - ИЛИ, первый и второй блоки 13 и 14 посто нной пам ти со св з ми. 1 ил.The invention relates to computing and can be used in the construction of universal and specialized digital computers. The aim of the invention is to simplify the adder. The adder contains the element AND 2, the element OR - NOT 3, the element EXCLUSIVE OR 4, the first and second blocks 5 and 10 subtraction, the first and second multiplexers 6 and 7, block 11 addition, block 12 elements AND - OR, the first and second blocks 13 and 14 permanent memories with communications. 1 il.
Description
Изобретение относитс к вычислительной технике и может быть использовано в цифровых вычислительных машинах при обработке радиолокационных сигналов, решении задач распознавани .The invention relates to computing and can be used in digital computers in the processing of radar signals, the solution of problems of recognition.
Целью изобретени вл етс упрощение сумматора.The aim of the invention is to simplify the adder.
На чертеже представлена схема сумматора логарифмических кодов.The drawing shows a diagram of the adder logarithmic codes.
Сумматор содержит вход 1 первого слагаемого сумматора, элемент И 2, элемент ИЛИ-НЕ 3, элемент ИСКЛЮЧАЮЩЕЕ ИЛИ 4, первый блок 5 вычитани , первый и второй мультиплексоры 6 и 7, вход 8 второго слагаемого сумматора, выход 9 знака сумматора , второй блок 10 вычитани , блок 11 сложени , блок 12 элементов И-ИЛИ, первый и второй блоки 13 и 14 посто нной пам ти , выход 15 признака сумматора, выход 16 суммы сумматора, выход 17 переполнени сумматора.The adder contains the input 1 of the first term adder, the element And 2, the element OR NOT 3, the element EXCLUSIVE OR 4, the first block 5 subtraction, the first and second multiplexers 6 and 7, the input 8 of the second term adder, the output 9 of the sign of the adder, the second block 10 subtracting, an add-on unit 11, an AND-OR element block 12, the first and second blocks 13 and 14 of the permanent memory, the output 15 of the attribute of the adder, the output 16 of the sum of the adder, the output 17 of the overflow of the adder.
Сумматор логарифмических кодов предназначен дл сложени двух чисел с одинаковыми знаками, представленными в логарифмических кодах. ЛогарифмическийThe adder of logarithmic codes is designed to add two numbers with the same characters, represented in logarithmic codes. Logarithmic
код некоторого числа at есть xi (092tail. Так как 0 lai | 1, то 0 xi -1од2Я, где - разр дность числа а. Логарифмический код xi имеет следующий форматthe code of some number at is xi (092tail. Since 0 lai | 1, then 0 xi is -1od2J, where is the digit of the number a. The logarithmic code xi has the following format
sign z kik2,sign z kik2,
где в однобитовом поле sign записываетс знак числа ai, в однобитовом поле z записываетс код 1, если ai 0, в поле ki, имеющем 1одалг разр дов, записываетс цела часть Iog2 lai I , в поле К2, имеющем разр дов, записываетс дробна часть Iog2 jail . При 4, К2 15 и логарифмический код х 1 содержит21 разр д. Знак Iog2 lail всегда отрицателен и поэтому не записываетс .where the sign of the number ai is written in the one-bit field sign, code 1 is written in the one-bit field z, if ai 0, the entire part Iog2 lai I is written in the field ki having 1dalg bits, the fractional part Iog2 is written in the field K2 jail With 4, K2 15 and the logarithmic code x 1 is 21 bits. The sign Iog2 lail is always negative and therefore not recorded.
Сумматор работает следующим образом.The adder works as follows.
Пусть необходимо найти сумму В ai + 32. На входы устройства 1 и 8 приход т логарифмические коды чисел ai и аз. Необходимо найти логарифмический код суммы ВLet it be necessary to find the sum B ai + 32. The logar codes of the numbers ai and az come to the inputs of device 1 and 8. It is necessary to find the logarithm code of sum B
2 °92В 2l°gai j 21о9а22 ° 92V 2l ° gai j 21A9a2
Выберем max(logai, Ioga2). Пусть logai Ioga2. ТогдаChoose max (logai, Ioga2). Let logai ioga2. Then
2l°92B f - + 2lo9a2 logai 2loga1(1 ).2l ° 92B f - + 2lo9a2 logai 2loga1 (1).
ЁYo
ОABOUT
оabout
JJ
оabout
ел соate with
ОткудаFrom where
IOQ2B 109231 + IOQ2(1 + ).IOQ2B 109231 + IOQ2 (1 +).
Признак zi первого слагаемого поступает на первые входы элементов И 2, ИЛИ-НЕ 3 и ИСКЛЮЧАЮЩЕЕ ИЛИ 4. Цела и дробна части кода Iog2 lai I , дополненные знаком, поступают на вход уменьшаемого блока 5 вычитани . Код Iog2 lai I поступает на первый вход мультиплексора 6 и второй вход мультиплексора 7.The sign zi of the first addendum goes to the first inputs of the AND 2, OR-NOT 3 and EXCLUSIVE OR 4 elements. The whole and fractional parts of the Iog2 lai I code, supplemented with the sign, are fed to the input of the decrementing subtraction unit 5. Code Iog2 lai I is fed to the first input of the multiplexer 6 and the second input of the multiplexer 7.
Признак Z2 второго слагаемого поступает на вторые входы элементов И 2, ИЛИ-НЕ 3, ИСКЛЮЧАЮЩЕЕ ИЛИ 4. Цела и дробна части кода Iog2 Ia2l .дополненные знаком , поступают на вход вычитаемого блока 5 вычитани . Код Iog2 1321 поступает на второй вход мультиплексора 6 и на первый вход мультиплексора 7. Знак числа с входа 1 проходит на выход 9 сумматора.The sign Z2 of the second addendum enters the second inputs of the AND 2, OR-NOT 3, EXCLUSIVE OR 4 elements. The whole and fractional parts of the Iog2 Ia2l code, supplemented with a sign, are input to the subtracted subtraction unit 5. The Iog2 1321 code is fed to the second input of the multiplexer 6 and to the first input of the multiplexer 7. The sign of the number from the input 1 passes to the output 9 of the adder.
В блоке 5 вычитани формируетс разность Iog2ai - 1од2Э2. Если знак разности равен нулю, то Iog2ai 1од2Э2, и наоборот. Поэтому на выходе мультиплексора 6. формируетс max (Iog2ai, 1од2Э2), на выходе мультиплексора 7 mln (Iog2ai, Iog232). С выходов мультиплексоров 6 и 7 значени поступают на входы вычитаемого и уменьшаемого блока 10 вычитани , на выходе блока 10 вычитани формируетс разность - С, котора содержит ki целых разр дов и п дробных , m старших разр дов (- Ci) этой разности поступают на адресные входы блока 13 пам ти, 2 последующих разр да (- С2) поступают на адресные входы блока 14 пам ти.In block 5 subtraction, the difference Iog2ai - 1 2 2 E 2 is formed. If the difference sign is zero, then Iog2ai is 1od2E2, and vice versa. Therefore, max (Iog2ai, 1od2E2) is formed at the output of multiplexer 6., and 7 mln (Iog2ai, Iog232) is output at multiplexer output. From the outputs of multiplexers 6 and 7, the values are fed to the inputs of the subtracted and decremented block 10, at the output of block 10, the difference is formed - C, which contains ki integer bits and n fractional, m most significant bits (- Ci) of this difference the inputs of the memory block 13, 2 subsequent bits (- C2) are fed to the address inputs of the memory block 14.
На первом выходе блока 13 пам ти формируетс функци At the first output of the memory block 13, a function is formed.
гоЦ1од2 Iail,log2 Ia2)-max(fog2 Iall,log2 lajl)goTs1od2 Iail, log2 Ia2) -max (fog2 Iall, log2 lajl)
log2(1+2)log2 (1 + 2)
-Iog2()-Iog2 ()
На втором выходе блока 13 пам ти формируетс Pi-разр дна функци 2-ciAt the second output of the memory block 13, a Pi-bit function 2-ci is formed.
1+21 + 2
-С1-C1
На выходе блока 14 пам ти формирует ,-с.At the output of memory block 14 forms, -c.
с величинаc value
С2.C2.
На выходе суммы блока 11 сложени формируетс величина log2B Iog2ai +At the output of the sum of block 11 of addition, the value of log2B Iog2ai + is formed
+ 1од2(1+2 С1)+-С2.Еслиг1 г2 0,+ 1od2 (1 + 2 C1) + - C2. Esl1 r2 0,
1+2 с11 + 2 с1
эта величина через блок 12 элементов И- ИЛИ проходит на выход 16. Если один из признаков zi или Z2 равен 1, то в разр дах kika соответствующего числа записываетс минимально возможное число 0000, 00...00 -1000,00...00 -16 (при ).this value passes through block 12 of the AND-OR elements to output 16. If one of the signs of zi or Z2 is 1, then in the kika bits of the corresponding number the minimum possible number 0000, 00 ... 00-1000.00 ... 00 is written -16 (at).
Число, имеющее z M, окажетс большим и через блок 12 элементов И-ИЛИ пройдет на выход 16. Если zi Z2 1. на выходе 15 формируетс признак результатаThe number having z M will be large and through the block 12 elements AND-OR will pass to the output 16. If zi Z2 1. At the output 15 the result sign is formed
z 1. На выходе 16 сформируетс минимально возможное число.z 1. Output 16 will generate the minimum possible number.
Признак переполнени разр дной сетки V считываетс с инверсного выхода знакового разр да блока 11 сложени иThe sign of the overflow of the discharge grid V is read from the inverse output of the sign bit of the block 11 of the
0 поступает на выход 17. При к 15 удобно иметь m 11, Pi 5, г 5, разр дность сумматора равной 22. Тогда погрешность сумматора логарифмических кодов не превысит 2 . 0 arrives at output 17. For k 15, it is convenient to have m 11, Pi 5, g 5, the adder's bit width equal to 22. Then the error of the adder of logarithmic codes does not exceed 2.
5Дополнительный положительный эффект изобретени состоит в повышении быстродействи .5 An additional positive effect of the invention is to increase speed.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU894741644A SU1667053A1 (en) | 1989-09-27 | 1989-09-27 | Logarithmic code adder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU894741644A SU1667053A1 (en) | 1989-09-27 | 1989-09-27 | Logarithmic code adder |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1667053A1 true SU1667053A1 (en) | 1991-07-30 |
Family
ID=21471791
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU894741644A SU1667053A1 (en) | 1989-09-27 | 1989-09-27 | Logarithmic code adder |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1667053A1 (en) |
-
1989
- 1989-09-27 SU SU894741644A patent/SU1667053A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР Nfc 1365077. кл. G 06 F 7/49, 1986. Авторское свидетельство СССР N 1168921, кл. G06F 1/02, 1984. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
GB1346698A (en) | Digital filter | |
SU1667053A1 (en) | Logarithmic code adder | |
US4592008A (en) | Overflow detector for algebraic adders | |
GB1014628A (en) | Data processing system | |
US3716843A (en) | Modular signal processor | |
SU1667059A2 (en) | Device for multiplying two numbers | |
SU1141401A1 (en) | Device for calculating difference of two numbers | |
SU1809438A1 (en) | Divider | |
SU1411740A1 (en) | Device for computing exponential function | |
SU424142A1 (en) | DEVICE COMPARISON OF TWO NUMBERS IN DIGITAL CODE | |
SU1608644A1 (en) | Device for processing series code of golden proportion | |
SU1269152A1 (en) | Two-dimensional linear interpolator | |
SU440795A1 (en) | Reversible binary counter | |
SU1401456A1 (en) | Digital device for computing the logarithm of a number | |
SU1401448A1 (en) | Apparatus for implementing boolean symmetrical functions | |
SU694867A1 (en) | Device for the digital averaging of binary -coded signals | |
SU739509A1 (en) | Digital functional converter | |
RU2010311C1 (en) | Device for parallel division of real numbers | |
SU392494A1 (en) | I ALL-UNION | j; rn -: - fVi | O.TF) inHMFnMMAvtorsRaditelKievsk expedition of the Ukrainian scientific research geological instituteSHSJiHOTEKA | |
SU1325467A1 (en) | Dividing device | |
SU705448A1 (en) | Multiplier | |
RU2037269C1 (en) | Four-bit-gray-to-binary-coded-decimal code converter | |
SU1647556A1 (en) | Device for summing number bulks | |
SU1730619A1 (en) | Adder of logarithmic codes | |
SU1767497A1 (en) | Divider |