SU408305A1 - DEVICE FOR EXTRACTING SQUARE ROOT - Google Patents

DEVICE FOR EXTRACTING SQUARE ROOT

Info

Publication number
SU408305A1
SU408305A1 SU1368320A SU1368320A SU408305A1 SU 408305 A1 SU408305 A1 SU 408305A1 SU 1368320 A SU1368320 A SU 1368320A SU 1368320 A SU1368320 A SU 1368320A SU 408305 A1 SU408305 A1 SU 408305A1
Authority
SU
USSR - Soviet Union
Prior art keywords
register
output
unit
input
adder
Prior art date
Application number
SU1368320A
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 SU1368320A priority Critical patent/SU408305A1/en
Application granted granted Critical
Publication of SU408305A1 publication Critical patent/SU408305A1/en

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Description

1one

Изобретение относитс  к вычислительной технике и предназначено дл  использовани  в электронных вычислительных машинах последовательного действи  и, в частности, в электронных клавишных вычислительных машинах , выполн ющих операцию умножени  и работаюш,их в дес тичной системе счислени .The invention relates to computing and is intended for use in electronic computers of sequential operation and, in particular, in electronic keyboard computers that perform the operation of multiplying and working them in the decimal number system.

Известны устройства дл  извлечени  квадратного корн , в которых используетс  способ, основанный на свойствах р да нечетных чисел.Square root extraction devices are known that use a method based on properties of a number of odd numbers.

Однако в известных устройствах при вычислении квадратного корн  используетс  только один сумматор и три оперативных регистра . В св зи с этим количество элементарных циклов сложени , требуемых дл  определени  очередного разр да результата равно, по меньшей мере, удвоенной цифре этого разр да .However, in known devices, when calculating a square root, only one adder and three operational registers are used. Therefore, the number of elementary addition cycles required to determine the next bit of the result is at least twice the digit of this bit.

Целью изобретени   вл етс  повышение быстродействи  устройства и сокращение объема оборудовани .The aim of the invention is to increase the speed of the device and reduce the amount of equipment.

Дл  этого устройство содержит дополнительный сумматор, входы которого соединены с выходом первого оперативного регистра и с блоком вычислени  корн , а выход - соответственно со входами блока инверторов и блока циркул ции, выход которого соединен со входом первого оперативного регистра,For this, the device contains an additional adder, the inputs of which are connected to the output of the first operational register and to the root calculation unit, and the output respectively to the inputs of the inverter unit and the circulation unit, the output of which is connected to the input of the first operational register,

выход второго оперативного регистра через блок инверторов соединен со входом сумматора , второй вход которого соединен с выходом блока инверторов, выход сумматора соединен со входом второго оперативного регистра и входом блока вычислени  корн , другие входы которого соединены соответственно с выходами блока знака, второго блока зап тых, счетчика и дополнительногоthe output of the second operational register is connected via an inverter unit to the input of the adder, the second input of which is connected to the output of the inverter unit, the output of the adder is connected to the input of the second operational register and the input of the root calculation unit, the other inputs of which are connected respectively to the outputs of the sign unit, the second comma unit, counter and additional

сумматора, выход блока вычислени  корн  соединен со входом первого блока зап тых, блока умножени , блоков инверторов и второго оперативного регистра.adder, the output of the calculation unit of the root is connected to the input of the first comma unit, the multiplication unit, the inverter units and the second operational register.

Кроме того, блок вычислени  корн  содержит схему блокировки, выход которой соединен со схемой определени  зап той, выход схемы определени  зап той соединен со входом схемы управлени  сложени  - вычитанием , выход которой соединен через схемуIn addition, the root computing unit contains a blocking circuit, the output of which is connected to the definition circuit of the comma, the output of the definition circuit of the computation is connected to the input of the add-on control circuit, the output of which is connected via the circuit

управлени  вспомогательным регистром со входами вспомогательного регистра, второй выход схемы управлени  сложением - вычитанием соединен со входом схемы формировани  константы.control of the auxiliary register with the inputs of the auxiliary register, the second output of the control circuit of addition - subtraction is connected to the input of the circuit of formation of a constant.

