SU1203515A1 - Dividing device - Google Patents

Dividing device Download PDF

Info

Publication number
SU1203515A1
SU1203515A1 SU843774580A SU3774580A SU1203515A1 SU 1203515 A1 SU1203515 A1 SU 1203515A1 SU 843774580 A SU843774580 A SU 843774580A SU 3774580 A SU3774580 A SU 3774580A SU 1203515 A1 SU1203515 A1 SU 1203515A1
Authority
SU
USSR - Soviet Union
Prior art keywords
outputs
input
output
inputs
register
Prior art date
Application number
SU843774580A
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 SU843774580A priority Critical patent/SU1203515A1/en
Application granted granted Critical
Publication of SU1203515A1 publication Critical patent/SU1203515A1/en

Links

Description

ИЛИ блока управлени , выходы которого соединены с разр дными выходами счетчика блока управлени  и вторым управл ющим входом демультиплексора, выходы элементов И второй группы соединены с информационным входом буfOR of the control unit, the outputs of which are connected to the bit outputs of the counter of the control unit and the second control input of the demultiplexer, the outputs of the elements of the second group are connected to the information input of the buf

Изобретение относитс  к вычислительной технике и может быть использовано при делении и -разр дных чисел .The invention relates to computing and can be used in dividing and -digit numbers.

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

На фиг. 1 приведена блок-схема устройства дл  делени ; на фиг.2 - структурна  схема блока управлени  на фиг. 3 - временна  диаграмма работы устройства.FIG. 1 shows a block diagram of a device for dividing; FIG. 2 is a block diagram of the control unit of FIG. 3 - time diagram of the device.

Устройство содержит регистры 1 делимого и 2 делител , блок 3 делени , И/к К -разр дных умножителей 4, вычитающий счетчик 5, первый сумматор 6, вычитатель 7, второ сумматор 8, три группы элементов И 9-11, буферный регистр 12, блок 1 управлени , демультиплексор 14, регистр 15 частного, выход 16 знакового разр да вычитател  7, выходы 17 - 19 блока 13 управлени , выход 20 блока 13 управлени  окончани  работы устройства.The device contains registers 1 divisible and 2 dividers, block 3 divisions, I / K K -digital multipliers 4, subtractive counter 5, first adder 6, subtractor 7, second adder 8, three groups of elements AND 9-11, buffer register 12, control unit 1, demultiplexer 14, private register 15, sign 16 output of subtractor 7, outputs 17-19 of control unit 13, output 20 of control unit 13 of device termination.

Блок 13 управлени  содержит элемент И 21, первый элемент 22 задержки , второй элемент 23 задержки, счетчик Сч 24 и элемент ИЛИ 25.The control unit 13 comprises an AND element 21, a first delay element 22, a second delay element 23, a counter C 24, and an element OR 25.

На временной диаграмме работыOn the timeline of work

л А .l a

устройства 1.J1 и tjj врем  задержки элементов 22 и 23 задержки соответственно: 1,2,3,..., Q - число циклов работы устройства.devices 1.J1 and tjj delay times of delay elements 22 and 23, respectively: 1,2,3, ..., Q is the number of device operation cycles.

Вход ТИ блока 13 упр-авлени   вл етс  тактовым входом устройства, выходь А устройства - информационны входы регистра 1 делимого, входы В устройства - информационные входы регистра 2 делител , вход Q блока 13 управлени  - вход кода числа циклов устройства, а выходи С регистра 15 частного - выходы результата устройства.The TI input of the control unit 13 is the device clock input, the device output A is the information inputs of the divisor register 1, the device inputs the information inputs of the divider register 2, the input Q of the control unit 13 is the input of the device’s cycle number code, and output C of the register 15 private - the output of the device.

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

ферного регистра, разр дные выходы которого соединены с вторыми входами элементов И третьей группы, выходы которых соединены с вторым информационным входом регистра делимого .The ferric register, the bit outputs of which are connected to the second inputs of the elements AND of the third group, whose outputs are connected to the second information input of the register of the dividend.

В исходном состо нии в регистре 1 делимого хранитс  пр мой код h-разр дного делимого, в регистре 2 делител  - пр мой h-разр дный кодIn the initial state in the register 1 of the dividend, the direct code of the h-bit divisible is stored, in register 2 of the divisor - the direct h-bit code

