SU451088A1 - Device for calculating the values of polynomials - Google Patents

Device for calculating the values of polynomials

Info

Publication number
SU451088A1
SU451088A1 SU1805160A SU1805160A SU451088A1 SU 451088 A1 SU451088 A1 SU 451088A1 SU 1805160 A SU1805160 A SU 1805160A SU 1805160 A SU1805160 A SU 1805160A SU 451088 A1 SU451088 A1 SU 451088A1
Authority
SU
USSR - Soviet Union
Prior art keywords
register
operand
inputs
registers
outputs
Prior art date
Application number
SU1805160A
Other languages
Russian (ru)
Inventor
Виктор Иванович Корнейчук
Владимир Петрович Тарасенко
Богдан Павлович Хижинский
Original Assignee
Киевский Ордена Ленина Политехнический Институт Им.50-Летия Великой Октябрьской Социалистической Революции
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 Киевский Ордена Ленина Политехнический Институт Им.50-Летия Великой Октябрьской Социалистической Революции filed Critical Киевский Ордена Ленина Политехнический Институт Им.50-Летия Великой Октябрьской Социалистической Революции
Priority to SU1805160A priority Critical patent/SU451088A1/en
Application granted granted Critical
Publication of SU451088A1 publication Critical patent/SU451088A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Description

Изобретение относитс  к вычислительной технике и быть применено, например, в цифровых вычислительных машинах (ЦВМ), ностроениых на основе, больших интегральных схем.The invention relates to computing and can be applied, for example, in digital computers (CVMs), but based on large integrated circuits.

Известно вычислительное устройство, предназначенное дл  вычислени  выражени видаA computing device is known for calculating an expression of the form

+ Yn-iX- + ...+ 1, +  + Yn-iX- + ... + 1, +

Оно содержит блок управлени , регистр онерандов, регистр результатов и схемы «И.It contains the control block, the register of onerans, the register of results and the “I.

Вычислени  с помощью этого устройства выражений указанного вида сводитс  к формированию произведений YiX и к последуюш ,ему их сложению (f 1, 2,...). Формирование произведений УД производитс  путем i- 1-кратного умножени  операнда X на себ  п на операнд Yi.Calculations using this device of expressions of this type are reduced to the formation of products YiX and to the subsequent, to him their addition (f 1, 2, ...). The formation of the products of the DD is performed by i- 1-fold multiplying the operand X by itself and by the operand Yi.

В специализированных ЦВМ, где не используютс  принципы программного управлени , вычисл ть выражени  вида + УД1 + YoX° с помошью указанного устройства невозможно, так как в таких ЦВМ отсутствуют команды и, следовательно, нельз  свести вычислени  к многократному умножению и сложению. В ЦВМ с программным управлением при вычислении выражений УпХ + + + . . . + У + с помощью указанного устройства необходимо не менее п раз выполнить команду умножени  и п раз In specialized digital computers where the principles of software control are not used, it is impossible to calculate expressions of the form + UD1 + YoX ° with the aid of this device, since such digital computers lack commands and, therefore, cannot reduce the calculations to multiple multiplication and addition. In software-controlled digital computers when calculating the UpX + + + expressions. . . + Y + using the specified device, you must execute the multiply command and n times at least n times

команду сложени , дл  чего следует 2п раз обратитьс  к запоминающему устройству ЦВМ. Это обуславливает как дополнительиые затраты оборудовани , необходимого дл  хранени  программы вычислений, так и дополнительные затраты времени на обращение к запоминающему устройству.the addition command, for which one should go to the memory of the digital computer 2 times. This causes both the additional costs of the equipment needed to store the program of calculations and the additional time spent on accessing the storage device.

Цель изобретени  - увеличение скорости вычислени  значений полиномов видаThe purpose of the invention is to increase the speed of calculating the values of polynomials

i i

i л оi l o