Изобретение по снено чертежами.The invention is illustrated in the drawings.

На фиг. 1 приведена блок-схема устройства; на фиг. 2 - функциональна  схема блока вычислени  корн . Устройство дл  извлечени  квадратногоFIG. 1 shows a block diagram of the device; in fig. 2 - functional block diagram of the calculation of the root. Square ejector

корн  содержит оперативный регистр 1, до3 полнительный сумматор 2, блок циркул ции 3, оперативный регистр 4, блок инверторов 5, сумматор 6, блок инверторов 7, блоки зан тых 8, 9, блок знака 10, блок вычислени  , корн  П, счетчик 12, блок умнож;ени  13.5 Устройство работает следующим образом. Будем считать, что числа представлены в двоично-дес тичном коде с избытком три с естественной зап той, так что дл  хранени  цифровой части числа используетс  оператив-Ю ный регистр, а дл  хранени  положени  зап той - блок зан той, выполненный в виде счетчика. Рассмотрим вначале цепи циркул ции ин-15 формации в предположени, что используютс  только два оперативных регистра. При циркул ции информации в оперативном регистре 1 очередной дес тичный разр д с -выхода регистра поступает в дополнитель-20 ный сумматор 2. С выхода сумматора 2 информаци  поступает в блок циркул ции 3, откуда подаетс  на вход регистра 1. При циркул ции информации в оперативном регистре 4 очередной дес тичный разр д с выхода ре-25 гистра поступает в блок инверторов 5, откуда подаетс  в сумматор 6. С выхода сумматора 6 информаци  поступает в регистр 4. При сложении или вычитании запускаетс  циркул ци  информации в обоих оперативных ре-30 гистрах 1 и 4, причем с выхода дополнительного сумматора 2 информаци  поступает в блок инверторов 7. В зависимости от того, производитс  сложение или вычитание с выхода блока 7 информаци  в пр мом или об-35 ратном коде поступает на вход сумматора 6, причем дл  образовани  дополнительного кода к сумматору 6 добавл етс  «1. В результате в регистре 4 образуетс  сумма или разность.40 Пусть регистр 1 и соответствующий ему блок зап той 8 сброшены на нуль (не содержат информации), а исходное число (подкоренное выражение) хранитс  в регистре 4 и в соответствующем ему блоке зап той 9. Знак45 исходного числа хранитс  в блоке знака 10. Рассмотрим общее взаимодействие блоков устройства при извлечении квадратного корн . Вначале по положению зап той исходного -числа в блоке зап той 9 в блоке зап той 850 определ етс  положение зап той результата. Затем запускаетс  вычитание, причем в соответствующий момент времени из блока вычислени  корн  11 в дополнительный сумматор 2 поступает «1, в результате чего из55 старшего разр да или двух старших разр дов числа, наход щегос  в регистре 4, вычитаетс  «1 и в регистр 1 заноситс  «1. При следующем цикле вычитани  в сумматор 2 из блока вычислени  корн  11 поступает «2,60 в результате чего из регистра 4 вычитаетс  «3 и в регистре 1 образуетс  цифра «3. При дальнейших циклах вычитани , в сумматор 2 из блока И поступает «2 до тех пор, пока из сумматора 6 в блок вычислени  кор-65 4 ни 11 не поступит сигнал отсутстви  переноса . В этом случае запускаетс  сложение, причем на вход дополнительного сумматора 2 из блока вычислени  корн  11 информаци  не поступает. В результате этого производитс  восстановление остатка с одновременным сдвигом содержимого регистра 4 на один разр д влево. В то же врем  из блока И посылаетс  «1 в счетчик 12, который определ ет момент.времени выработки в блоке 11 соответствующего кода дл  подачи в сумматор 2. После этого вновь начинаетс  процесс вычитани , причем в первом цикле при занесении «1 в разр д с номером k производитс  вычитание «1 из разр да с номером +1По окончании процесса в регистре 1 образуетс  удвоенное значение корн . Дл  получени  окончательного результата в регистре 4 формируетс  константа 0,5 и запускаетс  блок умножени  13. Очевидно, что это требует меньше времени, чем деление на «2. В результате в регистре 4 получаетс  искомое значение квадратного корн . Существенным отличием данного устройства  вл етс  то, что за один цикл вычитани  в оперативном регистре 1 образуетс  сумма предыдущего числа с «2, а в регистре 4 - разность предыдущего содержимого регистра 4 и нового содержимого регистра,2. Рассмотрим подробнее процесс вычислени  квадратного корн , счита , что в качестве дополнительного сумматора 2 используют четырехразр дный двоичный сумматор комбинационного типа. Сигнал «Корень по входу 14 (см. фиг. 2) запускает схему блокировки 15. Если по выходу 16 из блока знака 10 поступает сигнал о том, что число в регистре 4 меньше нул . то по выходу 17 запускаетс  вывод и дальнейшее выполнение операции блокируетс , Если знак положителен, то по выходу 18 запускаютс  регистр 1 и блок 3 дл  циркул ции информации в регистре 1 и блоке 9, а по шине 19 запускаетс  схема определени  зап той 20. В схему 20 поступают по входу 21 сигнал из блока зап той 9 и по входу 22 - четные тактовые импульсы (разр дные) из тактового устройства (не показано). Схема 20 обеспечивает выработку импульсов , которые по выходу 23 поступают на счетный вход блока зап той 8, в результате чего в последнем формируетс  положение зап той удвоенного значени  корн . Пусть, например, 16-разр дное число расположено в 19-разр дном регистре таким образом, что самый старший (19-ый) разр д и два самых младших (1-ый и 2-ой) разр ды свободны. Тогда сигнал из схемы 20 по выходу-24 запускает счетчик 12 таким образом, что импульс с его выхода соответствует 17-му разр ду. Если же количество цифр числа, расположенных слева от зап той, четное, то схема 20 посылает дополнительно по одному импульсу в блок зап той 8 по выходу 23 и в счетчик 12 по выходу 24, в результате чего импульс со счетчика 12 будет соответствовать 16-му разр ду. После этого по шине 25 запускаетс  схема 26 управлени  сложением - вычитанием. В дальнейшем блоки 8 и 9 в процессе определени  удвоенного значени  квадратного корн  не участвуют, причем блок 9 сброшен на нуль, а блок 8 хранит положение зап той удвоенного значени  корн .The root contains operational register 1, up to 3 additional adder 2, circulation unit 3, operational register 4, block of inverters 5, adder 6, block of inverters 7, blocks occupied 8, 9, block of sign 10, calculation block, root P, counter 12 , block multiplying; 13.5 The device operates as follows. We assume that the numbers are represented in binary-decimal code with an excess of three with a natural comma, so that the operational register is used to store the digital part of the number, and the occupied block is made in the form of a counter for storing the position of the comma. Consider first the circulation circuits of the information-15 formation under the assumption that only two operational registers are used. When information is circulated in the operational register 1, the next decimal bit from the output of the register enters the additional-20 adder 2. From the output of the adder 2, information enters the circulation unit 3, from where it is fed to the input of register 1. When information is circulated operational register 4, the next decimal bit from the output of the register 25 enters the inverter unit 5, from where it is fed to the adder 6. From the output of the adder 6, information enters the register 4. When you add or subtract, information is circulated in both operational re-30 gistrah 1 and 4, and from the output of the additional adder 2, the information enters the inverter block 7. Depending on whether addition or subtraction is done from the output of the block 7, the information in the forward or rev 35 code is fed to the input of the adder 6, and to form an additional code to adder 6 is added to "1. As a result, in register 4, a sum or difference is formed.40 Let register 1 and the corresponding block of comma 8 be reset to zero (do not contain information), and the initial number (root expression) is stored in register 4 and in the corresponding block of comma 9. The sign 45 of the original number is stored in the sign block 10. Consider the general interaction of the blocks of the device when extracting the square root. First, the position of the initial result number is determined from the position of the original number in the block of comma 9 in the block of commander 850. Then subtraction is started, and at the appropriate time from the calculator root 11 to the additional adder 2 enters "1, as a result of which from 55 the highest bit or two high bits of the number in register 4 is subtracted" 1 and in register 1 is entered "one. During the next subtraction cycle, the accumulator 11 enters the adder 2 from the computation block 2,60, as a result of which 3 is subtracted from the register 4 and 3 is formed in the register 1. On further subtraction cycles, the adder 2 from block I receives 2 until a signal of no transfer arrives from the adder 6 to the calculator core-65 4. In this case, the addition is started, and the input of the additional adder 2 from the calculation unit of the root 11 does not receive information. As a result, the residue is restored with a simultaneous shift of the contents of register 4 by one bit to the left. At the same time, from block I is sent “1” to counter 12, which determines the time of generation in block 11 of the corresponding code for submission to adder 2. After this, the subtraction process starts again, and in the first cycle when entering “1 into” The number k is subtracted. "1 from the bit number + 1. At the end of the process in register 1, a double root value is formed. To obtain the final result, a constant of 0.5 is generated in register 4 and multiplication unit 13 is started. Obviously, this takes less time than dividing by. As a result, in register 4, the desired square root value is obtained. The essential difference of this device is that in one subtraction cycle in operational register 1 the sum of the previous number is formed with "2, and in register 4 - the difference between the previous contents of register 4 and the new contents of the register, 2. Let us consider in more detail the process of calculating the square root, assuming that a four-bit binary combiner type is used as an additional adder 2. The signal "Root on input 14 (see Fig. 2) triggers blocking circuit 15. If on output 16 of the block of character 10, a signal is received that the number in register 4 is less than zero. then output 17 starts the output and further execution of the operation is blocked. If the sign is positive, then register 1 and block 3 are started on output 18 to circulate information in register 1 and block 9, and the bus 19 is started via bus 19. 20 are received at the input 21 of the signal from the block 9 and at the input 22 - even clock pulses (bit) from the clock device (not shown). The circuit 20 provides the generation of pulses, which at the output 23 are fed to the counting input of the block 8, as a result of which in the latter the position of the comma of the double root value is formed. Let, for example, the 16-bit number be located in the 19-bit register in such a way that the most senior (19th) bit and two of the youngest (1st and 2nd) bits are free. Then the signal from circuit 20 at output-24 starts the counter 12 in such a way that the pulse from its output corresponds to the 17th bit. If the number of digits located to the left of the comma is even, then the circuit 20 sends an additional one pulse to the comma 8 block at output 23 and counter 12 at output 24, with the result that the pulse from counter 12 will correspond to the 16th discharge Thereafter, the addition / subtraction control circuit 26 is started up via bus 25. Subsequently, blocks 8 and 9 do not participate in the process of determining the doubled square root value, and block 9 is reset to zero, and block 8 stores the position of the com- plete doubled root value.