делител , в счетчике Сч 24 - константа Q числа циклов делени , буферный регистр 12 и регистр 15 частного обнулены. Предполагаетс , что делимое и делитель - правильныеthe divisor, in the C 24 counter, is the constant Q of the number of division cycles, the buffer register 12 and the private register 15 are set to zero. It is assumed that the dividend and divisor are correct.

положительные дроби и делитель по абсолютной величине больше делимого . Процесс определени  частггого состоит . из и-1 циклов (где ТА Н/k - число К-разр дных группthe positive fractions and the divisor in absolute value are greater than the dividend. The process of determining the frequency consists of. of i-1 cycles (where TA H / k is the number of K-bit groups

частного).private).

Первый цикл начинаетс  с определени  старшего к-разр дного разр да частного, который формируетс  в блоке 3 делени , на входы которогоThe first cycle begins with the determination of the most significant bit of the quotient of the quotient, which is formed in block 3 division, the inputs of which

поступают выходы 2 К старших разр дов регистра 1 делимого и выходы k старших разр дов регистра 2 делител . Разность между значением частного, получаемым при деленииOutputs 2 To the higher bits of the register 1 of the dividend and the outputs of the k high bits of the register 2 divider. The difference between the value of the private, obtained by dividing

I h -разр дных чисел, и значением частного,, получаемым при делении 2k старших разр дов делимого на k старших разр дов делител , заключена в пределахI h is the digit number, and the value of the quotient, obtained by dividing 2k most significant bits of the dividend by k most significant bits of the divisor, lies within

О f -2.About f -2.

Значение k-разр дного частного, получаемого при делении усеченных чисел, может быть либо равно значению старших;k разр дов частного, получаемого при делении h -разр дных чисел, либо больше его на единицу младшего разр да с весом 2. С помощью умножителей 4 и сумматора 6 формируетс  произведение h-разр дного делител  на k-разр дное частное , а с помощью вычитател  7 - очередной остаток, определ емый как разность между содержимьм регистра 1 делимого и содержимым сумма- тора 6.The k-bit private value obtained by dividing truncated numbers can either be equal to the value of the highest ones; k private bits obtained by dividing h-bit numbers, or more than one unit of the least significant bit with a weight of 2. With the help of multipliers 4 and adder 6, the product of the h-bit divider by k-bit quotient is formed, and with the help of subtractor 7 - the next remainder, defined as the difference between the contents of the register 1 of the dividend and the content of the adder 6.

Результат с выходов вычитател  7 поступает на первые входы сумматора 8, на вторые входы которого в случае отрицательного остатка пост.упает через элемент И 11 группы делитель с выходов регистра 2 делител . Если остаток на выходе вычитател  ,7 положителен , то на выходе 16 нуль и остаток на сумматоре 8 складываетс  с нулевым значением на выходах элементов И 11 группы. Результат с выходов сумматора 8 через элементы И 9 группы под управлением сигнала 17 ., с выхода блока 13 управлени  записыг ваетс  в буферный регистр 12. В случае отрицательного остатка получено k-paзp днo,e частное с избытком на единицу младшего разр да с весом 2 поэтому в вычитающем счетчике 5 под управлением выхода 16 знакового разр да вычитател  7 выполн етс  уменьшение k-разр дного частного на единицу младшего разр да; результатThe result from the outputs of the subtractor 7 is fed to the first inputs of the adder 8, the second inputs of which, in the case of a negative residual, are fixed to the divider from the outputs of the register 2 divider in the case of a negative residue. If the remainder at the output of the subtractor, 7 is positive, then at the output 16, the zero and the remainder at the adder 8 add up with a zero value at the outputs of the And 11 group elements. The result from the outputs of the adder 8 through the elements of the 9th group under the control of the signal 17., From the output of the control unit 13 is recorded in the buffer register 12. In the case of a negative remainder, k-pazpone, e is obtained with an excess per unit of the least significant bit with a weight of 2 therefore, in the subtracting counter 5, under the control of the output 16 of the sign bit of the subtractor 7, the k-bit quotient of the least significant bit is reduced; result

I -кI to

а ет и   7 г о д зькand em and 7 d about zk

10ten

этого вычитани  - точное значение k-разр дного частного - через де- мультиплексор 14 под управлением сигналов 17 и 19 с выходов блока 13 управлени  записываетс  в старший разр д регистра 15 частного.This subtraction — the exact value of the k-bit private — is de-multiplexed 14 under the control of signals 17 and 19 from the outputs of control unit 13 to the high-order bit of register 15 private.

