SU1262480A1 - Dividing device - Google Patents
Dividing device Download PDFInfo
- Publication number
- SU1262480A1 SU1262480A1 SU853833538A SU3833538A SU1262480A1 SU 1262480 A1 SU1262480 A1 SU 1262480A1 SU 853833538 A SU853833538 A SU 853833538A SU 3833538 A SU3833538 A SU 3833538A SU 1262480 A1 SU1262480 A1 SU 1262480A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- inputs
- outputs
- group
- unit
- block
- Prior art date
Links
Abstract
Изобретение относитс к вычислительной технике и предназначено дл использовани в цифровых арифметических устройствах. Целью изобретени вл етс упрощение устройства. Устройство содеркит регистр делимого, регистр делител , регистр результата, блоки формировани дoпoлнитeльнoio кода и узел генерации 11риближенного значени обратной величины делител , содержащий блок посто нной пам ти, блок формировани кратных, блок суммировани кратных и сумматор с распространением переноса. Результат вычислений формируете за три итерации. 3 ил.The invention relates to computing and is intended for use in digital arithmetic devices. The aim of the invention is to simplify the device. The device contains a register of the dividend, the register of the divider, the register of the result, the blocks of forming the additional code and the node generating 11 the approximate reciprocal of the divider, containing the block of the permanent memory, the block of the multiples, the sum of the multiples and the adder with the spread of the transfer. The result of the calculations is formed in three iterations. 3 il.
Description
юYu
оabout
ts9ts9
nUnU
00 I1 Изобретение относитс к вычислительной технике и предназначено дл использовани в цифровых арифмети 1ес ких устройствах. Целью изобретени вл етс упроще ние устройства. На фиг.1 представлена функциональ на схема устройства дл делени ; на фиг. 2 - j-й интервал разбиени диапазона представлений делител ; на фиг. 3 - структура регистра делител Устройство содержит регистр 1 делимого , регистр 2 делител , регистр 3 результата, блоки 4-8 умножени , блоки 9 и 10 фop rapoвaни дополнительного кода, блок 11 посто нной па м ти, блок 12 формировани кратных, блок 13 суммировани кратных и сумма тор 14 с распространением переноса. Блоки 11 - 13 и сумматор 14 образуют узел 15 генерации приближенного значени обратной величины делител . Блок 12 содержит формирователи 16 кратных. В основу работы узла 15 генерации приближенного значени обратной вели чины делител положен метод кусочнолинейной аппроксимации. Диапазон представлений п-разр дно го делител разбиваетс на 2 рав ных интервалов, где i - число старших разр дов делител , начина ее 2-го по i-й, содержащих номер интервала , в который попадает данный дели тель. Сайый старший разр д делител ( первый) не рассматриваетс , так как его значение всегда 1. D и D , - значени делител , J«1т ограничивающие j-и интервал, а i/Dj и 1/Dj, - соответствующие им значе ни функции Y 1/Х. Аппроксимиро ванное значение функции „, соответствующее некоторому значению делител D, лежащему в данном интервале, определ етс формулой Atgci, .-5U D - D; DJ- D,,1 Подставл (2) в (1), получаем где & I - Л . Значени tgd. всех интервалов могут быть вычислены заранее и размещены в посто нной пам ти. Величина D аппаратно представлена старшими разр дами регистра делител . Величина Л может быть представлена дополнительным кодом разр дов делител , начина с (i+)-ro и конча п-м, или приближенно обратным кодом этих разр дов. Число разр дов величин tg ot и & может быть уменьшено до некоторых значений, обеспечивающих такую точность вычислени Y , котора достаточна дл его дальнейшего использовани в устройстве делени . Поэтому в чейки посто нной пам ти помещаютс усеченные значени tgo, аи замен ютс величиной а , дл представлени которой используютс инверсные выходы группы разр дов регистра делител , а именно с (i+l)-ro по К-й. Тогда выражение (3) принимает вид .. 1 ( D,, +Д ). Усеченные значени tgd., помещаемые в посто нную пам ть, предварительно преобразуютс таким образом, что каждой паре разр дов первоначального значени соответствует пара разр дов преобразованного значени .При этом возможные комбинации пары разр дов преобразованного значени соответствуют следуюшрнм значени м кратных величин (D : +&) О - , . 00-- О 01- (+1) 10- (+2) 11- (-1). Благодар этому, сигналы,полуЧёнше на выходе посто нной пам ти, могут быть поданы на управл ющие входы00 I1 The invention relates to computing and is intended for use in digital arithmetic devices. The aim of the invention is to simplify the device. Figure 1 shows the functional scheme of the device for dividing; in fig. 2 - j-th split interval of the representation of the divisor; in fig. 3 - structure of the register divider The device contains a register of 1 dividend, a register 2 of a divider, a register 3 of the result, blocks 4–8 multiplication, blocks 9 and 10 of the extension of the additional code, block 11 of fixed memory, block 12 of formation of multiples, block 13 of summation multiples and the sum of the torus 14 with the distribution of the transfer. Blocks 11-13 and adder 14 form a node 15 generating an approximate value of the reciprocal of the divider. Block 12 contains 16 multiplier shapers. The basis of the operation of the node 15 of generating an approximate value of the reciprocal of the divider is the method of piece-linear approximation. The range of representations of the n-bit divider is divided into 2 equal intervals, where i is the number of most significant digits of the divider, beginning at its 2nd to i-th, containing the number of the interval in which the divider falls. The most significant bit of the divider (first) is not considered, since its value is always 1. D and D, are the values of the divider, J & T is the limiting j-interval, and i / Dj and 1 / Dj are the corresponding function values Y 1 / X. The approximated value of the function n, corresponding to a certain value of the divider D lying in a given interval, is determined by the formula Atgci,. –5U D - D; DJ- D ,, 1 Substitute (2) into (1), we get where & I - L. Tgd values All intervals can be calculated in advance and placed in the permanent memory. The value of D is hardware represented by the higher bits of the register divider. The value of L can be represented by an additional code of the digit of the divider, starting with (i +) - ro and ending with the nth, or approximately the opposite code of these bits. The number of bits of tg ot and & can be reduced to some values that provide such an accuracy of the calculation of Y, which is sufficient for its further use in the division device. Therefore, truncated tgo values are placed in the fixed memory cells, and are replaced by the value a, for which the inverse outputs of the group of bits of the register of the divider are used, namely, with (i + l) -ro by Kth. Then the expression (3) takes the form .. 1 (D ,, + D). The truncated tgd values placed in the permanent memory are pre-converted in such a way that each pair of bits of the initial value corresponds to a pair of bits of the converted value. At the same time, the possible combinations of a pair of bits of the converted value correspond to the following values of multiple values (D: + &) Oh -,. 00-- O 01- (+1) 10- (+2) 11- (-1). Due to this, signals that are lower than the output of the permanent memory can be fed to the control inputs.
формирователей кратных без дополнительных преобразований.shapers multiple without additional transformations.
Каждый (Ъормирователь 16 кратных из блока 12 под воздействием -пары сигналов, поступающей на его управл ющий вх-од, передает на выход пр мое (+1), сдвинутое на один разр д влево (+2) или инвертированное (-1) значение кода, поступающего на его информационные входы, либо блокирует передачу (0).Each (16 times multiplier from block 12, under the influence of -pairs of signals arriving at its control input-od, sends to the output a direct (+1) shifted one bit to the left (+2) or an inverted (-1) value the code arriving at its informational inputs, or blocks the transmission (0).
Устройство работает следующим образом .The device works as follows.
На регистры 1 и 2 занос тс соответственно делимое и делитель. Семь разр дов делител со 2-го по 8-й поступают на адресный вход блока 11 посто нной пам ти. На выходе блока II посто нной пам ти по вл етс 18-разр дный код, который поступает на управл ющий вход 17 блока 12. Далее кажда пара разр дов этого кода поступает на управл ющий вход соответствующего ей формировател кратных.Registers 1 and 2 are recorded as divisible and divisor, respectively. Seven bits of the divider from the 2nd to the 8th are sent to the address input of the block 11 of the permanent memory. At the output of block II of the permanent memory, an 18-bit code appears, which is fed to the control input 17 of block 12. Next, each pair of bits of this code is fed to the control input of the corresponding shaper.
Разр ды с 1-го по 8-й регистра 2 поступают на первый информационный вход 18, блок 12 и далее на первые информационные входы всех формирователей 16 кратных.The bits from the 1st to the 8th register 2 are fed to the first information input 18, block 12 and further to the first information inputs of all 16 multiples of drivers.
Инверсные выходы группы разр дов с 9-го по 19-й регистра 2 соединены с вторым информационным входом 19 блока 12 и далее со вторыми информационными входами всех формирователей 16 кратных.The inverse outputs of the group of bits from the 9th to the 19th register 2 are connected to the second information input 19 of block 12 and further to the second information inputs of all drivers 16 times.
Коды, поступающие на информационные входы 18 и 19 блока 12, составл ют в совокупности тот код, кратные которого образуютс формировател ми 16 кратных под воздействием сигналов с выхода блока 11 посто нной пам ти и поступающих на их управл ющие вхоДы .The codes arriving at information inputs 18 and 19 of block 12, together form the code, whose multiples are formed by 16 times shapers under the influence of signals from the output of block 11 of the permanent memory and the incoming to their control inputs.
Сформированные кратные суммируютс в дополнительном коде на блоке . 13, с выхода которого двухр дный код подаетс на входы сумматора 14 с распространением переносов. На выходе 20 сумматора 14 с распространением переносов образуетс приближенное значение обратной величины делител Уд .The generated multiples are summed in the additional code on the block. 13, from the output of which the two-code code is fed to the inputs of the adder 14 with the spread of hyphenation. At the output 20 of the adder 14 with the propagation of transfers, an approximate value of the reciprocal of the divider Ud is formed.
В первой итерации в блоке 4 производитс умножение делимого N и параллельно в блоке 5 - делител DIn the first iteration in block 4, the multiplication of the dividend N is performed and in parallel in block 5 - the divider D
на YQ. В результате образуетс новое значение делимого N1 и новое значение делител D1, которое содержит справа от двоичной точки 14 идентичных разр дов - нулей или единиц.on yq. As a result, a new value of the dividend N1 and a new value of the divider D1 are formed, which contains 14 identical bits - zeroes or ones to the right of the binary point.
Во второй итерации в блоке 9 формировани дополнительного кода от 29 старщих разр дов D1 формируетс дополнительный код, на который в блоках 6 и 7 умножаютс N1 и D1, в результате чего образуютс новые значени N2 и D2. При этом D2 будет содержать после первого разр да 28 идентичных разр дов.In the second iteration, in block 9 of the formation of the additional code from the 29 most significant bits of D1, an additional code is generated by which N1 and D1 are multiplied in blocks 6 and 7, as a result of which new values of N2 and D2 are formed. At the same time, after the first discharge, D2 will contain 28 identical bits.
Б третьей итерации в блоке 10 формируетс дополнительный код от D2, на который г блоке 8 умножаетс N2, и результат умножени - частное записываетс в регистр 3 результата.In the third iteration in block 10, an additional code is generated from D2, by which r block 8 is multiplied by N2, and the result of multiplication — the quotient is written into the result register 3.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU853833538A SU1262480A1 (en) | 1985-01-02 | 1985-01-02 | Dividing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU853833538A SU1262480A1 (en) | 1985-01-02 | 1985-01-02 | Dividing device |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1262480A1 true SU1262480A1 (en) | 1986-10-07 |
Family
ID=21154683
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU853833538A SU1262480A1 (en) | 1985-01-02 | 1985-01-02 | Dividing device |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1262480A1 (en) |
-
1985
- 1985-01-02 SU SU853833538A patent/SU1262480A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР 602944, кл. G 06 F. 7/52, 1975. Гаврилов Ю.В. и др. Арифметические устройства быстродействующих ЭЦВМ. - М.: Советское радио, 1970, с.221-224. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU662941A1 (en) | Integer multiplying device | |
SU1262480A1 (en) | Dividing device | |
SU1667059A2 (en) | Device for multiplying two numbers | |
SU920713A1 (en) | Device for multiplying numbers | |
SU1057942A1 (en) | Device for computing values of function y=2@@x | |
SU1291977A1 (en) | Device for calculating values of simple functions in modular number system | |
SU1654814A2 (en) | Multiplier | |
SU1035601A2 (en) | Multiplication device | |
SU717765A1 (en) | Arrangement for computing the sum of products | |
SU1156066A1 (en) | Device for multiplying binary numbers | |
SU991418A2 (en) | Device for multiplication of two n-bit numbers | |
SU1087990A1 (en) | Device for raising to power | |
SU1140114A1 (en) | Device for scaling numbers in residual system notation | |
SU1631554A1 (en) | Device for computing fourier-galoiz transform | |
RU1786484C (en) | Universal adder | |
SU363119A1 (en) | REGISTER OF SHIFT | |
SU1191908A1 (en) | Device for calculating square root function | |
SU807320A1 (en) | Probability correlometer | |
SU1262477A1 (en) | Device for calculating inverse value | |
SU600554A1 (en) | Matrix multiplying device | |
SU1134947A1 (en) | Device for calculating values of polynominal m-th order | |
SU600740A1 (en) | Arrangement for coding information by cyclic code | |
SU1022156A2 (en) | Device for multiplying numbers | |
SU985783A1 (en) | N-bit number multiplication device | |
SU960804A1 (en) | Multiplication device |