SU1465883A1 - Device for dividing numbers - Google Patents

Device for dividing numbers Download PDF

Info

Publication number
SU1465883A1
SU1465883A1 SU874235584A SU4235584A SU1465883A1 SU 1465883 A1 SU1465883 A1 SU 1465883A1 SU 874235584 A SU874235584 A SU 874235584A SU 4235584 A SU4235584 A SU 4235584A SU 1465883 A1 SU1465883 A1 SU 1465883A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
adder
inputs
register
Prior art date
Application number
SU874235584A
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 SU874235584A priority Critical patent/SU1465883A1/en
Application granted granted Critical
Publication of SU1465883A1 publication Critical patent/SU1465883A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

Изобретение .относитс  к вычислительной технике и может быть использовано при построении универсальных и специализированных цифровых вычислительных машин. Целью изобретени   вл етс  сокращение аппаратурных затрат. Эта цель достигаетс  тем, что в устройство дл  делени  чисел, содержащее три регистра 2, П, 17, сутчматор 6, коммутатор 5, блок 12 пам ти, элемент ИЛИ 13, введены элементы ИЛИ 14, 15, триггер 8, сумматор 16 г соответствующими св з ми. 2 ил., 1 табл.The invention relates to computing and can be used in the construction of universal and specialized digital computers. The aim of the invention is to reduce hardware costs. This goal is achieved by the fact that the device for dividing numbers containing three registers 2, P, 17, the sumatmator 6, the switch 5, the block 12 of memory, the element OR 13, the elements OR 14, 15, the trigger 8, the adder 16 g are entered links. 2 ill., 1 tab.

Description

11eleven

шsh

елate

О5O5

елate

00 0000 00

соwith

14658831465883

Изобретение .относитс  к вычислительной технике и может быть использовано при разработке параллельных цифровьсх вычислительных машин. ,The invention relates to computing and can be used in the development of parallel digital computers. ,

Цель изобретени  - сокращение аппаратурных затрат.The purpose of the invention is to reduce hardware costs.

На фиг,1 представлена схема устройства дл  делени  шсел; на фиг.2 - схема разр да коммутатора. .}оFig. 1 is a schematic diagram of a device for dividing schsel; Figure 2 is a switch bit diagram. .}about

Устройство фиг. содержит информационный вход 1 устройства, первый регистр 2, вход 3 начальной установки устройства, вход 4 управлени The device of FIG. contains the information input 1 of the device, the first register 2, the input 3 of the initial installation of the device, the input 4 of the control

занесением устройства, коммутатор 5, 15 предварительно сбрасываетс  в первый сумматор 6, первый тактовый сигналом по входу 3. На вход 4 вход 7 устройства, триггер 8, третий тактовый вход 9 устройства, второй тактовый вход Ш устройства, второй регистр 11, блок .12 пам ти, первый, 20 второй и третий элементы ИЛИ 13-15, второй сумматор 16, третий регистр 17, выход 18 частного устройства, выход 19 знака частного устройства.entering the device, switch 5, 15 is pre-reset to the first adder 6, the first clock signal input 3. The input 4 input 7 of the device, trigger 8, the third clock input 9 of the device, the second clock input W device, the second register 11, block .12 memory, first, 20 second and third elements OR 13-15, second adder 16, third register 17, output 18 of a particular device, output 19 of the sign of a particular device.

Разр д коммутатора 5 (фиг.2) со- 25 держит второй управл ющий вход 20 коммутатора 5, элемент И 21, выход 22 разр да коммутатора 5, элементThe discharge of the switch 5 (FIG. 2) maintains the second control input 20 of the switch 5, the element 21, the output 22 of the switch 5, the element

ИЛИ 23, третий управл кщий вход 24 ., ..„„ ...„OR 23, third control input 24., .. „„ ... “

коммутатора 5, элемент И 25, четвер- 30 Значгицие разр ды делител  по-сиг- .тый управл юртий вход 26 коммутатора 5, налу на входе 10 записываитс  в ре- элемент И 27, п тый управл ющий вход 28 коммутатрра 5, элемент И 29, элемент НЕ 30, элемент И 31.switch 5, element 25, quadruple 30 The divider bit is sequentially controlled input 26 of switch 5, input signal 10 is written to relay element 27, fifth control input 28 of switchboard 5, and 29, the element is NOT 30, the element is AND 31.

