SU1361545A1 - Division device - Google Patents
Division device Download PDFInfo
- Publication number
- SU1361545A1 SU1361545A1 SU864098844A SU4098844A SU1361545A1 SU 1361545 A1 SU1361545 A1 SU 1361545A1 SU 864098844 A SU864098844 A SU 864098844A SU 4098844 A SU4098844 A SU 4098844A SU 1361545 A1 SU1361545 A1 SU 1361545A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- inputs
- bits
- memory block
- outputs
- correction values
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/02—Digital function generators
- G06F1/03—Digital function generators working, at least partly, by table look-up
- G06F1/0307—Logarithmic or exponential functions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
- G06F7/48—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
- G06F7/52—Multiplying; Dividing
- G06F7/523—Multiplying only
- G06F7/5235—Multiplying only using indirect methods, e.g. quarter square method, via logarithmic domain
Abstract
Изобретение относитс к вычис-. лительной технике и может быть ис;пользовано в качестве блока приближенного делени ..Цель изобретени J5 16 /7 5 сокращение количества оборудовани . Устройство содержит два блока 1, 6 пам ти логарифмов, два блока 2, 7 пам ти корректирующих значений логарифмов , инкрементор 3, мультиплексор 4, элемент ИЛИ 5, два сумматора 8, II блок 9 пам ти экспонент, блок 10 пам ти корректирующих значений экспонент и блок 12 сдвига. Сокращение аппаратных затрат достигнуто за счет введени двух блоков пам ти корректирующих значений логарифмов, инкре- ментора, мультиплексора, элемента ИЛИ, сумматора, блока пам ти коррек-i тирующих значений экспоненты и оригинальных св зей между узлами и блоками . 1 ил. 5 73 1 20 . Г1 11 .«А. i 21FIELD: computation. It can be used as an approximate division unit. The purpose of the invention is J5 16/7 5 reducing the amount of equipment. The device contains two blocks 1, 6 of logarithm memory, two blocks 2, 7 of logarithm correction values, incrementor 3, multiplexer 4, element OR 5, two adders 8, II exponent memory block 9, exponential correction values memory block 10 and block 12 shift. The reduction in hardware costs is achieved by introducing two memory blocks of correction values of logarithms, an incrementor, a multiplexer, an OR element, an adder, a memory block of corrective values of the exponent, and original connections between nodes and blocks. 1 il. 5 73 1 20. G1 11. “A. i 21
Description
Изобретение относитс к вычислительной технике и может быть использовано в качестве блока приближенного делени .The invention relates to computing and can be used as an approximate division unit.
Цель изобретени - сокращение количества оборудовани .The purpose of the invention is to reduce the amount of equipment.
На чертеже приведена схема устройства .The drawing shows a diagram of the device.
Устройство содержит блок 1 пам ти логарифмов, блок 2 пам ти корректирующих значений логарифмов, инкремен- тор 3, .мультиплексор А, элемент ИЛИ. 5, блок 6 пам ти логарифмов, блок 7 пам ти корректирующих значений логарифмов , сумматор 8, блок 9 пам ти экспонент, блок 10 пам ти .корректирующих значений экспонент, сумматор 11 и блок I 2 сдвига,The device contains block 1 of logarithms of memory, block 2 of memory of corrective values of logarithms, incrementor 3, multiplexer A, the element OR. 5, memory block 6 of logarithms, memory block 7 of correction values of logarithms, adder 8, memory block 9 of exponentials, memory block 10. Corrective values of exponentials, adder 11 and shift block I 2,
Входы 13 делимого и входы 14 делител вл ютс информационными входами устройства. Входы 15 t старших разр дов делимого подключены к входам старших разр дов элемента ШШ 5 и . блоков 1 и 2 пам ти, входы 16 разр дов делимого с (1+1)-го по (1+т)-й соединены с входами младших разр дов элемента ИЛИ 5 и блока 1 пам ти, входы 17 младших разр дов делимого ,с (1+га+1)-го по п-й подключены к входам младших разр дов блока 2 пам ти. Выходы старших разр дов блоков 1 и 2 пам ти соединены соответственно с первой и второй группами информационных входов мультиплексора 4, управл ющий вход которого соединен с выходом элемента ИЛИ 5. Входы 18 старших разр дов делител подключены к входам старших разр дов блоков 6 и 7 пам ти, входы 19 разр дов делител с (1+1)-го по (1+т)-й соединены с входами младших разр дов блока 6 пам ти , а входы 20 младших разр дов делител с (5-Нп+1)-го по п-й подключены к входам младших разр дов блока 7 пам ти. Входы первого, второго,, третьего и четвертого слагаемых сум- матора 8 соединены соответственно с выходами младших разр дов блоков 1 и 2 пам ти и с выходами блоков 6 и 7 пам ти. Выход переноса сумматора 8 подключен к управл ющему входу инкре- ментора 3, информационные входы которого соединены с вькодами мультиплексора 4. Выходы 1 старших разр дов сумматора 8 подключены к входам старших разр дов блоков 9 и 10 пам ти, выходы разр дов сумматора 8 с (1+1)- го по (1+т)-й - к входам младшихThe inputs 13 of the dividend and the inputs 14 of the divider are the information inputs of the device. Inputs 15 t of the highest delimited bits are connected to the inputs of the higher bits of the SHSh 5 and. blocks 1 and 2 of memory, the inputs of 16 bits divisible from (1 + 1) -th to (1 + t) -th are connected to the inputs of the lower bits of the element OR 5 and the block 1 of memory, the inputs of 17 lower bits of the dividend, from (1 + ha + 1) -th to n-th are connected to the inputs of the lower bits of memory block 2. The high-order outputs of memory blocks 1 and 2 are connected respectively to the first and second groups of information inputs of multiplexer 4, the control input of which is connected to the output of the OR element 5. The 18 high-end splitter inputs are connected to the high-level inputs of memory blocks 6 and 7 These inputs of the 19 bits of the divider from (1 + 1) -th to (1 + t) -th are connected to the inputs of the lower bits of memory block 6, and the inputs of the 20 lower-order bits of the divider with (5-Hp + 1) - Go to p-th connected to the inputs of the lower bits of the memory block 7. The inputs of the first, second, third, and fourth terms of summator 8 are connected respectively to the low-order outputs of memory blocks 1 and 2 and to the outputs of memory blocks 6 and 7. The transfer output of the adder 8 is connected to the control input of the encoder 3, the information inputs of which are connected to the codes of the multiplexer 4. The outputs 1 of the higher bits of the adder 8 are connected to the inputs of the higher bits of memory 9 and 10, the outputs of the bits of the adder 8 s ( 1 + 1) - th (1 + t) th - to the junior inputs
разр дов блока 9 пам ти и выходы младших разр дов с (1н-т+1 )-го по п-й- к входам младших разр дов блока 10 пам ти. Выходы блоков 9 и 10 пам ти соединены соответственно с входами первого и Второго слагаемых сумматора 11, выходы которого подключены к информационным входам блока 12 сдвига, управл ющие входы которого соединены с выходами инкрементора 3. Выходы 21 блока сдвига 12 вл ютс информационными выходами устройства.The bits of the memory block 9 and the low-order bits from (1n-t + 1) -th through the n-th to the inputs of the lower bits of the memory block 10. The outputs of memory blocks 9 and 10 are connected respectively to the inputs of the first and second terms of the adder 11, the outputs of which are connected to the information inputs of the shifter 12, the control inputs of which are connected to the outputs of the incrementor 3. The outputs 21 of the shifter 12 are the information outputs of the device.
Устройство работает следующим образом .The device works as follows.
Деление реализуетс по формулеThe division is realized by the formula
С А/В 2A / B 2
eo(j;j,4-feg-2a;eo (j; j, 4-feg-2a;
(1)(one)
Делимое А поступает на входы блоков 1 и 2, которые содержат характеристику и мантиссу соответствующих значений логарифма. В зависимости от значений групп старших, средних и младших разр дов делимого А на инкре- ментор 3 через мультиплексор 4 поступает значение характеристики логарифма из блока 1 (в случае наличи хот бы одного единичного разр да в группе старших и средних разр дов делимого А, что определ ет формирование управл ющего сигнала элементом РШИ 5 дл мультиплексора 4 (или из: блока 2) при нулевом значении старших и средних разр дов делимого А). Значени мантис сы логарифмов и корректирующих функций с выходов блоков 1, 2, 6 и 7 поступают на входы сумматора 8, где реализуетс функци The dividend A is fed to the inputs of blocks 1 and 2, which contain the characteristic and the mantissa of the corresponding logarithm values. Depending on the values of the older, middle and lower-order bits of divisible A, the incrementor 3 through multiplexer 4 receives the characteristic of the logarithm from block 1 (in the case of at least one bit in the older and middle digits of the splittable A, determines the formation of a control signal by the element of RShI 5 for multiplexer 4 (or from: block 2) at zero value of the high and middle bits of the dividend A). The values of the mantis sy logarithms and correction functions from the outputs of blocks 1, 2, 6 and 7 are fed to the inputs of the adder 8, where the function
4040
F(x) F,(x) - F2(x); (2) Fi(x) f(xe,) + 1,(хе.„), (3)F (x) F, (x) - F2 (x); (2) Fi (x) f (xe,) + 1, (xe. „), (3)
где f.(Xj) - значение функции-в узловых точках; значение корректирующей функции.where f. (Xj) is the value of the function at the nodal points; the value of the corrective function.
.(«,т). (", T)
F., (х) F(x).F., (x) F (x).
Если при выполнении (2) в сумматоре 8 возникает перенос, то формируетс управл ющий сигнал дл инкрементора 3, которьш увеличивает на единицу младшего разр да значение характеристики делимого А. Полученное значение разности мантисс логарифмов (2) поступает на входы блоков 9 и 10, которые совместно с сумматором 11 реализуют вычисление экспоненты согласно (1) и (3). На выходах.If, when performing (2) in the adder 8, a transfer occurs, a control signal is generated for the incrementor 3, which increases by one least significant bit the value of the characteristic of the dividend A. The obtained value of the mantis difference of the logarithms (2) goes to the inputs of blocks 9 and 10, which together with the adder 11 implement the calculation of the exponent according to (1) and (3). At the exits.
сумматора 11 устанавливаетс значение частного от делени нормализованных делимого и делител . Так как делимое А - ненормализованное, то значе- ние частного на выходах сумматора 11 необходимо сдвинуть вправо в блоке 12 сдвига на число разр дов, определ емое величиной целой части логарифма частного. Значение частного С от де- лени делимого А и делител В устанавливаетс на выходах блока 12 сдвига через врем Та, определ емое знааadder 11 sets the value of the quotient of the division of the normalized divisible and divisor. Since the divisible A is not normalized, the value of the quotient at the outputs of the adder 11 must be shifted to the right in the shift block 12 by the number of bits determined by the value of the integer part of the logarithm of the quotient. The value of the private C from the division of the divisible A and the divider B is set at the outputs of the shift block 12 in time Ta, defined by
чениемby
Тд. 2t, + 3t + 2 t,.Td. 2t, + 3t + 2 t ,.
(4)(four)
Суммарньй объем пам ти блоков 1, 2,6,7,9 и 10 определ етс какThe total memory capacity of blocks 1, 2, 6, 7, 9 and 10 is defined as
. Q(2N+E,t log,N}) +(2Р, + E,tUog,.N.2 .P,. Q (2N + E, t log, N}) + (2P, + E, tUog, .N.2 .P,
где Р - разр дность корректирующейwhere P is the corrective magnitude
функции; N - разр дность операндов; functions; N is the operand width;
1 1- разр дность адресных входов 1 .соответственно групп старших средних и младших разр дов блоков 1,2,6 и 7;1 1 is the bit width of the address inputs 1. Respectively of the groups of senior middle and junior bits of blocks 1,2,6 and 7;
1,,т„,1, t „,
2- разр дность адресных входов 2-bit address inputs
1 соответственно групп старших , средних и младших разр дов блоков 9 и IО.1, respectively, of the groups of the senior, middle, and junior bits of blocks 9 and IO.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864098844A SU1361545A1 (en) | 1986-07-25 | 1986-07-25 | Division device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864098844A SU1361545A1 (en) | 1986-07-25 | 1986-07-25 | Division device |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1361545A1 true SU1361545A1 (en) | 1987-12-23 |
Family
ID=21249478
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU864098844A SU1361545A1 (en) | 1986-07-25 | 1986-07-25 | Division device |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1361545A1 (en) |
-
1986
- 1986-07-25 SU SU864098844A patent/SU1361545A1/en active
Non-Patent Citations (1)
Title |
---|
Бузунов Ю.А., Вавилов Е.Н. Принципы построени ЦВМ. Киев: Техника, 1972, с,267. Авторское сидетельство СССР № 898424, кл.С 06 F 7/52, 1980. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5262976A (en) | Plural-bit recoding multiplier | |
EP0356153B1 (en) | Radix-2**n divider method and apparatus using overlapped quotient bit selection and concurrent quotient rounding and correction | |
US5132925A (en) | Radix-16 divider using overlapped quotient bit selection and concurrent quotient rounding and correction | |
US4868777A (en) | High speed multiplier utilizing signed-digit and carry-save operands | |
US5784307A (en) | Division algorithm for floating point or integer numbers | |
US4366549A (en) | Multiplier with index transforms modulo a prime or modulo a fermat prime and the fermat prime less one | |
SU1361545A1 (en) | Division device | |
US5206827A (en) | Iterative high radix divider decoding the upper bits of a divisor and dividend | |
US5379244A (en) | Small-sized, low power consumption multiplication processing device with a rounding recoding circuit for performing high speed iterative multiplication | |
JPH086766A (en) | Sine and cosine arithmetic device | |
JP2578482B2 (en) | Floating point arithmetic unit | |
JP2710412B2 (en) | Multiplication / division circuit | |
JP2606326B2 (en) | Multiplier | |
SU1667059A2 (en) | Device for multiplying two numbers | |
RU2753184C1 (en) | Parametrizable single-stroke binary multiplier with fixed dot in direct and auxiliary code | |
RU2764876C1 (en) | Accumulating adder-subtractor modulo random natural number | |
RU205198U1 (en) | A PARAMETRIZABLE SINGLE-STROKE BINARY MULTIPLIER WITH A FIXED DOT IN A DIRECT AND AUXILIARY CODE | |
KR970005175A (en) | Multiplication / Division Sharing Handler Structure Based on Pipeline Structure | |
SU622087A1 (en) | Sine and cosine function digital computer | |
SU736079A1 (en) | Digital function generator | |
SU805303A1 (en) | Digital device for taking antilogarithms | |
SU676986A1 (en) | Digital function generator | |
JP2580413B2 (en) | Multiplication processing unit | |
SU1411742A1 (en) | Floating-point device for adding and subtracting numbers | |
SU1647553A1 (en) | Computing device |