(54) УСТРОЙСТВО ДЛЯ ВЫЧИСЛЕНИЯ КВАДРАТНОГО КОРНЯ(54) DEVICE FOR CALCULATION OF SQUARE ROOT
Изобретение относитс к цифровой вычислительной технике и может быть использовано дл аппаратной реализации операции вычислени квадратного корн в различных системах автоматики, управлени и регулировани , в специализированных вычислител х. Известны устройства дл вычислени квадратного корн , одно из которых содержит регист ры, счетчики, блок сравнени , сумматоры и логические элементы 1. Это устройство вл етс сложным. Наиболее близким к изобретению по технической сущности вл етс устройство дл вычислени квадратного корн , содержащее входной и выходной регистры, блок возведени в квадрат и блок управлени . Кроме того, оно содержит сумматор, элемент задержки и элементы И, причем регистр св зан с элементами И, входы сумматора соединены с выходами квадратора, выход сумматора соединен с другим входом второго элемента И 2. Однако оно не обеспечивает высокого быстродействи . Целью изобретени вл етс повыщение бы стродействи устройства без увеличени его сложности. В описываемом устройстве это достигаетс тем, что оно содержит схему сравнени и блок подбора цифр, выход которого через выходной регистр и блок возведени в квадрат соединен с первым входом с.хемы сравнени , второй вход которой соединен через входной регистр с входной щиной, первый выход схемы сравнени соединен со входом блока управлени , выход которого соединен с управл ющим входом блока подбора цифр, второй и третий выходы схемы сравнени соединены, соответственно, с информационными входами блока подбора цифр. На чертеже приведена блок-схема описываемого устройства. Оно содержит входной регистр 1, выходной регистр 2, блок 3 возведени в квадрат, схему 4 сравнени , блок 5 подбора цифр результата и блок 6 управлени . Входы установки и сброса каждого разр да выходного регистра 2 соединены с соответствующими выходами блока 5 подбора цифр. Выходы регистра 2 соединены со входами блока 3 возведени в квадрат и с выходной щиной устройства. Выход блока 3 возведени в квадрат соединен с первым входом схемы 4, на второй вход которой подсоединен выход входного регистра 1, вход которого соединен с входной щиной, первый выход схемы 4 соединен со входом блока 6 управлени , второй выход - с первым информационным входом блока 5, третий выход - со вторым информационным входом блока 5. Выход блока 6The invention relates to digital computing and can be used for hardware implementation of the square root operation in various automation, control and regulation systems in specialized computers. Square root computation devices are known, one of which contains registers, counters, a comparison unit, adders and logic elements 1. This device is complex. Closest to the invention, in technical terms, is a square root calculating device comprising input and output registers, a squaring unit and a control unit. In addition, it contains the adder, the delay element and the elements And, and the register is associated with the elements And the inputs of the adder connected to the outputs of the quad, the output of the adder is connected to another input of the second element And 2. However, it does not provide high speed. The aim of the invention is to increase the strness of the device without increasing its complexity. In the device described, this is achieved by the fact that it contains a comparison circuit and a digit selection block, the output of which is connected to the first input of the comparison circuit through the output register and the squaring block, the second input of which is connected to the first output of the circuit the comparison is connected to the input of the control unit, the output of which is connected to the control input of the digit selection block, the second and third outputs of the comparison circuit are connected, respectively, to the information inputs of the digit selection block. The drawing shows the block diagram of the described device. It contains the input register 1, the output register 2, the squaring block 3, the comparison circuit 4, the result digit selection block 5 and the control block 6. The inputs for setting and resetting each bit of the output register 2 are connected to the corresponding outputs of the digit selection block 5. The outputs of the register 2 are connected to the inputs of the block 3 of the squaring and with the output thickness of the device. The output of the squaring unit 3 is connected to the first input of the circuit 4, the second input of which is connected to the output of the input register 1, whose input is connected to the input width, the first output of the circuit 4 is connected to the input of the control unit 6, the second output to the first information input of the block 5 , the third output - with the second information input of block 5. Output of block 6