Шесть старших разр дов регистра 2 и второй, третий, четвертый значащие разр ды (счита  от старших регистра 11 соединены с адресными входами блока 12. Если обозначить разр ды регистра 2, поступающие на адресные входы блока 12, начина  от старших разр дов, символами , О,, 0,j, О, , 64, О у, поступающие на входы блока 12 разр ды регистра П - У, У4 и выходы блока 32 - И1, И2, ИЗ, И4, то его кодировка имеет вид, представленный в таблице.The six most significant bits of register 2 and the second, third, fourth significant bits (counted from the highest register 11 are connected to the address inputs of block 12. If we mark the bits of register 2 arriving at the address inputs of block 12, starting from the high bits, the characters О ,, 0, j, О,, 64, О у, arriving at the inputs of the block 12 bits of the register П - У, У4 and the outputs of the block 32 - И1, И2, ИЗ, И4, then its encoding has the form presented in the table .

Коммутатор 5 (фиг.2) работаетSwitch 5 (figure 2) works

мент И 27 и на выход 22 пройдет +4У Сигнал И4, поступающий на вход 28 откроет элемент И 29 и на выход 22 коммутатора пройдет -4у. При подаче сигнала на вход 4 инверси  сигнала с элемента НЕ 30 запирает элементы И 21, 25, 27, 29 и на выход 22 коммутатора 5 через элемент И 31 проходит делимое со входа 1,ment And 27 and at output 22 will pass + 4U. The signal I4, arriving at input 28 will open element And 29 and at output 22 of switch will pass -4y. When a signal is applied to the input 4, the inversion signal from the element NE 30 locks the elements 21 21, 25, 29 and the output 22 of the switch 5 through the element 31 passes the dividend from the input 1,

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

На вход 1 устройства подаетс  пр мой код делимого X. Регистр 2The input to the device 1 is the direct code of the dividend X. Register 2

устройства подаетс  единичный сигнал значащие разр ды делимого проход т |через коммутатор 5, сумматор 6 на вход регистра 2 без изменени . По сигналу, поступающему на вход 7, зна чащие разр ды делимого записываютс  в регистр 2. Одновременно знаковый разр д делимого поступает на счетный вход триггера 8, предварительно (:бров1енного в ноль, и по сигналу на входе 9 записываетс  в него. По завершении записи делимого на вход 1 подаетс  пр мой код делител the device is given a single signal, significant digits of the dividend are passed | through the switch 5, the adder 6 to the input of the register 2 without change. According to the signal received at input 7, the significant bits of the dividend are recorded in register 2. At the same time, the sign bit of the dividend is fed to the counting input of the trigger 8, previously (: the leading to zero, and the signal at input 9 is written to it.) divisible by input 1 is fed to my divider code

слрдующим образом.as follows.

ЕСЛИ на вход..коммутатора поступит сигнал , то Откроетс  элемент И 21 и на выход 22, коммутатора пройдет через элемент ИЛИ 23 удвоен- нре значение делител  + 2у. Если на вход 24 поступит сигнал , на выход 22 через элемент И 25 пройдет инверси  удвоенного делит.ел , то есть -2у. Аналогично сигнал , поступак ций на вход 26, откроет элегIf a signal arrives at the switch input .., then element 21 will open and at output 22, the switch will pass through element OR 23 twice the divider value + 2y. If the input 24 receives a signal, the output 22 through the element And 25 will be the inversion of the doubled divider. I.e. -2u. Similarly, the signal, the inputs to the input 26, will open

гистр I1. Знаковый разр д У по сигналу на входе 9 поступает на счет- ны й вход триггера Вив последнем . формируетс  знак частного.gistr i1. The sign bit Y on the signal at input 9 enters the counting input of the Viv trigger last. the sign of the private is formed.

В первом цикле на адресные входы блока 12 поступают старшие разр ды делимого и делител  и на выходах блока 12.формируютс  сигналы И1, И2, ИЗ, И4. Под воздействием этих сигналов в коммутаторе -5 формируетс  одно из кратных делител : +2у, -2у, , -4у, О, Это кратное поступает на одни входы сумматора 6. Де- дд лимое (или очередной остаток) с выходов регистра 2 поступает на другие входы сумматора 6 с перекосом на два разр да в сторону старших разр 35In the first cycle, the high-order bits of the dividend and the divider are fed to the address inputs of block 12, and signals I1, I2, IZ, I4 are formed at the outputs of the block 12. Under the influence of these signals, one of the multiple divisors is formed in the switch -5: + 2y, -2y, -4y, O, This multiple is fed to one input of the adder 6. Deduced (or the next balance) from the outputs of register 2 goes to the other inputs of the adder 6 with a bias of two bits in the direction of the older bit 35

4040

дов, т.е. в сумматор 6 поступает ,Q учетверенное значение делимого (или остатка 4х. Сумматор 6, работающий в обратных кодах, формирует первый остаток 0. Одновременно сигналы с выходов блока 12 пам ти поступают на входы элементов ИЛИ 13, 14, 15, вы- ходьГ которых подключогы ко входам сум- матора 16. Очевидно, что если И1 1, во все разр ды сумматора 16, кроме младшего (SMj.), поступит единица.Dov, i.e. adder 6 enters, Q is the quadruple value of the dividend (or the remainder 4x. Adder 6, operating in reverse codes, forms the first residual 0. At the same time, the signals from the outputs of memory block 12 are fed to the inputs of the elements OR 13, 14, 15, the output of which Connection to the inputs of the adder 16. Obviously, if I1 1, all units of the adder 16, except for the younger (SMj.), will receive one.

5555

предварительно сбрасываетс  в сигналом по входу 3. На вход 4 previously reset to signal at input 3. Input 4

мент И 27 и на выход 22 пройдет +4У. Сигнал И4, поступающий на вход 28, откроет элемент И 29 и на выход 22 коммутатора пройдет -4у. При подаче сигнала на вход 4 инверси  сигнала с элемента НЕ 30 запирает элементы И 21, 25, 27, 29 и на выход 22 коммутатора 5 через элемент И 31 проходит делимое со входа 1,ment And 27 and exit 22 will pass + 4U. The signal I4, coming to the input 28, will open the element And 29 and on the output 22 of the switch will pass -4y. When a signal is applied to the input 4, the inversion signal from the element NE 30 locks the elements 21 21, 25, 29 and the output 22 of the switch 5 through the element 31 passes the dividend from the input 1,

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

На вход 1 устройства подаетс  пр мой код делимого X. Регистр 2The input to the device 1 is the direct code of the dividend X. Register 2

предварительно сбрасываетс  в сигналом по входу 3. На вход 4 previously reset to signal at input 3. Input 4

., ..„„ ...„ ., .. "" ... "

Значгицие разр ды делител  по-сиг- налу на входе 10 записываитс  в ре-  Significant bits of the divider on-signal at the input 10 is recorded in

устройства подаетс  единичный сигнал значащие разр ды делимого проход т |через коммутатор 5, сумматор 6 на вход регистра 2 без изменени . По сигналу, поступающему на вход 7, значащие разр ды делимого записываютс  в регистр 2. Одновременно знаковый разр д делимого поступает на счетный вход триггера 8, предварительно (:бров1енного в ноль, и по сигналу на входе 9 записываетс  в него. По завершении записи делимого на вход 1 подаетс  пр мой код делител the device is given a single signal, significant digits of the dividend are passed through the switch 5, the adder 6 to the input of the register 2 without change. The signal arriving at input 7, significant digits of the dividend are recorded in register 2. At the same time, the sign bit of the dividend is fed to the counting input of the trigger 8, previously (: the leading zero, and the signal at input 9 is written to it. When the dividend is written input 1 is fed to my divider code

30 Значгицие разр ды делител  по-сиг- налу на входе 10 записываитс  в ре- 30 The digit of the digit of the divider by-signal at the input 10 is recorded in the re-

гистр I1. Знаковый разр д У по сигналу на входе 9 поступает на счет- ны й вход триггера Вив последнем . формируетс  знак частного.gistr i1. The sign bit Y on the signal at input 9 enters the counting input of the Viv trigger last. the sign of the private is formed.

В первом цикле на адресные входы блока 12 поступают старшие разр ды делимого и делител  и на выходах блока 12.формируютс  сигналы И1, И2, ИЗ, И4. Под воздействием этих сигналов в коммутаторе -5 формируетс  одно из кратных делител : +2у, -2у, , -4у, О, Это кратное поступает на одни входы сумматора 6. Де- д лимое (или очередной остаток) с выходов регистра 2 поступает на другие входы сумматора 6 с перекосом на два разр да в сторону старших разр 35In the first cycle, the high-order bits of the dividend and the divider are fed to the address inputs of block 12, and signals I1, I2, IZ, I4 are formed at the outputs of the block 12. Under the influence of these signals, one of the multiple divisors is formed in the switch -5: + 2y, -2y, -4y, O, This multiple is fed to one input of the adder 6. Dedemoe (or the next balance) from the outputs of register 2 goes to the other inputs of the adder 6 with a bias of two bits in the direction of the older bit 35

00

дов, т.е. в сумматор 6 поступает Q учетверенное значение делимого (или остатка 4х. Сумматор 6, работающий в обратных кодах, формирует первый остаток 0. Одновременно сигналы с выходов блока 12 пам ти поступают на входы элементов ИЛИ 13, 14, 15, вы- ходьГ которых подключогы ко входам сум- матора 16. Очевидно, что если И1 1, во все разр ды сумматора 16, кроме младшего (SMj.), поступит единица.Dov, i.e. adder 6 receives the Q quadruple value of the dividend (or 4x residual. Adder 6, operating in reverse codes, forms the first residual 0. At the same time, the signals from the outputs of memory block 12 are fed to the inputs of the elements OR 13, 14, 15, the output of which to the inputs of the adder 16. It is obvious that if I1 1, in all bits of the adder 16, except for the younger (SMj.), one will go.

5five

т.е. в сумматор поступит число -2 ЕСЛИ , единица поступит только в младший разр д сумматора (число +2), Если , в сумматор поступает число -4. ЕСЛИ И4, в сумматор поступает число +4. На другие входы сумматора 16 поступает со сдвигом на два разр да в сторону старших разр дов значение предыдущего цикла с регистра 17. По завершении операции суммировани  в сумматорах 6, 16 на вход 7 устройства подаетс  сигнал записи, по которому остаток О, записываетс  в регистр 2, и первое при- ближение частного ..Z - в регистр 17 После чего выполн етс  второй циклthose. the adder receives the number -2 IF, the unit enters only the low-order adder (number +2), If, the adder receives the number -4. IF I4, the number +4 enters the adder. The other inputs of the adder 16 are shifted by two bits towards the higher bits of the value of the previous cycle from register 17. Upon completion of the summation operation in adders 6, 16, a write signal is sent to the device input 7, according to which the remainder O is written to register 2 and the first approximation of the quotient ..Z is in register 17 Then the second cycle is performed

ттПttp

делени . По завершении - циклов сdivision. Upon completion - cycles with

.выходов 18 и 19 устройства считываетс  частное.Exit points 18 and 19 of the device read the quotient.

Claims (1)

Формула изобретени Invention Formula Устройство дл  делени  чисел, содержащее три.регистра, первый сумматор , коммутатор, блок пам ти и первый элемент ИЛИ, причем информационный вход устройства соединен с пер- вым информационным входом . коммутатора , первый управл ющий вход которого соединен с входом управлени  занесением устройства, вход начальной установки и первый тактовый вход которого соединены соответственно с входом сброса и с входом разрешени  приема первого регистра, информационный вход которого соединен с выходом первого сумматора, вход пер- вого слагаемого которого соединен с выходом коммутатора,, информационшда входы i-ro разр да которого с втог рого по п тый соединены соответственно , с пр мым выходом (i-J)-ro разр - да, с инверрным выходом (з.-1) разр да , с пр мым выходом (i-2)-ro разр - да и с инверсным выходом (i-2)-ro . разр да второго регистра ((n+2, п-разр дность опе зандов), вход раз- решени  приема которого соединен сA device for dividing numbers containing three registers, a first adder, a switch, a memory block and the first OR element, with the information input of the device connected to the first information input. the switch, the first control input of which is connected to the input control input of the device, the input of the initial installation and the first clock input of which is connected respectively to the reset input and the input of the enable resolution of the first register, the information input of which is connected to the output of the first adder, the input of the first addend is connected to the output of the switch, the informational inputs of the i-ro discharge of which are connected in parallel with the fifth, respectively, with the direct output (iJ) -ro discharge, with the inverter output (C-1) of discharge, with the right m th output (i-2) -ro bit - and with inverse output (i-2) -ro. bit of the second register ((n + 2, p-size of the operands), the input of the reception of which is connected to вторым тактовым входом устройства, первый тактовый вход которого соединен с входом разррпени  приема третьего регистра, выход которого  вл етс  выходом частного устройства, выходы старших разр дов первого и второго регистров соединены соответственно с первым и вторым адресными входами блока пам ти, информационный вход устройства соединен с информационным входом второго регистра, выход первого регистра соединен со сдвигом на два разр да в сторону старших разр дов с входом второго слагаемого первого сумматора, о т - л. ичающеес  тем, что, с целью сокращени  аппаратурных затрат оно содержит второй сумматор, тригге второй и третий элементы ИЛИ, -причем выходы с первого по четвертый блока пам ти соединены соответственно с управл ющими входами с второго по п тый коммутатора, информационный вход устройства соединен со счетным входом триггера, вход разрешени  прима и выход которого  вл ютс  соответственно третьим тактовым входом и выходом знака частного устройства, второй выход блока пам ти соединен с первым входом первого элемента ИЛИ первый выход блока пам ти соединен с первыми входами второго и третьего элементов ИЛИ, третий выход блока пам ти соединен с вторыми входами первого и третьего элементов ИЛИ, четвертый выход блока пам ти соедине с вторым входом второго элемента ШШ, выходы первого и второго элементов ИЛИ соединены соответственно с входами первого и второго разр дов первого слагаемого второго сумматора , выход третьего элемента соединен с входами разр дов с третьего по п-й первого слагаемого второго сумматора, выход которого соединен с информационным входом третьего регистра, выход которого соединен со сдвигом на два разр да в сторону старших разр дов с входом второго слагаемого второго сумматора.the second clock input of the device, the first clock input of which is connected to the discharge input of the third register, the output of which is the output of the private device, the outputs of the higher bits of the first and second registers are connected respectively to the first and second address inputs of the memory unit, the information input of the device is connected to the information input of the second register, the output of the first register is connected with a shift by two digits towards the higher bits with the input of the second term of the first adder, о t - l. In order to reduce hardware costs, it contains a second adder, a second and a third OR trigger, and the outputs from the first to the fourth memory block are connected respectively to the control inputs of the second to fifth switch, the information input of the device is connected to the counting trigger input, the enable input of the prim and the output of which are, respectively, the third clock input and the output of the private device sign, the second output of the memory block is connected to the first input of the first element OR the first output of the block the memory is connected to the first inputs of the second and third OR elements, the third output of the memory unit is connected to the second inputs of the first and third OR elements, the fourth output of the memory unit is connected to the second input of the second SHS element, the outputs of the first and second OR elements are connected respectively to the inputs the first and second bits of the first term of the second adder, the output of the third element is connected to the inputs of the bits from the third to the nth first term of the second adder, the output of which is connected to the information input of the third regis tra, the output of which is connected with a shift by two bits towards the higher bits with the input of the second term of the second adder.
SU874235584A 1987-04-23 1987-04-23 Device for dividing numbers SU1465883A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU874235584A SU1465883A1 (en) 1987-04-23 1987-04-23 Device for dividing numbers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU874235584A SU1465883A1 (en) 1987-04-23 1987-04-23 Device for dividing numbers

Publications (1)

Publication Number Publication Date
SU1465883A1 true SU1465883A1 (en) 1989-03-15

Family

ID=21300550

Family Applications (1)

Application Number Title Priority Date Filing Date
SU874235584A SU1465883A1 (en) 1987-04-23 1987-04-23 Device for dividing numbers

Country Status (1)

Country Link
SU (1) SU1465883A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1008733, кл. G 06 F 7/52, 1981. Авторское свидетельство СССР № 1417009, кл. G 06 F 7/52. 1986. *

Similar Documents

Publication Publication Date Title
SU1465883A1 (en) Device for dividing numbers
SU1280624A1 (en) Device for multiplying the floating point numbers
SU752332A1 (en) Device for computing the function: squared x plus squared y
SU1012245A1 (en) Multiplication device
SU1043636A1 (en) Device for number rounding
SU1424011A1 (en) Associative adder
SU911519A1 (en) Device for computing elementary functions
SU593211A1 (en) Digital computer
SU1767497A1 (en) Divider
SU842798A1 (en) Adding and subtracting device
SU1273919A1 (en) Device for adding in binary and binary-coded decimal number system
SU1280612A1 (en) Device for dividing numbers in redundant code
SU1141401A1 (en) Device for calculating difference of two numbers
SU656218A1 (en) Counter with error correction
SU1156072A1 (en) Microprocessor control unit
SU1756881A1 (en) Modulo arithmetic unit
SU877529A1 (en) Device for computing square root
SU1151957A1 (en) Device for calculating value of square root
SU1462297A1 (en) Matrix division device
SU1619255A1 (en) Division device
SU705448A1 (en) Multiplier
SU842789A1 (en) Microprocessor section
SU1287149A1 (en) Device for dividing numbers
SU1401448A1 (en) Apparatus for implementing boolean symmetrical functions
SU1405055A1 (en) Square rooting device