Сущность изобретени  заключаетс  в том, что в него введены сумматоры и дополнительные регистры, число которых равно стеиени полинома, причем выходы сумматора коэффициента У, (О t п) соединены с одноименными входами регистра коэффициента а выходы этого регистра соединены с одноименными входами сумматора Уг (О t п), к которым соответственно присоединены выходы схем «И, первые входы которых объединены и соединены с выходом младщего разр да регистра коэффициента Уг+1, вторые входы соединены с одноименными выходами регистра операнда, а третьи входы объединены и соединены с соответствующим выходом блока управлени , выход младшего разр да регистра коэффициента УО соединен со входом старшего разр да регистра результата , сдвиговые входы всех регистров, кроме регистра операнда, соединены со сдвиговым выходом блока уиравлеии . На чертеже изображеио иредлагаемое устройство . Оно содержит регистр 1 операнда X; регистр 2 операнда FO; регистр 3 промежуточных результатов; сумматор 4 операндов; регистр 5 результата; схему «И 6 и блок управлени  7. В состав предлагаемого устройства входит регистр 1 операнда X, регистр 2 онеранда УО,   регистров 3 и сумматоров 4 операндов У, (i-1, 2,..., п), регистр 5 результата. Выходы регистра 1 через схемы «И 6 нодключены к входам сумматоров 4. При этом вторые входы сумматоров и их выходы соединены соответственно с выходами и входами регистров операндов Yi. Вторые входы схем «И 6, подключенных к входам сумматора онеранда У;, соединены с выходом младшего разр да регистра операнда Уг+ь а третьи входы всех схем «И 6 св заны с выходами блока управлени  7. Выход младшего разр да регистра 2 операнда УО нодключен к входу регистра 5 результата . Входы ценей сдвига регистров 2, 3, 5 подключены к выходу блока управлени  7. Все регистры операндов Yi, за исключением регистра операнда У„, имеют по т -|- 1 разр дов , где т - число разр дов операпдов X н Yi. Регистр онеранда УП имеет т разр дов. Рассмотрим работу вычислительного устройства . Пусть необходимо вычнслнть 6-5, т. е. Л 5, п 2, Уг 7, У 3, УО 6. Будем считать, что в исходном состо нии операнды X и Yi наход тс  в регистрах 1-3, а в регистре 5 записан нуль. С началом работы устройства блок управлени  7 открывает схемы 6, подключенные к входам сумматора операнда Уг-ь н младший разр д операнда УЯ унравл ет сложением операнда X с содержимым регистра Yn-i- Затем блок унравлени  7 открывает схемы 6, подключенные к входам сумматора онеранда Уп-г, и младший разр д полученной ранее суммы управл ет сложением операнда X с содержимым регистра онеранда Yn-z и т. д. После окончани  сложени  операнда X с содержимым всех п регистров операндов У.; следует сдвиг содержимого регистра 2, 3 и 5. Сдвиг производитс  вправо на один разр д. При этом из регистра 2 операнда Уд в регистр 5 результата неренишетс  младша  цифра результата. Далее процесс повтор етс  (т. е. второй разр д онеранда УП управл ет сложением операнда /Y с содержимым регистра операнда У„-1 и т. д.) до тех пор, пока не будут сформированы все )т разр дов результата. Дл  указанных значений X, Y и п процесс вычислений можно проиллюстрировать следуюшей таблицей состо ний регистров устройства, где ФСУо и OCYi - формпрованне содержимого регистров операндов УоУьThe essence of the invention is that adders and additional registers are entered in it, the number of which is equal to the polynomial, the outputs of the adder Y, (O t p) are connected to the same inputs of the register of the coefficient and the outputs of this register are connected to the same inputs of the adder U (O t p), to which, respectively, are the outputs of the circuits “AND, the first inputs of which are combined and connected to the output of the lower bit of the register of coefficient U1 + 1, the second inputs are connected to the same outputs of the register of the operand, and t The inputs are connected and connected to the corresponding output of the control unit, the low-order output of the EI coefficient register is connected to the high-level input of the result register, the shift inputs of all registers except the operand register are connected to the shift output of the uravleia unit. In the drawing, the image and the proposed device. It contains the register 1 operand X; register 2 operand fo; register 3 intermediate results; adder 4 operands; result register 5; The circuit "AND 6 and the control unit 7. The structure of the proposed device includes the register 1 of the operand X, the register 2 of the operand UO, the registers 3 and the adders 4 of the operands Y, (i-1, 2, ..., p), the register 5 of the result. The outputs of register 1 through the circuit "And 6 are connected to the inputs of the adders 4. In this case, the second inputs of the adders and their outputs are connected respectively to the outputs and inputs of the operand registers Yi. The second inputs of the circuits “AND 6” connected to the inputs of the adder of the ONERAND ;, are connected to the output of the low bit of the register of the operand U +, and the third inputs of all the schemes of “AND 6 are connected to the outputs of the control unit 7. The output of the low order of the register 2 operand of the RO is connected to the input of register 5 of the result. The inputs of the shift registers 2, 3, 5 are connected to the output of the control unit 7. All the operand registers Yi, with the exception of the operand register Ui, have m - | - 1 bits, where m is the number of bits of the operands X and Yi. The ONERAND register has t bits. Consider the operation of the computing device. Let it be necessary to calculate 6-5, i.e. L 5, n 2, U 7, Y 3, PP 6. We will assume that in the initial state the operands X and Yi are in registers 1-3, and in register 5 recorded zero. With the start of operation of the device, the control unit 7 opens the circuits 6 connected to the inputs of the adder of the operand Ug and the low-order bit of the operand YU is added by adding the operand X to the contents of the register Yn-i- Then the control unit 7 opens the circuits 6 connected to the inputs of the onrand accumulator F-r, and the least significant bit of the previously obtained amount controls the addition of the operand X with the contents of the onrand register Yn-z, etc. After completing the addition of the operand X with the contents of all n registers of V operands; a shift of the contents of the register 2, 3 and 5 follows. The shift is made to the right by one bit. At the same time, from the register 2 operands Oud to the register 5 of the result the lower digit of the result is not reduced. Further, the process is repeated (i.e., the second bit of the oneranda, the UE controls the addition of the operand / Y with the contents of the register of the operand Y -1, etc.) until all is formed) t and the bits of the result. For the indicated X, Y, and n values, the computation process can be illustrated by the following state table of device registers, where FSU and OCYi are formated to the contents of the registers of operands Woo

