SU1361545A1 - Division device - Google Patents

Division device Download PDF

Info

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
Application number
SU864098844A
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 SU864098844A priority Critical patent/SU1361545A1/en
Application granted granted Critical
Publication of SU1361545A1 publication Critical patent/SU1361545A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/02Digital function generators
    • G06F1/03Digital function generators working, at least partly, by table look-up
    • G06F1/0307Logarithmic or exponential functions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/38Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
    • G06F7/48Methods 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/52Multiplying; Dividing
    • G06F7/523Multiplying only
    • G06F7/5235Multiplying 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)

Формула изобретени Invention Formula Устройство дл  делени , содержащее два блока пам ти логарифмов, первый сумматор, блок пам ти экспонент и блок сдвига, выходы разр дов которого  вл ютс  выходами устройства, входы разр дов делимого устройства с первого по (Т+га)-й (1, m - целые числа ) соединены с соответствующими входами первого блока пам ти логарифмов , входы разр дов делител  устройства с первого по (1+т)-й соединены с соответствующими входами второго блока пам ти логарифмов, выходы млад- A device for dividing, containing two logarithm memory blocks, a first adder, an exponential memory block and a shift block, whose bit outputs are device outlets, the bits of the first to (T + ha) divisible device bits (1, m - integers) are connected to the corresponding inputs of the first memory block of logarithms, the inputs of the divider bits of the device from the first to (1 + t) th are connected to the corresponding inputs of the second memory block of the logarithms, the outputs of the young ших разр дов первого блока пам ти логарифмов и выходы разр дов второго блока пам ти логарифмов соединены с входами первого сумматора, выходы разр дов которого с (1+1)-го поOur bits of the first memory block of logarithms and the outputs of the bits of the second memory block of logarithms are connected to the inputs of the first adder, the outputs of which bits from (1 + 1) to 5five 5five 00 5five 00 .... vv 5five (1+т)-й соединены с соответствующими входами блока пам ти экспонент, отличающеес  тем, что, с целью сокращени  количества оборудовани  , оно содержит два блока пам ти корректирующих значений логарифмов, блок пам ти корректирующих значений экспонент , элемент ИЛИ, мультиплексор , инкрементор и второй сумматор, причем входы разр дов делимого устройства с первого по (1+т) соединены с входами элемента 1-ШИ, выход которого подключен к управл ющему входу мультиплексора информационные входы которого соединены с выходами старших разр дов первого блока пам ти логарифмов и первого блока пам ти корректирующих значений логарифмов соответственно , входы разр дов делимого устройства с первого по Б-й и с (1+т-И)-го по п-й (п - разр дность операндов) соединены с входами первого блока пам ти корректирующих значений логарифмов, входы разр дов делител  устройства с первого по 1-й и с (1+т+1)-го по п-й соединены с . входами второго блока пам ти корректирующих значений логарифмов, выходы младших разр дов первого блока пам ти корректирующих значений логарифмов и выходы разр дов второго блока пам ти корректирующих значений логарифмов соединены с входами первого сумматора, выход переполнени  которого соединен с управл ющим входом ин- крементора, информационные входы которого подключены к выходам разр дов мультиплексора, а выходы соединены с управл ющими входами блока сдвига, информационные входы которого соединены с выходами разр дов второго сумматора, входы разр дов которого соединены с выходами соответствующих разр дов блока пам ти экспонент и блока пам ти корректирующих значений экспонент, выходы разр дов первого сумматора с первого по 1-й соединены с соответствующими входами блока па- .м ти экспонент и блока пам ти коррек-, тирующих значений экспонент, выходы разр дов первого сумматора с (1+т+ +1)-го по п-й соединены с входами блока пам ти корректирующих значений экспонент.(1 + t) th is connected to the corresponding inputs of the exponent memory block, characterized in that, in order to reduce the number of equipment, it contains two memory blocks of correction values of logarithms, a memory block of correction values of exponentials, the OR element, multiplexer, incrementor and the second adder, the inputs of the discharge unit from the first to (1 + t) are connected to the inputs of the 1-SHI element, the output of which is connected to the control input of the multiplexer, whose information inputs are connected to the outputs of the higher first-order bits the logarithm memory block and the first memory block of the logarithm correction values, respectively, the inputs of the bits of the divisible device from the first to the Bth and from (1 + m-I) -th to the n-th (n is the operand width) are connected to the inputs the first memory block of the correction values of the logarithms, the inputs of the bits of the device divider from the first to the 1st and from (1 + t + 1) -th to the nth are connected to. the inputs of the second memory block of correction values of logarithms, the low-order bits of the first memory block of correction values of logarithms and the bits of the second memory block of correction values of logarithms are connected to the inputs of the first adder, the overflow output of which is connected to the control input of the incrementor, information the inputs of which are connected to the outputs of the multiplexer bits, and the outputs are connected to the control inputs of the shift unit, the information inputs of which are connected to the outputs of the bits second the adder, the inputs of the bits of which are connected to the outputs of the corresponding bits of the exponential memory block and the memory block of the correction values of the exponentials, the outputs of the bits of the first adder from the first to the 1st block are connected to the corresponding inputs of the block of the exponents and the memory block the correction values of the exponents, the outputs of the bits of the first adder with (1 + t + +1) -th to the n-th are connected to the inputs of the memory block of the correction values of the exponentials.
SU864098844A 1986-07-25 1986-07-25 Division device SU1361545A1 (en)

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)

Non-Patent Citations (1)

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