SU1635180A1 - Device for square root computing - Google Patents

Device for square root computing Download PDF

Info

Publication number
SU1635180A1
SU1635180A1 SU884608502A SU4608502A SU1635180A1 SU 1635180 A1 SU1635180 A1 SU 1635180A1 SU 884608502 A SU884608502 A SU 884608502A SU 4608502 A SU4608502 A SU 4608502A SU 1635180 A1 SU1635180 A1 SU 1635180A1
Authority
SU
USSR - Soviet Union
Prior art keywords
elements
group
output
adder
inputs
Prior art date
Application number
SU884608502A
Other languages
Russian (ru)
Inventor
Петр Филиппович Иващенко
Original Assignee
Предприятие П/Я Х-5594
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 Предприятие П/Я Х-5594 filed Critical Предприятие П/Я Х-5594
Priority to SU884608502A priority Critical patent/SU1635180A1/en
Application granted granted Critical
Publication of SU1635180A1 publication Critical patent/SU1635180A1/en

Links

Landscapes

  • Logic Circuits (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано в системах цифровой автоматики. Целью изобретени   вл етс  повышение быстродействи  устройства при одновременном упрощении. Дл  этого в устройство , содержащее сумматор, два регистра , блок управлени , введены генератор унитарного кода, группа элементов И и группа элементов ИЛИ. Группа элементов ИЛИ выполн ет функцию сложени , так как в рассматриваемом алгоритме ненулевым разр дам унитарного кода соответствуют нулевые разр ды содержимого второго регистра. Группа элементов И осуществл ют маскирование ненулевых разр дов унитарного кода при низком уровне на соответствующем выходе устройства управлени . 2 ил. а Ј /The invention relates to computing and can be used in digital automation systems. The aim of the invention is to improve the speed of the device while simplifying. For this purpose, a unitary code generator, a group of AND elements and a group of OR elements are entered into a device containing an adder, two registers, a control unit. The group of elements OR performs the function of addition, since in the algorithm under consideration nonzero bits of the unitary code correspond to zero bits of the contents of the second register. A group of elements And perform the masking of non-zero bits of the unitary code at a low level at the corresponding output of the control device. 2 Il. a Ј /

Description

Изобретение относитс  к вычислительной технике и может быть использовано в системах цифровой автоматики дл  ускорени  операций целочисленной арифметики.The invention relates to computing and can be used in digital automation systems to speed up the operations of integer arithmetic.

Цель изобретени  - повышение быстродействи  при одновременном упрощении устройства.The purpose of the invention is to increase speed while simplifying the device.

На фиг. 1 представлена структурна  схема устройства; на риг. 2 - пример реализации генератора унитарного кода .FIG. 1 shows a block diagram of the device; on rig. 2 - an example of the implementation of the generator unitary code.

Схема содержит сумматор 1, первый 2 и второй 3 регистры, генератор 4 унитарного кода, группа элементов И 5, группа элементов ИЛИ 6, блок 7 управлени , содержащий триггер 8, элементы И 9 и ИЛИ 10, триггеры 11 (фиг.2) и элементы И 12, выход 13 и вход 14. Устройство реализует алгоритм вычислени  :The circuit contains adder 1, first 2 and second 3 registers, generator 4 of unitary code, group of elements AND 5, group of elements OR 6, control unit 7 containing trigger 8, elements AND 9 and OR 10, triggers 11 (FIG. 2) and elements 12, output 13 and input 14. The device implements the calculation algorithm:

0 OO0 OO

слcl

0000

141 141

и and

А; + е; (Р;+ ч; - Р;/2 + El q;BUT; + e; (Р; + ч; - Р; / 2 + El q;

чи, 8chi, 8

q;/ ;,., sign A;q; /;,., sign A;

где А - содержимое регистра 2; P - содержимое регистра 3; q - вес унитарной единицы;where a is the contents of register 2; P - the contents of register 3; q is the weight of a unitary unit;

Ј- знак числа на выходе сумматораЈ- the sign of the number at the output of the adder

При А -(N+1), рв- 0, qfl 2ггт)(где m 2t 0,5 log N - целое) на итерации с номером m имеем: Рт Я т 0. With A - (N + 1), pb-0, qfl 2gt) (where m 2t 0.5 log N is an integer) at iteration number m we have: Pm т m 0.

Устройство работает следующим об- разом.The device works as follows.

В исходном состо нии при высоком уровне на синхровходе с выхода первого регистра 2 па вход сумматора пос- тупает обратный код числа N, т.е. число -(N+1), на вход группы элементов И 5 с выхода генератора 1 посту- п 1ет число 22т, где га 0,5 log, (содержимое второго регистра 3 равно нулю),In the initial state at a high level, the sync input from the output of the first register 2 pa input of the adder will receive the inverse code of the number N, i.e. the number - (N + 1), to the input of the group of elements AND 5 from the output of the generator 1, the output 1t is the number 22t, where ha is 0.5 log, (the contents of the second register 3 is zero),

Кажда  итераци  состоит и- двух ф ч: фазы срапненич (высоки : уровень синхросигнала) и фазы записи (низкий уровень синхросигнала). В течение фаз сравнени  содержимое регистра PG 1 (итерационна  переменна  А) сравниваетс  с логической суммой содержимого о-ть -тра PG2 (итерационна  перемен- ч Р) и кода генератора (итерацион- гал переменна  q). Если на выходе разр да сумматора низкий у1 о- нгнь (итерационна  переменна  Ј пав нл 0), то в фазе записи к уменьгаешю- му вдвое содержимому PG2 добавл етс  число с ВЫХОДА генератора, а содержимое регистра PG1 становитс  равным числу на выходе сумматора в фазе сравнени . Если итерационный процесс охарактеризовать последовательностью векторов с компонентами ,p,q,Јj, то последовательность таких векторов при вычислении корн  квадратного из числа 225 имеет вид:Each iteration consists of two phh: phases of the stripping (high: the level of the sync signal) and the phase of the recording (the low level of the sync signal). During the comparison phases, the contents of the PG 1 register (iteration variable A) are compared with the logical sum of the contents of the o-th PG2 (iteration variable P) and the generator code (iteration variable q). If the output of the adder bit is low y1 odn (iterative variable Ј pav nl 0), then in the recording phase, the number from the OUTPUT of the generator is added to the reduced content of PG2, and the contents of the register PG1 becomes equal to compare. If the iterative process is characterized by a sequence of vectors with components, p, q, Јj, then the sequence of such vectors when calculating the square root of 225 has the form:

-226 0 64 1-226 0 64 1

-126 64 16 1-126 64 16 1

-82 48 4 1-82 48 4 1

-30 28 1 1-30 28 1 1

-1 15 О 1, где результатом  вл етс  втора  ком- понента последнего вектора, а признаком окончани  - нулевое значение третьей компоненты.-1 15 O 1, where the result is the second component of the last vector, and the ending sign is the zero value of the third component.

Преимущество предлагаемого устройства заключаетс  в том, что, во-пер- вых, требуетс  относительно небольшое (около 62) число транзисторов в пересчете на разр д при реализации устройства по интегральной КМОН технологии, что в сочетании с простотой межблочных св зей делает возможной реализацию вычислителей на кристаллах малой плоThe advantage of the proposed device is that, first, a relatively small (about 62) number of transistors is required in terms of discharge when implementing the device according to integrated CCOM technology, which, combined with the simplicity of interconnecting connections, makes it possible to crystals of a small area

,,

Q 5 Q 5

до 5 0 up to 50

Д5 D5

п P

5five

00

5five

щади. Сокращение площади кристалла повышает число годных микросхем, полученных по интегральной технологии с одной пластины, и, соответственно, снижает стоимость одной микросхемы.spade Reducing the area of the crystal increases the number of suitable chips obtained by integrated technology from a single plate, and, accordingly, reduces the cost of one chip.

Во-вторых, одного сумматора и мала  прот женность цепей распространени  сигналов как по числу логических элементов, так и по абсолютной величине линий св зи делает возможным существенное сокращение периода преобразовани ,тем более, что врем  распространени  переноса в сумматоре существенно лишь на последних итераци х, когда вес единицы младшего разр да читарного кода достаточно мал,Secondly, a single adder and a small extension of the signal distribution circuits, both in terms of the number of logical elements and in the absolute value of the communication lines, makes it possible to significantly reduce the conversion period, especially since the propagation time of transfer in the adder is significant only at the last iterations, when the weight of the unit is low and the reading code is small enough

Claims (1)

Формула изобретениеFormula invention Устройство дл  вычислени  квадратного корн , содержащее сумматор, первый и второй регистры, выход и информационный вход первого цз которых era - ;данены соответственно с первым в---р ;о и выходом сумматора, отличающеес  тем, что, с цепью ПОБЪПЗГ-. быстродействи  при одновременном упрг щении устройства, ц него введены гсг. ратор унитарного кода, группа элементов И, группа элементов ИЛИ и блок управлени  , информационный вход которого соединен с выходом знакового разр да , сумматора, а первый выход - с управл ющим входом первого регистра, полнительный информационный вход которого  вл етс  информационным входом устройства, вход синхронизации котс ; го подключен к управл ющим входам генератора унитарного кода, блока уп- р влени  и второго регистра, выходы которого соединены с первыми входами элементов ИЛИ группы, вторые входы ° элементов ИЛИ которой подключены к выходам соответствующих элементов И группы, первые входы элементов И которой поразр дно соединены с выходами генератора унитарного кода, а объединенные вторые входы подключены к второму выходу блока управлени , выходы элементов ИЛИ группы поразр дно соединены с вторым входом сумматора и со сдвигом на один разр д вправо - с информационным входом второго регистра , выходы старших разр дов элементов ИЛИ группы  вл ютс  выходом устройства .A device for calculating the square root containing the adder, the first and second registers, the output and the information input of the first junction of which are erased; are given, respectively, with the first in p - p; o and the output of the adder, characterized in that with a PODPZG- circuit. speed with simultaneous operation of the device, the dc is introduced. The unitary code slot, the group of elements is AND, the group of elements OR, and the control unit, whose information input is connected to the output of the sign bit, the adder, and the first output to the control input of the first register, whose additional information input is the information input of the device, the synchronization input cots; It is connected to the control inputs of the generator unitary code, control unit and second register, the outputs of which are connected to the first inputs of the OR elements, the second inputs of the OR elements of which are connected to the outputs of the corresponding AND elements of the group, the first inputs of the AND elements of which connected to the generator outputs of the unitary code, and the combined second inputs are connected to the second output of the control unit, the outputs of the OR elements of the group are bitwise connected to the second input of the adder and shifted by one bit to the right - With the information input of the second register, the high order bits of the OR elements of the group are the output of the device. 5УЛUCL Цнформ 6x.Cnform 6x. j aj a ,#That i C1i C1 V WV w иand tt ИшрормIshrorm SYJIffxSYJIffx DD 15 Выход15 Exit Фиг.11 // 8eight // Г/// Y / // /z rz/ z rz -- .J.J
SU884608502A 1988-11-27 1988-11-27 Device for square root computing SU1635180A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU884608502A SU1635180A1 (en) 1988-11-27 1988-11-27 Device for square root computing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU884608502A SU1635180A1 (en) 1988-11-27 1988-11-27 Device for square root computing

Publications (1)

Publication Number Publication Date
SU1635180A1 true SU1635180A1 (en) 1991-03-15

Family

ID=21410728

Family Applications (1)

Application Number Title Priority Date Filing Date
SU884608502A SU1635180A1 (en) 1988-11-27 1988-11-27 Device for square root computing

Country Status (1)

Country Link
SU (1) SU1635180A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР If 1084788, кп. G 06 F 7/552, 1981. Оранский A.M. Аппаратные методы в цифровой вычислительной технике. г. Минск, 1977, рис. .6.К *

Similar Documents

Publication Publication Date Title
US4193118A (en) Low pass digital averaging filter
US5422914A (en) System and method for synchronizing data communications between two devices operating at different clock frequencies
US4153939A (en) Incrementer circuit
US4864525A (en) Maximum length shift register sequence generator
US4837790A (en) Maximum length linearly occurring code sequence generator
SU1635180A1 (en) Device for square root computing
US5638309A (en) Pseudo-random pattern generating circuit
US5142487A (en) Numerically controlled oscillator
KR940001556B1 (en) Digital signal processing apparatus
SU1287152A1 (en) Device for dividing numbers in residual class system
JP2001034457A (en) Adding and subtracting circuit
JPH05145519A (en) Digital correlation device
JP2927096B2 (en) Variable frequency oscillation circuit
JP2674810B2 (en) Multiplexed N-unit coincidence protection circuit
RU2037958C1 (en) Frequency divider
SU1322269A1 (en) Device for extracting root of sum of squares of three numbers
JP3074958B2 (en) Serial multiplier with addition function
RU1800463C (en) Triangular decomposition device
SU1411738A1 (en) Digital function converter
RU1791818C (en) Device for control of modulo three residual code
SU1151956A1 (en) Squaring device
SU1124319A1 (en) Device for generating all possible combinations,arrangements and permutations
SU1264165A1 (en) Adder-accumulator
JPS6379420A (en) Odd number frequency divider
RU1805461C (en) Unit for homogeneous structure