Схема 26 по выходу 27 запускает регистр 4 и блок 5 дл  циркул ции информации в регистре 4 и по выходу 28 обратный код в блоке инверторов 7 дл  вычитани . Одновременно по шине 29 запускаетс  схема 30 управлени  вспомогательным регистром. Сигнал со счетчика 12 по входу 31 поступает на схему 30, в результате чего последн   по шине 32 заносит во вспомогательный регистр 33 код 0100 (константа 1 в коде 8421-3). Вспомогательный регистр 33 состоит из четырех триггеров. Занесение кода 0100 производитс  по такту Т4, причем в устройстве используетс  восемь тактов Т: от Г1 до Т8. Так как в регистре 1 в первоначальный момент не содержитс  никакой информации, то на входы дополнительного сумматора 2 подаютс  из регистра 1 - код 0000 и из вспомогательного регистра 33 - код 0100 по выходу 34. В результате в блок 3 и в блок инверторов 7 по такту Т1 (клапанирование производитс  непосредственно в блоках 3 и 7) поступает код 0100 (цифра «1).Circuit 26, at output 27, triggers register 4 and block 5 to circulate the information in register 4 and at output 28, the reverse code in inverter unit 7 for subtraction. At the same time, the auxiliary register control circuit 30 is started up via bus 29. The signal from counter 12 to input 31 is fed to circuit 30, as a result of which the latter, via bus 32, enters auxiliary register 33 with code 0100 (constant 1 in code 8421-3). Auxiliary register 33 consists of four triggers. The entry of code 0100 is performed according to T4 clock, and the device uses eight T clock cycles: from G1 to T8. Since register 1 does not contain any information at the initial time, the inputs of additional adder 2 are fed from register 1 to code 0000 and from auxiliary register 33 to code 0100 on output 34. As a result, in block 3 and in inverter unit 7 T1 (valveing is performed directly in blocks 3 and 7) the code 0100 is received (the digit " 1).

Пусть импульс со счетчика 12 вначале соответствовал 16-му разр ду. Если 19-ти разр дам регистра соответствуют 19-ть тактовых импульсов А (от А1 до А19), то занесение кода 0100 во вспомогательный регистр 33 производитс  по такту 74Л16, а в блоки 3 и 7 код 0100 поступает по Г1Л17. В результате происходит занесение цифры «1 в 17-й разр д регистра 1 и вычитание «1 из содержимого регистра 4. Кроме того, по Г4Л17 схема 30 вырабатывает код ООП и по входу 31 заносит его во вспомогательный регистр 33. В результате этого в регистр 1 по TlAlS заноситс  код ООП (код нул ), что необходимо в св зи с возможностью переноса при слет дующих циклах от 17-го в 18-й разр д регистра 1. Занесение кода ООП произойдет только.при использовании кода 8421-3 и только в 18-й или 19-й разр ды регистра 1. В этом случае цикл работы длитс  от до Г8Л19Let the pulse from counter 12 first correspond to the 16th bit. If the 19 bits of the register correspond to the 19 clock pulses A (from A1 to A19), then the code 0100 is written to the auxiliary register 33 in the 74L16 cycle, and in blocks 3 and 7, the code 0100 is received in G1L17. As a result, the digit “1 in the 17th register bit 1 and subtraction“ 1 from the register 4 is recorded. In addition, in G4L17, circuit 30 generates an OOP code and enters it in auxiliary register 33 on input 31. As a result, 1 by TlAlS, the OOP code (code zero) is entered, which is necessary in connection with the possibility of transfer during the following cycles from the 17th to the 18th digit of the register 1. The OOP code will occur only. When using code 8421-3 and only in the 18th or 19th bits of the register 1. In this case, the work cycle lasts from to G8L19

В дальнейшем к 17-му разр ду регистра 1 необходимо прибавл ть цифру «2, причем может иметь место перенос в следующий (18-ый) разр д.In the future, to the 17th bit of register 1 it is necessary to add the digit "2, and there may be a transfer to the next (18th) bit.

Дл  осуществлени  сложени  содержимого 17-го разр да с цифрой «2 схема ЗО работает следующим образом.In order to add the contents of the 17th bit to the number 2, the AOR scheme works as follows.

По Г4Л16 во вспомогательный регистр 33 заноситс  код 0100. Сброс вспомогательного регистра 33 производитс  посто нным тактовым импульсом Т2 и в младший разр д регистра (1-й разр д) код очередного разр да заноситс  также по 72, так как оперативные регистры 1 и 4  вл ютс  сдвиговыми регистрами . Тогда при сложении содержимого 17-го разр да регистра 1 и кода 0100 могут быть два случа  в зависимости от наличи  или отсутстви  переноса из дополнительного сумматора 2. Пусть, например, в 17-ом разр де регистраAccording to G4L16, the code 0100 is entered into the auxiliary register 33. The auxiliary register 33 is reset by a constant clock pulse T2 and the lower bit of the register (1st bit), the next bit code is also entered in 72, because the operational registers 1 and 4 are shift registers. Then, when adding the contents of the 17th bit of register 1 and code 0100, there may be two cases depending on the presence or absence of transfer from the additional adder 2. Suppose, for example, in the 17th bit of the register

1 находитс  цифра «9 (код 1100). Тогда при сложении кодов 1100 и 0100 образуетс  перенос , который по шине 35 по Г5Л16 поступает в схему 30 управлени  вспомогательным регистром , где и запомипаетс  на специальном1 is the digit "9" (code 1100). Then, when adding the codes 1100 and 0100, a transfer is formed, which on the bus 35 through G5L16 enters the auxiliary register control circuit 30, where it is stored on a special

триггере. По Г6Л16 из схемы 30 производитс  дополнительный сброс вспомогательного регистра 33 по шине 36. По Г7Л16 схема-30 вырабатывает код 1000 и по щине 31 подает его во вспомогательный регистр 33. При сложении кодов 1100 и 1000 в дополнительном сумматоре 2 образуетс  код 0100 (цифра «1) и перенос в следующий разр д. Этот сигнал переноса нигде не используетс , так как специальный триггер в схеме 30 уже хранитtrigger According to G6L16 from circuit 30, an additional reset of auxiliary register 33 is performed via bus 36. According to G7L16, circuit-30 generates code 1000 and sends it to auxiliary register 33 via bus 31. When adding codes 1100 and 1000, code 0100 is generated in additional adder 2 (digit 1) and transfer to the next bit. This transfer signal is not used anywhere, since a special trigger in circuit 30 already stores

перенос. Затем по схема 30 сбрасывает по шине 36 вспомогательный регистр 33 и по Т4А17 заносит по входу 31 во вспомогательный регистр код 0001. В результате этого в регистре 1 образуетс  число «11,transference. Then, by the circuit 30, the auxiliary register 33 is dropped on the bus 36 and on T4A17, the code 0001 enters the auxiliary register on input 31. As a result, the number 11 in the register 1 is formed

а из содержимого регистра 4 вычитаетс  «11. Пусть, например, в 17-ом разр де регистра 1 находитс  цифра 5 (код 1000). Тогда при сложении кодов 1000 и 0100 перенос не образуетс . По Г6Л16 вспомогательный регистр 33 сбрасываетс , и по Т7Л16 схема 30 вырабатывает код 0010, который по входу 31 подаетс  во вспомогательный регистр 33. При сложении кодов 1000 и 0010 в дополнительном сумматоре 2 образуетс  код 1010 (цифра 7).and 11 is subtracted from the contents of register 4. Let, for example, the 17th digit of the register 1 contains the number 5 (code 1000). Then, when adding the codes 1000 and 0100, the transfer is not formed. Along G6L16, auxiliary register 33 is cleared, and by T7L16, circuit 30 generates code 0010, which is fed to input auxiliary register 33 at input 31. When the codes 1000 and 0010 are added, additional code 2 forms code 1010 (digit 7).

Этот процесс продолжаетс  до тех пор, пока- в результате очередного вычитани  в регистре 4 не получитс -отрицательное число.This process continues until, as a result of the next subtraction in register 4, a negative number is obtained.

Тогда из сумматора 6 в схему 26 управлени  сложением - вычитанием по шине 37 поступает сигнал отсутстви  переноса; в следующем цикле схема 26 по выходу 28 гасит обр-атный код в блоке инверторов 7 и запускаетThen from the adder 6 to the circuit 26 control the addition - subtraction on the bus 37 receives a signal of no transfer; in the next cycle, the circuit 26 on the output 28 suppresses the reverse code in the inverter unit 7 and starts

в нем пр мой код. В цикле сложени  производитс  сдвиг содержимого регистра 4 на один разр  д влево, а в счетчик 12 но выходу 38 добавл етс  «1, в результате чего импульс с этого счетчика будет с этого моментаit's got my code in it. In the cycle of addition, the contents of register 4 are shifted by one bit to the left, and in counter 12 but output 38 is added, "1, as a result of which the pulse from this counter will be

соответствовать 15-му разр ду, а в регистре 4 восстанавливаетс  положительный остаток. Тогда схема 30 по входу 31 заносит в регистр 33 код 0100 по такту 74Л15, в результате чего в 16-й разр д регистра 1 заноситс  «1.correspond to bit 15, and in register 4, the positive balance is restored. Then the circuit 30 at the input 31 enters into the register 33 the code 0100 according to the cycle 74Л15, as a result of which in the 16th bit of the register 1 it is entered "1.

Кроме того, по 74Л16 схема 30 по входу 31 заносит во вспомогательный регистр 33 код 1111, причем в дополнительном сумматоре 2 при сложении вырабатываетс  перенос в следующий разр д, который блокируетс  в схемеIn addition, by 74Л16 circuit 30 at input 31 enters the auxiliary register 33 with the code 1111, and in the additional adder 2, adding adds a transfer to the next bit, which is blocked in the circuit

30 управлени  вспомогательным регистром,30 auxiliary register management,

В результате этого из содержимого 17-го разр да регистра 1 вычитаетс  «1.As a result, "1." Is subtracted from the contents of the 17th bit of register 1.

После этого весь процесс повтор етс  до тех пор, пока вторично в схему 26 по шине 37 не придет сигнал отсутстви  переноса из сумматора 6. Затем вновь произойдет восстановление остатка (цикл сложени ), сдвиг счетчика 12 и т. д. При переходе счетчика 12 на 1-й разр д вычитание «1 из содержимого 2-го разр да регистра 1 производитс  одновременно с циклом сложени , так что в результате сложени  восстановлени  остатка не происходит. На этом процесс определени  удвоенного значени  квадратпого корн  заканчиваетс  и схема 26 управлени  сложением - вычитанием по шине 39 запускает схему 40 формировани  константы.After that, the whole process is repeated until the signal to the circuit 26 via bus 37 is not received again for the absence of transfer from the adder 6. Then the restoring again occurs (addition cycle), the counter is shifted 12, and so on. The 1 st bit subtraction of "1 from the contents of the 2 nd bit of register 1 is performed simultaneously with the addition cycle, so that as a result of the addition, no residue is recovered. Thereupon, the process of determining the doubled quadratic root value is completed and the addition control circuit 26 — subtraction over bus 39 starts the constant formation circuit 40.

Схема 40 формировани  константы прежде всего по выходу 41 сбрасывает регистр 4 и заносит в него константу «0,5. Кроме того, схема 40 провер ет наличие значащей цифры в 18-м разр де и при ее отсутствии производит сдвиг влево на один разр д числа в регистре I и его зап той в блоке 8 по выходу 42. Затем по выходу 43 запускаетс  блок умножени  13. После выполнени  операции умножени  в регистре 4 оказываетс  искомое значение квадратного корн , а в блоке 9 - положение его зап той.The constant formation circuit 40, first of all, at output 41 resets the register 4 and sets the constant “0.5. In addition, the circuit 40 checks for the presence of a significant digit in the 18th bit and, if it is not present, shifts left one digit in the register I and its comma in block 8 to output 42. Then, output 43 starts the multiplication unit 13 After performing the multiplication operation in register 4, the desired value of the square root appears, and in block 9, its comma-separated position.

Таким образом, на получение удвоенного значени  корн  требуетс  максимально 10X16 160 циклов. (Все цифры корн  равны «9). Умножение на «0,5 может требовать не более 50 циклов. Всего на извлечение квадратного корн  требуетс  не. более 210 циклов.Thus, it takes a maximum of 10X16,160 cycles to obtain a doubled root value. (All numbers are equal to the root "9). Multiplication by 0.5 may require no more than 50 cycles. All in all, square root extraction is not required. more than 210 cycles.

Предмет изобретени Subject invention

Claims (2)

I. Устройство дл  извлечени  квадратного корн , содержащее оперативные регистры.I. A device for extracting a square root containing operational registers. блоки инверторов, сумматор, блок циркул ции , блок вычислени  корн , блок умножени , блоки зап тых, блок знака и счетчик, отличающеес  тем, что, с целью повышени  быстродействи , оно содержит дополнительный сумматор, входы которого соединены с выходом первого оперативного регистра и с блоком вычислени  корн , а выход - соответственно со входами блока инверторов и блока циркул ции, выход которого соединен со входом первого оперативного регистра , выход второго оперативного регистра через блок инверторов соединен со входом сумматора, второй вход которого соединен сinverter units, adder, circulation unit, root calculation unit, multiplication unit, commanding units, sign unit and counter, characterized in that, in order to increase speed, it contains an additional adder, whose inputs are connected to the output of the first operational register and the root computing unit, and the output, respectively, with the inputs of the inverter unit and the circulation unit, the output of which is connected to the input of the first operational register, the output of the second operational register, via the inverter unit, connected to the input of the adder, second input of which is connected to выходом блока инверторов, выход сумматора соединен со входом второго оперативного регистра и входом блока вычислени  корн , другие входы которого соединены соответственно с выходами блока знака, второгоthe output of the inverter unit, the output of the adder is connected to the input of the second operational register and the input of the root calculation unit, the other inputs of which are connected respectively to the outputs of the sign unit, the second блока зап тых, счетчика и дополнительного сумматора, выход блока вычислени  корн  соединен со входом первого блока зап тых, блока умножени , блоков инверторов и второго оперативного регистра.the unit of the com pies, the counter and the additional adder, the output of the computation unit of the root is connected to the input of the first unit of the comma, the multiplication unit, the blocks of inverters and the second operational register. 2. Устройство по п. 1, отличающеес  тем, что, с целью сокращени  объема оборудовани , блок вычислени  корн  содержит схему блокировки, выход которой соединен2. The device according to claim 1, characterized in that, in order to reduce the amount of equipment, the root calculation unit comprises a blocking circuit, the output of which is connected со схемой определени  зап той, выход схемы определени  зап той соединен со входом схемы управлени  сложением - вычитанием, выход которой соединен через схему управлени  вспомогательным регистром со входамиwith the definition scheme of the comma, the output of the definition scheme of the comma is connected to the input of the control circuit of addition - subtraction, the output of which is connected through the control circuit of the auxiliary register to the inputs вспомогательного регистра, второй выход схемы управлени  сложением - вычитанием соединен со входом схемы формировани  константы.the auxiliary register, the second output of the addition control circuit — the subtraction — is connected to the input of the constant formation circuit. 00 /5/five тt ---Т--- T 16П16P
SU1368320A 1969-10-23 1969-10-23 DEVICE FOR EXTRACTING SQUARE ROOT SU408305A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU1368320A SU408305A1 (en) 1969-10-23 1969-10-23 DEVICE FOR EXTRACTING SQUARE ROOT

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU1368320A SU408305A1 (en) 1969-10-23 1969-10-23 DEVICE FOR EXTRACTING SQUARE ROOT

Publications (1)

Publication Number Publication Date
SU408305A1 true SU408305A1 (en) 1973-12-10

Family

ID=20447712

Family Applications (1)

Application Number Title Priority Date Filing Date
SU1368320A SU408305A1 (en) 1969-10-23 1969-10-23 DEVICE FOR EXTRACTING SQUARE ROOT

Country Status (1)

Country Link
SU (1) SU408305A1 (en)

Similar Documents

Publication Publication Date Title
US3591787A (en) Division system and method
US3535498A (en) Matrix of binary add-subtract arithmetic units with bypass control
US3553445A (en) Multicipher entry
US4381550A (en) High speed dividing circuit
US3249745A (en) Two-register calculator for performing multiplication and division using identical operational steps
US4692891A (en) Coded decimal non-restoring divider
SU408305A1 (en) DEVICE FOR EXTRACTING SQUARE ROOT
GB742869A (en) Impulse-circulation electronic calculator
US3373269A (en) Binary to decimal conversion method and apparatus
GB882751A (en) Error detection system
SU1803913A1 (en) Division device
SU1417010A1 (en) Number dividing device
US3813623A (en) Serial bcd adder
US3196259A (en) Parity checking system
SU1056183A1 (en) Device for dividing numbers
US3192369A (en) Parallel adder with fast carry network
SU1151957A1 (en) Device for calculating value of square root
SU651341A1 (en) Multiplying arrangement
SU1735844A1 (en) Device for dividing numbers
SU1104508A1 (en) Dividing device
SU1767497A1 (en) Divider
SU151117A1 (en) Dedicated adder
SU1541596A1 (en) Division device
SU1265763A1 (en) Dividing device
SU1709301A1 (en) Division device