[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

SU1667053A1 - Logarithmic code adder - Google Patents

Logarithmic code adder Download PDF

Info

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
Application number
SU894741644A
Other languages
Russian (ru)
Inventor
Виктор Евдокимович Золотовский
Роальд Валентинович Коробков
Original Assignee
Таганрогский радиотехнический институт им.В.Д.Калмыкова
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Таганрогский радиотехнический институт им.В.Д.Калмыкова filed Critical Таганрогский радиотехнический институт им.В.Д.Калмыкова
Priority to SU894741644A priority Critical patent/SU1667053A1/en
Application granted granted Critical
Publication of SU1667053A1 publication Critical patent/SU1667053A1/en

Links

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)

Формула изобретени  Сумматор логарифмических кодов, со0 держащий элемент И, элемент ИСКЛЮЧАЮЩЕЕ ИЛИ, первый блок вычитани , первый и второй мультиплексоры, блок сложени , первый и второй блоки посто нной пам ти, причем выход знака первого блокаClaims adder logarithmic codes, containing the element AND, the element EXCLUSIVE OR, the first subtraction unit, the first and second multiplexers, the addition unit, the first and second permanent memory blocks, and the output of the sign of the first unit 5 вычитани  соединен с управл ющими входами первого и второго мультиплексоров, выход первого мультиплексора соединен с входом первого слагаемого блока сложени , отличающийс  тем, что, с целью5 is connected to the control inputs of the first and second multiplexers, the output of the first multiplexer is connected to the input of the first addendum block, characterized in that 0 упрощени  сумматора, он содержит элемент ИЛИ-НЕ, второй блок вычитани  и блок элементов И-ИЛИ, причем вход разр да признака входа первого слагаемого сумматора соединен с первыми входами0 simplify the adder, it contains an OR-NOT element, the second subtraction unit and the AND-OR element block, and the input of the discharge of the sign of the input of the first term of the adder is connected to the first inputs 5 элемента И, элемента ИЛИ-НЕ и элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, вход разр да признака входа второго слагаемого сумматора соединен с вторыми входами элемента И, элемента ИЛИ-НЕ и элемента ИСКЛЮЧА0 ЮЩЕЕ ИЛИ, выход элемента И  вл етс  выходом признака сумматора, вход разр да знака входа первого слагаемого сумматора  вл етс  выходом знака сумматора, входы информационных разр дов и вход разр да5 of the element AND, the element OR NOT and the element EXCLUSIVE OR, the input of the bit of the sign of the input of the second term of the adder is connected to the second inputs of the element AND, the element of OR-NOT and the element of the EX key0 OR, the output of the element of AND is the output of the sign of the adder the sign of the input of the first term of the adder is the output of the sign of the adder, the inputs of the information bits and the input of the discharge 5 знака входа первого слагаемого сумматора соединены соответственно с входами разр да входа уменьшаемого первого блока вычитани , входы разр дов входа вычитаемого которого соединены соответственно с вхо0 дами информационных разр дов и входом разр да знака входа второго слагаемого сумматора, входы информационных разр дов входов первого и второго слагаемых сумматора соединены соответственно с вхо5 дами разр дов первого и второго информационных входов первого мультиплексора, второй и первый информационные входы которого соединены соответственно с первым и вторым информационными входамиThe 5 characters of the input of the first adder are connected respectively to the inputs of the input of the decremented first subtraction unit, the inputs of the input bits of the subtracted which are connected respectively to the inputs of the information bits and the input of the character of the input of the second term of the adder the adder components are connected respectively with the inputs of the bits of the first and second information inputs of the first multiplexer, the second and first information inputs of which are connected respectively with the first and second information inputs второго мультиплексора,выход которого соединен с входом уменьшаемого второго блока вычитани , вход вычитаемого которого соединен с выходом первого мультиплексора и с первым входом первой группы блока элементов И-ИЛИ, выход которого  вл етс  выходом суммы сумматора, выход переполнени  которого соединен с инверсным выходом знака блока сложени , выходы старших и младших разр дов выхода второго блока вычитани  соединены соответственно с адресным входом первого блока посто нной пам ти и с первым адреснымThe second multiplexer, the output of which is connected to the input of the decremented second subtraction unit, the input of the subtracted which is connected to the output of the first multiplexer and the first input of the first group of the block of AND-OR elements, the output of which is the sum totalizer output, the overflow output of which addition, the outputs of the high and low bits of the output of the second subtraction unit are connected respectively to the address input of the first block of the permanent memory and to the first address block входом второго блока посто нной пам ти, первый и второй выходы первого блока посто нной пам ти соединены соответственно с входом второго слагаемого блока сложени  и с вторым адресным входом второго блока посто нной пам ти, выход которого соединен с входом третьего слагаемого блока сложени , выход суммы которого соединен с первым входом второй группы блока элементов И-ИЛИ, выходы элемента ИСКЛЮЧАЮЩЕЕ ИЛИ и элемента ИЛИ-НЕ соединены соответственно с вторыми входами первой и второй групп блока элементов И-ИЛИ.the input of the second constant memory unit, the first and second outputs of the first permanent memory unit are connected respectively to the input of the second term of the addition unit and the second address input of the second permanent memory unit, the output of which is connected to the input of the third addendum unit, sum output which is connected to the first input of the second group of the AND-OR element block, the outputs of the EXCLUSIVE OR element and the OR-NOT element are connected respectively to the second inputs of the first and second groups of the AND-OR element block. тt РГ Р.2 .WG R.2. 14 J14 j
SU894741644A 1989-09-27 1989-09-27 Logarithmic code adder SU1667053A1 (en)

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)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
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