РегистрыRegisters

Из рассмотренного примера видно, что с номощыо устройства можно вычислить и выражение видаFrom the considered example it is clear that with the help of the device it is possible to calculate the expression

УД/ + + ... + У,Х + Vo,UD / + + ... + Y, X + Vo,

где / п. Дл  этого перед началом вычислений необходимо номещать онеранды У; в регистры , номера которых соответствуют индексам i, а в остальные п - / регистров онерандов необходимо записать нули. С номощыо описанного устройства можно также вычнслнть выражени  внда У- (5 п), дл  чего операнд У записываетс  в регистр, помер которого равен 5 а в остальные регнстры заиисываютс  нули.where / n. To do this, before starting the calculations, it is necessary to add the U slopes; the registers whose numbers correspond to the indices i, and the remaining n - / registers of nonerans must write zeros. With the device described above, it is also possible to extract the expressions vnda Y- (5 n), for which the operand V is written to the register, whose dead time is 5, and zeros are written to the other registers.

Регистр 5 результата не об зательно должен иметь (п + )т разр дов, так как п+ 1 старших разр дов результата могут находнть (   в регистре операнда УОПро д м е т и 3 о б р е т е п и   Устройство дл  вычислени  значений ноли/;The result register 5 does not necessarily have to have (n +) t bits, since the n + 1 most significant bits of the result can be found (in the register of the operative transducer, there is a memory and 3 bp and a device for calculating the values zeros /;

номов вида V yiA, содержан1ее блок управле (1-0Nomes of the type V yiA, contained in the control unit (1-0

ПИЯ, регистр операндов, регистр результатов, схемы «И, отличающеес  тем, что, с целью увелнчени  скорости вычнсленн , в него введены сумматоры н дополнительные регистры , число которых равно степени полинома , причем выходы сумматора коэффицнента У; (О t 5 п) соединены с одноименными входами регистра коэффициента У,--1, а выходы этого регистра соединены с одноименными входами сумматора У,- (О t : га), к которым соответственно присоединены выходы схем «И, первые входы которых объединены и соединены с выходом младщего разр да регистра коэффициента У;+ь вторые входы соединены с одноименными выходами регистра операнда, а третьи входы объединены и соединены с соответствующим выходом блока уиравлени , выход младшего разр да регистра коэффициента УО соединен с входом старшего разр да регистра результата, сдвиговые в.ходы Бсех регистров, кроме регистра онеранда , соединены со сдвиговым выходом блока унравленн .PIA, register of operands, register of results, schemes “And, characterized in that, in order to increase the speed, it is calculated, adders and additional registers are entered in it, the number of which is equal to the degree of the polynomial, and the outputs of the adder coefficient Y; (O t 5 p) are connected to the same inputs of the register of the coefficient U, - 1, and the outputs of this register are connected to the same inputs of the adder U, - (O t: ha), to which respectively the outputs of the I circuits are connected, the first inputs of which are combined and connected to the output of the lower part of the register of the coefficient Y; + ь the second inputs are connected to the same outputs of the register of the operand, and the third inputs are combined and connected to the corresponding output of the accumulator, the output of the lower bit of the register of the coefficient of the operative index is connected to the input of the higher bit of the register The result of the result, the shift entries of the Bseh registers, except for the Onirand register, are connected to the shift output of the unit by an unravlenn.

, 33

JJ

SU1805160A 1972-07-03 1972-07-03 Device for calculating the values of polynomials SU451088A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU1805160A SU451088A1 (en) 1972-07-03 1972-07-03 Device for calculating the values of polynomials

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU1805160A SU451088A1 (en) 1972-07-03 1972-07-03 Device for calculating the values of polynomials

Publications (1)

Publication Number Publication Date
SU451088A1 true SU451088A1 (en) 1974-11-25

Family

ID=20520307

Family Applications (1)

Application Number Title Priority Date Filing Date
SU1805160A SU451088A1 (en) 1972-07-03 1972-07-03 Device for calculating the values of polynomials

Country Status (1)

Country Link
SU (1) SU451088A1 (en)

Similar Documents

Publication Publication Date Title
US3777132A (en) Method and apparatus for obtaining the reciprocal of a number and the quotient of two numbers
US3202805A (en) Simultaneous digital multiply-add, multiply-subtract circuit
US3290493A (en) Truncated parallel multiplication
US3234366A (en) Divider utilizing multiples of a divisor
JPH05250146A (en) Arithmetic operation circuit executing integer involution processing
US3249745A (en) Two-register calculator for performing multiplication and division using identical operational steps
SU451088A1 (en) Device for calculating the values of polynomials
US3036770A (en) Error detecting system for a digital computer
JPS62113236A (en) Circuit for determining root function
JPH0479015B2 (en)
JPH04270415A (en) High-performance adder
US3311739A (en) Accumulative multiplier
JPH0628155A (en) Method and apparatus for division
GB1064518A (en) Electronic four-rule arithmetic unit
GB1014628A (en) Data processing system
US3500027A (en) Computer having sum of products instruction capability
US4075705A (en) Calculator for determining cubic roots
Ashenhurst The Maniac III arithmetic system
US3982112A (en) Recursive numerical processor
Wilkes The design of a practical high-speed computing machine. The EDSAC
JPH0820942B2 (en) Fast multiplier
US3254204A (en) Digital divider for integer and remainder division operations
US3249747A (en) Carry assimilating system
GB945773A (en) Variable increment computer
US3500383A (en) Binary to binary coded decimal conversion apparatus