Положительный остаток с выходов буферного регистра 12 под управлением сигнала 18 с выхода блока 13 управлени  со сдвигом на k разр дов влево (в сторону старших разр дов) записываетс  в регистр 1 делимого и служит в следующем цикле в качестве делимого. В конце цикла сигналом сThe positive balance from the outputs of the buffer register 12 under the control of the signal 18 from the output of the control unit 13 with a shift to k bits to the left (towards the higher bits) is written to the register 1 of the dividend and serves in the next cycle as a dividend. At the end of the cycle with a signal from

15 выхода второго элемента 23 задержки выполн етс  уменьшение содержимого счетчика Сч 24 на единицу младшего разр да.15, the output of the second delay element 23 is performed by decreasing the content of the CW 24 counter by a unit of lower order.

В каждом последующем цикле в ре20 гистр 15 частного записываютс  очередные k-разр дные разр ды точного частного, начина  со старшего разр да , получаемого в первом цикле.In each subsequent cycle, the next k-bits of the exact quotient bits are recorded in the register of the private 15, starting with the most significant bit obtained in the first cycle.

ВAT

2222

М J7M J7

эuh

/f/ f

{;{;

гg

tt

2525

II

20Редактор В Петраш20 Editor To Petrash

Составитель Е.ЗахарчеккоCompiled by E.Zakharchekko

Техред И.Асталош .. Корректор А.ОбручарTehred I.Astalosh .. Proofreader A.Obruchar

Заказ 8417/51Order 8417/51

Тираж 709ПодписноеCirculation 709Subscribe

ВНИИПИ Государственного комитета СССРVNIIPI USSR State Committee

по делам изобретений и открытий 113035, Москва, Ж-35, Раушска  наб., д.4/5for inventions and discoveries 113035, Moscow, Zh-35, Raushsk nab., 4/5

Филиал ППП Патент, г.Ужгород, уд.Проектна , 4Branch PPP Patent, Uzhgorod, ud.Proektna, 4

2020

Фиг. 2FIG. 2

Фиг. 5FIG. five

Claims (1)

УСТРОЙСТВО ДЛЯ ДЕЛЕНИЯ, содержащее регистры делимого, делителя, блок деления, и|к к-разрядных умножителей (и - разрядность делимого и делителя), сумматор, вычитатель и блок управления, причем выходы делителя и делимого устройства соединены соответственно с информационным входом регистра делимого, выходы 2 К старших разрядов которого соединены с первыми входами блока деления и вычитателя, второй вход которого соединен с выходом сумматора, первый и второй информационные входы которого соединены с выходами к старших и К младших разрядов н1к умножителей соответственно, первый и второй входы которых соединены соответственно с выходами блока деления и регистра делителя, отличающееся тем, что, с целью повышения быстродействия, в него введены вычитающий счетчик, второй сумматор, три группы элементов И, буферный регистр, демультиплексор и регистр частного, а блок управления содержит счетчик, элемент ИЛИ, элемент И и два элемента задержки, причем выхода результата устройства соединены с •выходами регистра частного, информационные входы которого соединены с выходами демультиплексора, информационный вход которого соединен с выходом вычитающего счетчика, информационный вход которого соединен с выходом блока деления, второй информационный вход которого соединен с выходом К старших разрядов регистра делителя, разрядные выходы которого соединены с первыми входами элементов К первой группы, вторые входы которого соединенны со счетным входом вычитающего счетчика и выходом знакового разряда вычитателя, разрядные выходы которого соединены с первым информационным входом второго сумматора, второй информационный вход которого соединен о выходами элементов И первой группы, а выход - с первыми входами элементов И второй группы, вторые входы которых соединены с первым управляющим входом демультиплексора и выходом первого и входом второго элементов задержки блока управления, выход второго элемента задержки которого соединен с первыми входами элементов И третьей группы и счетным входом счетчика блока управления, информационный вход которого соединен с входом кода числа циклов устройства, тактовый вход которого соединен с первым входом элемента И блока управления, второй вход которого соединен с выходом окончания работы устройства и выходом элементаDEVICE FOR DIVISION, containing the registers of the dividend, divider, division block, and | k-bit multipliers (and - the resolution of the dividend and divider), an adder, subtractor and control unit, and the outputs of the divider and the dividend device are connected respectively to the information input of the dividend register, outputs K 2 MSBs are connected to first inputs of a subtracter and a divider, a second input coupled to an output of the adder, the first and second information inputs connected with outputs to senior and K n LSBs 1k multipliers, respectively, the first and second inputs of which are connected respectively to the outputs of the division block and the divider register, characterized in that, in order to improve performance, a subtracting counter, a second adder, three groups of AND elements, a buffer register, a demultiplexer and a private register are introduced into it, and the control unit contains a counter, an OR element, an AND element, and two delay elements, the output of the result of the device being connected to • the outputs of the private register, the information inputs of which are connected to the outputs of the demultiplex ora, the information input of which is connected to the output of the subtracting counter, the information input of which is connected to the output of the division unit, the second information input of which is connected to the output K of the upper bits of the divider register, the bit outputs of which are connected to the first inputs of the elements K of the first group, the second inputs of which are connected to the counting input of the subtracting counter and the output of the digit of the subtracter, the bit outputs of which are connected to the first information input of the second adder, the second information input which is connected about the outputs of the elements AND of the first group, and the output is connected to the first inputs of the elements AND of the second group, the second inputs of which are connected to the first control input of the demultiplexer and the output of the first and the input of the second delay elements of the control unit, the output of the second delay element of which is connected to the first inputs of the elements And the third group and the counting input of the counter of the control unit, the information input of which is connected to the input of the code of the number of cycles of the device, the clock input of which is connected to the first input of the element AND block board, a second input coupled to an output end of the device and the output element ИЛИ блока управления, выходы которого соединены с разрядными выходами счетчика блока управления и вторым управляющим входом демультиплексора, выходы элементов И второй группы соединены с информационным входом бу ферного регистра, разрядные выходы которого соединены с вторыми входами элементов И третьей группы, выходы которых соединены с вторым информационным входом регистра делимого.OR control unit, the outputs of which are connected to the discharge outputs of the counter of the control unit and the second control input of the demultiplexer, the outputs of the AND elements of the second group are connected to the information input of the buffer register, the discharge outputs of which are connected to the second inputs of the AND elements of the third group, the outputs of which are connected to the second information input register divisible.
SU843774580A 1984-07-19 1984-07-19 Dividing device SU1203515A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU843774580A SU1203515A1 (en) 1984-07-19 1984-07-19 Dividing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU843774580A SU1203515A1 (en) 1984-07-19 1984-07-19 Dividing device

Publications (1)

Publication Number Publication Date
SU1203515A1 true SU1203515A1 (en) 1986-01-07

Family

ID=21132245

Family Applications (1)

Application Number Title Priority Date Filing Date
SU843774580A SU1203515A1 (en) 1984-07-19 1984-07-19 Dividing device

Country Status (1)

Country Link
SU (1) SU1203515A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 857977, кл. G 06 F 7/52,1980, Авторское свидетельство СССР № 802962, кл. G 06 F 7/52, 1978, *

Similar Documents

Publication Publication Date Title
SU1203515A1 (en) Dividing device
GB1241983A (en) Electronic computer
SU1280624A1 (en) Device for multiplying the floating point numbers
GB1064518A (en) Electronic four-rule arithmetic unit
US5381380A (en) Divide circuit having high-speed operating capability
US3500383A (en) Binary to binary coded decimal conversion apparatus
SU1259251A1 (en) Dividing device
RU1783522C (en) Divider
SU1490675A1 (en) Divider by constant of 2 powered l minus 1
SU1026139A1 (en) Device for dividing n-digit binary-decimal coded numbers
SU1767497A1 (en) Divider
SU1425661A1 (en) Floating-point device for computing trigonometric functions
SU1541594A1 (en) Arithmetical unit with microprogram control
RU1783521C (en) Divider
SU1348825A1 (en) Device for adding numbers with floating point
SU1254475A1 (en) Device for transforming coordinates
SU1242935A1 (en) Dividing device
SU1325467A1 (en) Dividing device
SU1061131A1 (en) Binary code/compressed code translator
SU1665374A1 (en) Dividing device
SU1417009A1 (en) Fixed-point number dividing device
SU809149A2 (en) Binary-to-bcd converter for mixed numbers
US4141077A (en) Method for dividing two numbers and device for effecting same
SU1615707A1 (en) Dividing device
SU732862A1 (en) Device for raising uniformly increasing or decreasing binary numbers to positive integer power