RU1783523C - Device for dividing - Google Patents

Device for dividing

Info

Publication number
RU1783523C
RU1783523C SU914914348A SU4914348A RU1783523C RU 1783523 C RU1783523 C RU 1783523C SU 914914348 A SU914914348 A SU 914914348A SU 4914348 A SU4914348 A SU 4914348A RU 1783523 C RU1783523 C RU 1783523C
Authority
RU
Russia
Prior art keywords
output
input
adder
register
information input
Prior art date
Application number
SU914914348A
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 SU914914348A priority Critical patent/RU1783523C/en
Application granted granted Critical
Publication of RU1783523C publication Critical patent/RU1783523C/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано в быстродействующих арифметических устройствах дл  выполнени  операции делени  чисел. Цель изобретени  - повышение быстродействи  устройства за счет сокращени  длительности такта формировани  К цифр частного. Устройство содержит первый и второй регистры 1-2 остатка, регистр 3 делител , регистр 4 обратной величины, сумматор 5 частного, сумматор 6 принудительного округлени  делител , узел 7 вычислени  обратной величины, два сумматора 8, 9. блок 10 умножени , коммутатор 13, селектор 14, элемент 15 НЕ, блок 19 микропрограммного управлени  и нововведенные управл емый формирователь 11 частичных произведений и блок 12 суммировани . 4 ил., 1 табл.The invention relates to computer technology and can be used in high-speed arithmetic devices for performing a number division operation. The purpose of the invention is to increase the speed of the device by reducing the duration of the cycle of generating K digits of quotient. The device contains the first and second registers 1-2 of the remainder, register 3 divider, register 4 reciprocal, adder 5 private, adder 6 forced rounding of the divider, node 7 for calculating the reciprocal, two adders 8, 9. block 10 multiplication, switch 13, selector 14, the element 15 is NOT, the firmware control unit 19 and the newly introduced controllable partial product generator 11 and the summing unit 12. 4 ill., 1 tab.

Description

sjsj

00 GO СЛ00 GO SL

кэ ыke s

Изобретение относитс  к вычислительной технике и может быть применено в быстродействующих арифметических устройствах дл  выполнени  операции делени  чисел.The invention relates to computer technology and can be applied in high-speed arithmetic devices for performing the operation of division of numbers.

Известно устройство дл  делени , формирующее в каждом такте цифр частногоA device for dividing, forming in each cycle digits private

(где 2 К т; . п - разр дность делимого(where 2 K t;. p - bit divisibility

и делител ) и содержащее два регистра остатка , регистр делител , сумматор частного, сумматор принудительного округлени  делител , узел вычислени  обратной величины , два сумматора, два блока умножени , вычитатель, элемент И-НЕ, два коммутатора и блок микропрограммного управлени . Основным недостатком этого устройства  вл етс  низкое быстродействие, вызванное большой длительностью такта формировани  цифр частного и остатка.and a divider) and comprising two remainder registers, a divider register, a private adder, a forced rounding combiner of the divider, a reciprocal calculation unit, two adders, two multiplication units, a subtractor, an NAND element, two switches, and a firmware control unit. The main disadvantage of this device is the low speed caused by the long cycle time of the formation of the digits of the quotient and the remainder.

Известно устройство дл  делени , формирующее в каждом такте цифр частногоA device for dividing, forming in each cycle digits private

(где 2 , п- разр дность делимого(where 2, p is the resolution of the dividend

,11--L г11 - L g

и делител ) и содержащее два регистра остатка , регистр делител , сумматор частного, сумматор принудительного округлени  делител , узел вычислени  обратной величины , два сумматора, два блока умножени , коммутатор, селектор, вычитатель, элемент НЕ и блок микропрограммного управлени . Хот  быстродействие этого устройства несколько выше по сравнению с рассмотренным ранее, но и оно недостаточно высокое из-за относительно большой длительности такта, в случае, когда на входе данных устройства одновременно присутствуют п-раз- р дные двоичные коды делимого X и делител  Y и загружаютс  в первый регистр остатка и регистр делител  одновременно. Наиболее близким по технической сущности к изобретению  вл етс  устройство дл  делени , формирующее в каждом тактеand a divider) and comprising two remainder registers, a divider register, a private adder, a forced rounding combiner of the divider, an inverse computation unit, two adders, two multiplication units, a switch, a selector, a subtractor, a NOT element and a firmware control unit. Although the speed of this device is slightly higher compared to the previously considered, it is not high enough due to the relatively long cycle time, in the case when at the input of the device’s data there are simultaneously binary bits of the dividend X and the divisor Y and load into the first register of the remainder and the register of the divider at the same time. Closest to the technical nature of the invention is a device for dividing, forming in each cycle

цифр частного (где 2 К j ту I n - разр дность делимого и делител ) и содержащее два регистра остатка, регистр делител , регистр обратной величины, сумматор частного , сумматор принудительного округлени , узел вычислени  обратной величины, два сумматора, два блока умножени , коммутатор , селектор, вычитатель, элемент НЕ и блок микропрограммного управлени , причем вход данных устройства соединен с информационным входом регистра делител  и с первым информационным входом коммутатора , выход которого соединен с информационным входом первого регистра остатка, выходы первого и второго регистров остатка соединены с первым и вторымdigits of the quotient (where 2 К j that I n is the bit of the dividend and the divisor) and containing two remainder registers, the divisor register, the reciprocal register, the quotient adder, the forced rounding adder, the reciprocal calculator, the two adders, the two multiplication units, the switch , a selector, a subtracter, an element NOT, and a firmware control unit, the device data input being connected to the information input of the divider register and to the first information input of the switch, the output of which is connected to the information input of the first the remainder register, the outputs of the first and second balance registers are connected to the first and second

информационными входами первого сумматора соответственно, выход которого  вл етс  выходом остатка устройства и соединен с входом уменьшаемого вычитател , входы вычитаемого и заема которого соединены выходами первой и второй групп первого блока умножени  соответственно , первый информационный вход первого блока умножени  соединен с выходомinformation inputs of the first adder, respectively, whose output is the output of the remainder of the device and connected to the input of the reducible subtractor, the inputs of which are subtracted and borrowed are connected by the outputs of the first and second groups of the first multiplication block, respectively, the first information input of the first multiplication block is connected to the output

0 регистра, выходы разности и заема вычита- тел  соединены с вторым информационным входом коммутатора и информационным входом второго регистра остатка соответственно , выходы старших разр дов первого и0 registers, the outputs of the difference and the loan of the subtractors are connected to the second information input of the switch and the information input of the second register of the balance, respectively, the outputs of the higher bits of the first and

5 второго регистров остатка соединены с первым и вторым информационными входами второго сумматора соответственно, выход младших разр дов которого соединен с первым информационным входом второго бло0 ка умножени , выход старшего разр да второго сумматора соединен с входом элемента НЕ, выход которого соединен с управл ющимвходомселектора , информационный вход которого соединен с5 second registers of the remainder are connected to the first and second information inputs of the second adder, respectively, the low-order output of which is connected to the first information input of the second multiplication block, the high-order output of the second adder is connected to the input of the element NOT, the output of which is connected to the control input of the selector, information whose input is connected to

5 выходом второго блока умножени , выход селектора соединен с информационным входом младших разр дов сумматора частного и с вторым информационным входом первого блока умножени , выход старших5 by the output of the second block of multiplication, the output of the selector is connected to the information input of the lower bits of the adder private and to the second information input of the first block of multiplication, the output of the senior

0 разр дов делител  входа данных устройства соединен с информационным входом сумматора принудительного округлени  делител , вход переноса которого соединен с входом логической единицы устройства, вы5 ход сумматора принудительного округлени  делител  соединен с информационным входом узла вычислени  обратной величины, выход которого соединен с информационным входом регистра обратной величины,0 bits of the input data divider of the device is connected to the information input of the adder rounding adder, the transfer input of which is connected to the input of the logical unit of the device, the output 5 of the adder rounding adder is connected to the information input of the reciprocal calculation unit, the output of which is connected to the information input of the reciprocal register ,

0 выход которого соединен с вторым информационным входом второго блока умножени , вход синхронизации устройства соединен с синхровходами первого и второго регистров остатка, регистра делител , ре5 гистра обратной величины, сумматора частного и блока микропрограммного управлени , первый выход которого соединен с входом разрешени  записи регистра делител , регистра обратной величины, с пер0 вым управл ющим входом коммутатора и входом установки в нуль второго регистра остатка и сумматора частного, выход которого  вл етс  выходом частного устройства, второй выход блока микропрограммного уп5 равлени  соединен с вторым управл ющим входом коммутатора и входами разрешени  записи второго регистра остатка и сумматора частного, третий выход блока микропрог раммного управлени  соединен с входом разрешени  записи nepeot о регистра оста г0 the output of which is connected to the second information input of the second multiplication unit, the synchronization input of the device is connected to the sync inputs of the first and second registers of the remainder, divider register, inverse register, adder private and microprogram control unit, the first output of which is connected to the write enable input of the divider, inverse register, with the first control input of the switch and the zero input of the second register of the remainder and the adder private, the output of which is the output of the private of the second device, the second output of the microprogram control unit is connected to the second control input of the switch and the write enable inputs of the second remainder register and the adder private, the third output of the microprogram control unit is connected to the write enable input nepeot about the remaining register

ка, четвертый выход блока микропрограммного управлени   вл етс  выходом признака окончани  делени  устройства. Недостаток известного устройства - относительно низкое быстродействие, вызванное достаточно большой длительностью такта формировани  к цифр частного.Thus, the fourth output of the microprogram control unit is the output of the sign of the end of the division of the device. A disadvantage of the known device is its relatively low speed caused by the sufficiently long duration of the clock cycle to form digits of the quotient.

Цель изобретени  - повышение быстродействи  устройства за счет сокращени  длительности такта формировани  к цифр частного, Оно достигаетс  тем, что на длительности такта не вли ет задержка селектора и устранена задержка вычитател .The purpose of the invention is to increase the speed of the device by reducing the duration of the clock cycle to the digits of the quotient. It is achieved by the fact that the delay time is not affected by the delay of the selector and the delay of the subtractor is eliminated.

Поставленна  цель достигаетс  тем, что в устройство дл  делени , содержащее два регистра остатка, регистр делител , регистр обратной величины, сумматор частного, сумматор принудительного округлени  делител , узел вычислени  обратной величины , два сумматора, блок умножени , коммутатор, селектор, элемент НЕ и блок микропрограммного управлени , причем вход данных устройства через шину данных устройства соединён с информационным входом регистра делител  и с первым информационным входом коммутатора, выход которого соединен с информационным входом первого регистра остатка, выходы первого и второго регистров остатка соединены с первым и вторым информационными входами первого сумматора соответственно, выход которого  вл етс  выходом остатка устР°йства, выходы старших разр дов первого и второго регистров остатка соединены с первым и вторым информационными входами второго сумматора соответственно , выход младших разр дов которого соединен с первым информационным входом блока умножени , выход старшего разр да сумматора соединен с управл ющим входом селектора, информационный вход которого соединен с выходом блока умножени , выход селектора соединен с информационным входом младших разр дов сумматора частного, выход старших разр дов делител  через шину данных устройства соединен с информационным входом сумматора принудительного округлени  делител , вход логической единицы устройства соединен с входом переноса сумматора принудительного округлени  делител , выход которого соединен с информационным входом узла вычислени  обратной величины, выход которого соединен с информационным входом регистра обратной величины, выход которого соединен с вторым информационным входом блока умножени , вход синхронизации устройства соединен с синхровходами первого и второго регистров остатка, регистра делител , регистраThis goal is achieved by the fact that in the device for dividing, containing two remainder registers, divider register, register of the return value, adder private, adder forced rounding of the divider, node for calculating the return value, two adders, multiplication unit, switch, selector, element NOT and unit firmware control, and the input of the device data via the device data bus is connected to the information input of the divider register and to the first information input of the switch, the output of which is connected to the information by the input of the first balance register, the outputs of the first and second balance registers are connected to the first and second information inputs of the first adder, respectively, the output of which is the output of the remainder of the device, the high-order outputs of the first and second balance registers are connected to the first and second information inputs of the second the adder, respectively, the output of the least significant bits of which is connected to the first information input of the multiplication unit, the output of the highest bit of the adder is connected to the control input of the selector, the input of which is connected to the output of the multiplication unit, the output of the selector is connected to the information input of the least significant bits of the adder private, the output of the highest bits of the divider via the data bus of the device is connected to the information input of the adder for forced rounding of the divider, the input of the logical unit of the device is connected to the transfer input of the adder for rounding a divider, the output of which is connected to the information input of the reciprocal variable calculation node, whose output is connected to the information input of the reg reciprocal isstra, whose output is connected to the second information input of the multiplication unit, the device synchronization input is connected to the sync inputs of the first and second registers of the remainder, divider register, register

обратной величины, сумматора частного и блока микропрограммного управлени , первый выход которого соединен с входом раз- решени  записи регистра делител , 5 регистра обратной величины, с первым управл ющим входом коммутатора и входом установки в нуль второго регистра остатка и сумматора частного, выход которого  вл етс  выходом частного устройства, второй вы0 ход блока микропрограммного управлени  соединен с вторым управл ющим входом коммутатора и входами разрешени  записи второго регистра остатка и сумматора частного , третий выход блока микропрограмм5 ного управлени  соединен с входом разрешени  записи первого регистра остатка , четвертый выход блока микропрограммного управлени   вл етс  выходом признака окончани  делени  устройства,reciprocal, adder private and firmware control unit, the first output of which is connected to the recording permission input of the divider register, 5 registers of the reciprocal value, with the first control input of the switch and the zero input of the second register of the remainder and adder private, the output of which is the output of the private device, the second output of the firmware control unit is connected to the second control input of the switch and the recording enable inputs of the second register of the remainder and the adder private, the third output the microprogram control unit is connected to the write enable input of the first remainder register, the fourth output of the microprogram control unit is the output of the sign of the end of the division of the device;

0 введены управл емый формирователь частичных произведений и блок суммировани , причем выход регистра делител  соединен с первым информационным входом управл емого формировател  частичных произ5 ведений, выход блока делени  усеченных чисел соединен с вторым информационным входом управл емого формировател  частичных произведений, управл ющий вход которого соединен с выходом элемента НЕ,0, a controlled partial product shaper and a summing unit are introduced, with the divider register output connected to the first information input of the controlled partial product shaper, the output of the truncated number division unit is connected to the second information input of the controlled partial product shaper, the control input of which is connected to the output element NOT

0 выход первого сумматора соединен с первым информационным входом блока суммировани , второй информационный вход блока суммировани  соединен с выходом управл емого формировател  частичных0 the output of the first adder is connected to the first information input of the summing unit, the second information input of the summing unit is connected to the output of the controlled partial shaper

5 произведений, выходы сумм и переносов блока суммировани  соединены с вторым информационным входом коммутатора и информационным входом второго регистра остатка соответственно. Устройство дл  де0 лени  содержит отличительные признаки, не обнаруженные ни в одном из известных устройств - наличие управл емого формировател  частичных произведений и блока суммировани  с соответствующими св з 5 ми. Эти признаки позвол ют повысить быстродействие устройства-прототипа за счет сокращени  длительности такта формировани  к цифр частного. Таким образом, так как в за вл емом техническом решении5 products, the outputs of the sums and transfers of the summing unit are connected to the second information input of the switch and the information input of the second balance register, respectively. The dividing device contains distinctive features not found in any of the known devices - the presence of a controlled shaper of partial works and a summing unit with corresponding 5 links. These features allow to increase the speed of the prototype device by reducing the duration of the formation cycle to digits of the quotient. Thus, since in the claimed technical solution

0 имеютс  отличительные признаки, обеспечивающие достижение поставленной цели и не обнаруженные ни в одном другом известном аналогичном техническом решении, то оно соответствует критерию существен5 ные отличи .If there are distinctive features that ensure the achievement of the goal and not found in any other known similar technical solution, then it meets the criterion of significant differences.

На фиг.1 приведена структурна  схема устройства дл  делени ; на фиг.2 - функциональна  схема управл емого формировател  частичных произведений; на фиг.З - микропрограмма работы устройства; наFigure 1 is a structural diagram of a division device; Fig. 2 is a functional diagram of a controlled shaper of partial works; in Fig.Z - firmware operation of the device; on the

фиг.4 - функциональна  схема блока микропрограммного управлени .Fig. 4 is a functional diagram of a firmware control unit.

Устройство дл  делени  содержит (фиг.1) первый 1 и второй 2 регистры остатка , регистр 3 делител , регистр 4 обратной величины, сумматор 5 частного, сумматор 6 принудительного округлени  делител , узел 7 вычислени  обратной величины, первый и второй сумматоры 8,9 соответственно, блок 10 умножени , управл емый формирователь 11 частичных произведений, блок 12 суммировани , коммутатор 13, селектор 14, элемент НЕ 15, блок 16 микропрограммного управлени , вход 17 данных устройства, вход 18 синхронизации устройства, вход 19 логической единицы устройства, выходы 20 и 21 соответственно остатка и частного устройства , выходы 22 и 23 регистров 1 и 2, выходы 24, 25 старших разр дов регистров соответственно 1 и 2; выход 26 регистра 3, выход 27 старших разр дов делител  входа 17 данных устройства, выход 28 сумматора б, выход 29 узла 7 вычислени  обратной величины, выход 30 регистра 4, выход 31 младших разр дов и выход 32 старшего разр да сумматора 9, выход 33 элемента НЕ 15, выход 34 блока 10 умножени , выход 35 селектора 14, выход 36 первого сумматора 8, выход 37 управл емого формировател  11 частичных произведений, первый 38 и второй 39 выходы блока 12 суммировани , выход 40 коммутатора 13, выходы 41-44 с первого по четвертый блока 16 микропрограммного управлени  соответственно. Вход 17 данных через шину данных устройства соединен с информационным входом регистра 3 делител  и с первым информационным входом коммутатора 13, выход 40 которого соединен с информационным входом первого регистра 1 остатка, выходы 22, 23 первого 1 и второго 2 регистров остатка соединены с первым и вторым информационными входами первого сумматора 8 соответственно , выход 36 которого  вл етс  выходом 20 остатка устройства и соединен с первым входом блока 12 суммировани , второй вход которого соединен с выходом 37 управл емого формировател  11 частичных произведений, первый информационный вход управл емого формировател  11 частичных произведений соединен с выходом 26 регистра 3 делител , выход 38 сумм и выход 39 переносов блока 12 суммировани  соединены с вторым информационным входом коммутатора 13 и информационным входом-второго регистра 2 остатка соответственно , выходы 24, 25 старших разр дов первого 1 и второго 2 регистров остатка соединены с первым и вторым информационными входами второго сумматора 9 соответственно , выход 31 младших разр дов которого соединен с первым информационным входом блока 10 умножени , выход 32 старшего разр да второго сумматора 9 соединен с входом элемента 15 НЕ, выход 33 которого соединен с управл ющим входом селектора 14 и управл ющим входом управл емого формировател  11 частичных произведений , выход 34 блока 10 умножени The device for dividing contains (Fig. 1) first 1 and second 2 registers of remainder, register 3 of the divider, register 4 of inverse value, adder 5 quotient, adder 6 of forced rounding of the divider, node 7 for calculating inverse value, first and second adders 8,9, respectively , multiplication unit 10, controllable partial product generator 11, summing unit 12, switch 13, selector 14, HE 15 element, firmware control unit 16, device data input 17, device synchronization input 18, device logical unit input 19, outputs 2 0 and 21, respectively, of the remainder and the private device, outputs 22 and 23 of registers 1 and 2, outputs 24, 25 of the upper bits of the registers 1 and 2, respectively; output 26 of register 3, output 27 of the upper bits of the divider of the input 17 of the device data, output 28 of the adder b, output 29 of the inverse computation unit 7, output 30 of register 4, output of 31 lower bits and output of 32 high bits of the adder 9, output 33 element 15, output 34 of the multiplication unit 10, output 35 of the selector 14, output 36 of the first adder 8, output 37 of the controlled shaper 11 of the partial products, the first 38 and second 39 outputs of the adder 12, output 40 of the switch 13, outputs 41-44 s first to fourth firmware control units 16, respectively. The data input 17 through the device data bus is connected to the information input of the divider register 3 and to the first information input of the switch 13, the output 40 of which is connected to the information input of the first remainder register 1, outputs 22, 23 of the first 1 and second 2 registers of the remainder are connected to the first and second information inputs of the first adder 8, respectively, the output 36 of which is the output 20 of the remainder of the device and is connected to the first input of the summing unit 12, the second input of which is connected to the output 37 of the controlled shaper 11 of the part works, the first information input of the controlled generator of partial works 11 is connected to the output 26 of the divider register 3, the output of 38 sums and the output 39 of transfers of the summing unit 12 are connected to the second information input of the switch 13 and the information input of the second register 2 of the remainder, respectively, outputs 24, 25 high-order bits of the first 1 and second 2 registers of the remainder are connected to the first and second information inputs of the second adder 9, respectively, the output of the lower 31 bits of which is connected to the first information th input unit 10 multiplies, the output 32 of the second most significant bit of the adder 9 is connected to the input of NOT element 15, the output 33 of which is connected to a control input of the selector 14 and the control input of the controllably shaper 11 partial products, yield 34 multiplying unit 10

0 соединен с информационным входом селектора 14 и с вторым информационным входом управл емого формировател  11 частичных произведений, выход 35 селектора 14 соединен с информационным входом0 is connected to the information input of the selector 14 and to the second information input of the controlled shaper 11 of the partial works, the output 35 of the selector 14 is connected to the information input

5 младших разр дов сумматора 5 частного, выход 27 старших разр дов делител  через шину данных устройства соединен с информационным чходом сумматора 6 принудительного округлени  делител , вход 195 low-order bits of the adder 5 private, the output of the 27 high-order bits of the divider is connected through the data bus of the device to the information flow of the adder 6 forcing the divider round off, input 19

0 логической единицы устройства соединен с входом переноса сумматора 6 принудительного округлени  делител , выход 28 которого соединен с входом узла 7 вычислени  обратной величины, выход 29 которого сое5 динен с информационным входом регистра 4 обратной величины, выход 30 которого соединен с вторым информационным входом блока 10 умножени , вход 18синхрони- з ации устройства соединен с0 of the logical unit of the device is connected to the transfer input of the adder 6 for rounding the divider, the output 28 of which is connected to the input of the reciprocal calculation unit 7, the output 29 of which is connected to the information input of the reciprocal register 4, the output 30 of which is connected to the second information input of the multiplication unit 10 , sync input 18 of the device is connected to

0 синхровходами первого 1 и второго 2 регистров остатка, регистра 3 делител , регистра 4 обратной величины, сумматора 5 частного и блока 16 микропрограммного управлени , первый выход 41 которого соеди5 нен с входом разрешени  записи регистра 3 делител , регистра 4 обратной величины, с первым управл ющим входом коммутатора 13 и входом установки в нуль второго регистра 2 и сумматора 5 частного, выход0 sync inputs of the first 1 and second 2 registers of the remainder, register 3 of the divider, register 4 of the inverse value, adder 5 of the private and block 16 of the firmware control, the first output 41 of which is connected 5 with the write enable input of register 3 of the divider, register 4 of the inverse value, with the first control the input of the switch 13 and the input of setting to zero the second register 2 and the adder 5 private, output

0 которого  вл етс  выходом 21 частного устройства , второй выход 42 блока 16 микропрограммного управлени  соединен с вторым управл ющим входом коммутатора 13, входами разрешени  записи второго ре5 гистра 2 остатка и сумматора 5 частного, третий выход 43 блока 16 микропрограммного управлени  соединен с входом разрешени  записи первого регистра 1 остатка, четвертый выход 44 блока 16микропрограм0 Много управлени   вл етс  выходом признака окончани  делени  устройства. Рассмотрим функциональное значение и реализацию основных узлов и блоков предлагаемого устройства дл  делени . Первый0 of which is the output 21 of the private device, the second output 42 of the firmware control unit 16 is connected to the second control input of the switch 13, the write enable inputs of the second balance register 2 and the adder 5 private, the third output 43 of the firmware control unit 16 is connected to the write enable input first register 1 remainder, fourth output 44 of microprogram unit 16 A lot of control is the output of the indication of the end of division of the device. Consider the functional value and implementation of the main nodes and blocks of the proposed device for division. The first

5 регистр 1 остатка (п+2)-разр дный,. из которых два разр да расположены слева от зап той , а остальные - справа от зап той. В исходном состо нии в разр дах справа от зап той этого регистра хранитс  п-разр д- ный двоичный код делимого без знака, а в5 register 1 remainder (n + 2) -bit. of which two bits are located to the left of the comma, and the rest are to the right of the comma. In the initial state, the n-bit binary code of the unsigned dividend is stored in the bits to the right of the comma of this register, and in

процессе делени  в него с выхода 38 блока 12 записываютс  значени  сумм очередных остатков. Второй регистр 2 остатка содержит (n-И) разр дов, из которых два располо- жены слева от зап той, а остальные - справа от зап той. В исходном состо нии этот регистр обнулен, а в процессе делени  в него с выхода 39 блока 12 записываютс  значени  переносов очередных остатков.the process of dividing it from the output 38 of block 12, the values of the sums of the next residues are recorded. The second register 2 of the remainder contains (n-I) bits, of which two are located to the left of the comma, and the rest to the right of the comma. In the initial state, this register is reset, and in the process of dividing it from the output 39 of block 12, the transfer values of the next residues are recorded.

Регистр 3 делител  n-разр дный, причем все разр ды расположены справа от зап той. В регистре 3 делител  в исходном состо нии и в процессе делени  хранитс  n-разр дный двоичный код делител  без знака.The divider register 3 is n-bit, with all the bits located to the right of the comma. In the register 3 of the divider in the initial state and during the division process, the n-bit binary code of the unsigned divider is stored.

Регистр 4 обратной величины - (k-f-2)- разр дный, из которых один разр д расположен слева от зап той, а остальные - справа. Регистр 4 предназначен дл  хранени  () старших разр дов обратной величины принудительно округленного усеченного делител , поступающих с выхода 29 узла 7 вычислени  обратной величины. Предполагаетс ., что все регистры устройства реализованы на двухтактных синхронных DV триггерах, Запись информации в регистры производитс  по синхроимпульсу при наличии разрешающего потенциала на V- входах, Сумматор 5 частного предназначен дл  хранени  частного. Он также участвует в операции делени  в процессе формировани  правильного частного, В первом такте делени  сумматор 5 частного обнул етс  путем подачи синхроимпульса с входа 18 синхронизации устройства на его синхровход и разрешающего потенциала с первого выхода 41 блока 16 микропрограммного управлени  на вход разрешени  установки в нуль сумматора Б частного. Во всех остальных тактах работы устройства в сумматоре 5 частного накапливател  значение частного. Дл  этого к значению частного, сформированному на предыдущих тактах работы устройства и сдвинутому на разр дов влево (в сторону старших разр дов), прибавл етс  значение k цифр частного, сформиро- ванных на выходе 35 селектора 14 в текущем такте. Запись информации в сумматор 5 частного осуществл етс  по синхро- импульсу при наличии разрешающего потенциала на его входе разрешени  записи , который подключен к второму выходу 42 блока 16 микропрограммного управлени . После завершени  делени  образованное в сумматоре 5 частное поступает на выход 21 частного устройства. Предполагаетс , что сумматор 5 частного реализован также, как и в устройстве-прототипе, т.е. на комбинационном сумматоре и регистре.Inverse register 4 - (k-f-2) - bit, of which one bit is located to the left of the comma, and the rest - to the right. Register 4 is intended for storing () high-order bits of the reciprocal value of a forcibly rounded truncated divider coming from the output 29 of the reciprocal-value computing unit 7. It is assumed that all the device registers are implemented on push-pull synchronous DV flip-flops. Information is recorded in the registers according to the clock pulse with the enabling potential at the V-inputs. The adder 5 private is intended for storing private. He also participates in the division operation in the process of forming the correct quotient. In the first division clock, the adder 5 of the quotient is reset by applying a clock from the synchronization input 18 of the device to its sync input and a resolving potential from the first output 41 of the microprogram control unit 16 to the enable input of setting the totalizer to zero B private. In all other clock cycles of the device in the adder 5 private accumulator value private. To this end, the k value of the quotient formed at the output 35 of the selector 14 in the current clock cycle is added to the quotient value generated at the previous clock cycles of the device and shifted by bits to the left (towards the higher bits). The information is recorded in the adder 5 by a sync pulse in the presence of an enable potential at its write enable input, which is connected to the second output 42 of the microprogram control unit 16. After the completion of the division, the quotient formed in the adder 5 is output to the private device output 21. It is assumed that the adder 5 private is implemented as in the prototype device, i.e. on the combiner and register.

Формирование k цифр частного в каждом такте работы устройства дл  делени  производитс  путем умножени  однор дного кода усеченного остатка, сформированно- 5 го на выходе 31 младших разр дов второго сумматора 9, на значение старших разр дов обратной величины усеченного делител , хранимое в регистре 4 обратной величины и подаваемое с выходов ЗО регистра 4 обрат0 ной величины. Чтобы устранить возможность получени  в устройстве цифр частного с избытком, значение старших разр дов делител , поступающее с выхода 27 входа 17 устройства, увеличиваетс  на единицу млад5 шего разр да в сумматоре 6 принудительного округлени  делител . Пусть делимое X и делитель Y есть нормализованные двоичные дроби, т.е. 1/2 Х 1и1/2 У 1, Это справедливо только в первом такте де0 лени . В дальнейшем, когда в роли делимого выступают промежуточные остатки, возможно нарушение нормализации делимого как влево, так и вправо. В общем случае делимое X в предлагаемом устройствеThe formation of k digits of the quotient in each step of the operation of the dividing device is performed by multiplying the single-row code of the truncated remainder generated on the 5th output of the 31 lower-order bits of the second adder 9 by the high-order bits of the reciprocal of the truncated divider stored in the inverse register 4 and supplied from the outputs of the ZO register 4 of the inverse value. In order to eliminate the possibility of obtaining excess private digits in the device, the value of the high-order bits of the divider coming from the output 27 of the input 17 of the device is increased by one lower-order bit in the adder 6 for the rounding of the divider. Let the dividend X and the divisor Y be normalized binary fractions, i.e. 1/2 X 1 and 1/2 Y 1, This is true only in the first measure of division. In the future, when intermediate residues act as the dividend, a violation of the normalization of the dividend is possible both to the left and to the right. In general, the divisible X in the proposed device

5 может измен тьс  в пределах О Х 2Y. „ Можно показать, что дл  получени  на выходе 35 селектора 14 двоичных цифр частного с точностью до единицы их младшего разр да достаточно обрабатывать (k+4) старших5 may vary within O X 2Y. “It can be shown that in order to obtain the binary digits of the quotient 14 at the output of the 35 selector, up to the unit of their least significant digit, it is sufficient to process the (k + 4) senior

0 разр дов делимого X (один разр д - слева от зап той, а остальные - справа от зап той ), (+3) старших разр дов делител  Y (все разр ды расположены справа от зап той) и (k+2) старших разр дов обратной величины0 bits of the divisible X (one bit to the left of the comma, and the rest to the right of the comma), (+3) high bits of the divisor Y (all bits are located to the right of the comma) and (k + 2) high inverse bits

5 принудительно округленного усеченного делител  (один разр д - слева от зап той, а остальные - справа от зап той). Сумматор 6 -(и+3)-разр дный комбинационного типа. В сумматоре 6 осуществл етс  принудитель0 ное округление делител  путем прибавлени  к значению (k+З) старших разр дов делител, поступающих на информационный вход сумматора 6 с выхода 27 через шину данных устройства с входа 17 данных,5 forcibly rounded truncated divider (one bit to the left of the comma, and the rest to the right of the comma). The adder is a 6 - (and + 3) -bit combination type. In the adder 6, the divider is forced to round by adding to the value (k + 3) the senior bits of the divider, which are fed to the information input of adder 6 from output 27 through the device data bus from data input 17,

5 единицы в младший разр д, поступающей на вход переноса сумматора 6 принудительного округлени  делител  через вход 19 логической единицы устройства. На выходе 28 сумматора 6 принудительного округлени 5 units in the low order, which is input to the transfer input of the adder 6 for forced rounding of the divider through the input 19 of the logical unit of the device. At the output 28 of the adder 6 forced rounding

0 делител  образуетс  +4}-разр дный результат (один разр д - слева от зап той, а остальные - справа от зап той), который далее поступает на информационный вход узла 7 вычислени  обратной величины. Узел0 divider, a +4} -bit result is formed (one bit to the left of the comma, and the rest to the right of the comma), which then goes to the information input of the inverse calculation unit 7. Knot

5 7 вычислени  обратной величины производит вычисление значени  (k+2) старших разр дов обратной величины от принудительно округленного значени  (k+З) старших разр дов делител , поступающего на информационный вход узла вычислени  обратной величины с выхода 28 сумматора 6 принудительного округлени  делител . На выходе 29 узла 7 вычислени  обратной величины формируетс  значение (k+2) старших разр дов обратной величины принудительно округленного усеченного делител . Узел 7 может быть выполнен в виде комбинационной схемы , реализующей метод делени  Стефанел- ли, или же совместно с сумматором б на ПЗУ по соответствующей таблице истинности. С помощью первого сумматора 8 комбинационного типа двухр дный код остатка, хранимый в первом 1 и втором 2 регистрах остатка, преобразуетс  в однор дный код. Второй сумматор 9 комбинационного типа осуществл ет преобразование (k-t-5) старших разр дов двухр дного кода остатка, хранимого в регистрах 1 и 2 остатка, в однор дный код (два разр да - слева от зап той и (к+3)разр да - справа от зап той). На выходе 31 младших разр дов второго сумматора 9 образуетс  однор дный код (к+4) старших разр дов остатка (один разр д - слева от зап той, (к+3) разр дов - справа от зап той), а на выходе 32 старшего разр да второго сумматора 9 образуетс  старший дополнительный разр д остатка. В блоке 10 умножени  производитс  умножение значени  однор дного кода (к+4) старших разр дов остатка, поступающего на его первый информационный вход с выхода 31 младших разр дов второго сумматора 9 на значение (k+2) старших разр дов обратной величины принудительно округленного усеченного делител , поступающее на его второй информационный вход с выхода 30 регистра 4 обратной величины. На выходе 34 блока 10 умножени  формируетс  значение к цифр частного. Значение k-разр дного частного, полученного на выходе 35 селектора 14, может быть либо равно значению старших k разр дов частного, получаемого при делении n-разр дных чисел, либо меньше его на единицу младшего разр да с весом . Блок 10 умножени  комбинационного типа и может быть разработан хорошо известными методами, например , в виде многослойной структуры с распространением переноса только в последнем слое. В управл емом формирователе 11 частичных произведений осуществл етс  формирование частичных произведений, получаемых при перемножении значени  n-разр дного делител , хранимого в регистре 3 делител  в пр мом коде и поступающего на первый информационный вход управл емого формировател  частичных произведений с выхода 26 регистра 3 делител  и k-разр дного частного, сформированного на выходе 34 блока 10 умножени  в пр мом коде и поступающего на второй информационный вход управл емого формировател  частичных произведений.5 7 calculating the reciprocal value calculates the value (k + 2) of the most significant bits of the reciprocal of the forcedly rounded value (k + 3) of the highest bits of the divider received at the information input of the node for calculating the reciprocal of the output 28 of the adder 6 of the forced rounding of the divider. At the output 29 of the reciprocal-calculating unit 7, a value (k + 2) of the most significant bits of the reciprocal of the forced-rounded truncated divider is generated. Node 7 can be made in the form of a combinational circuit that implements the Stefanelli dividing method, or together with adder b into ROM according to the corresponding truth table. Using the first combiner-type adder 8, the two-row remainder code stored in the first 1 and second 2 remainder registers is converted to a single-row code. The second combiner-type adder 9 converts (kt-5) high-order bits of the two-digit remainder code stored in the remainder registers 1 and 2 into a single-digit code (two bits to the left of the comma and (k + 3) bits - to the right of the app.). At the output of the 31 least significant bits of the second adder 9, a single-row code (k + 4) of the highest bits of the remainder is generated (one bit is to the left of the comma, (k + 3) bits are to the right of the comma), and at the output 32 the leading bit of the second adder 9, the leading additional bit of the remainder is formed. In the multiplication block 10, the value of the single-row code (k + 4) of the upper bits of the remainder arriving at its first information input from the output of 31 lower bits of the second adder 9 is multiplied by the value (k + 2) of the upper bits of the reciprocal of the rounded truncated a divider arriving at its second information input from the output 30 of the inverse register 4. At the output 34 of the multiplication unit 10, a value of k digits is generated. The value of the k-bit quotient obtained at the output 35 of the selector 14 can either be equal to the value of the highest k bits of the quotient obtained by dividing n-bit numbers, or less than it by a unit of the least significant bit with weight. The multiplication unit 10 is of combinational type and can be designed by well-known methods, for example, in the form of a multilayer structure with transport propagation only in the last layer. In the controlled partial product shaper 11, partial products are generated that are obtained by multiplying the value of the n-bit divider stored in the divider register 3 in the direct code and fed to the first information input of the controlled partial product shaper from the output 26 of the divider 3 register and a k-bit quotient generated at the output 34 of the multiplication unit 10 in the direct code and fed to the second information input of the controlled partial product former.

При этом на выходе 37 управл емого формировател  11 частичных произведений формируетс  р д частичных произведений, соответствующих умножению множимого на отрицательный множитель в дополни0 тельном коде без представлени  множител  в дополнительном коде. В качестве множимого используетс  n-разр дный делитель. В качестве множител   используютс  к цифр частного, полученные на выходе 34 блока 10At the same time, at the output 37 of the controlled shaper 11 of the partial products, a series of partial products are generated corresponding to multiplying the multiplier by a negative factor in the additional code without presenting the factor in the additional code. An n-bit divider is used as the multiplier. As the multiplier used to digits quotient obtained at the output of 34 block 10

5 умножени .5 times.

На управл ющий вход управл емого формировател  11 частичных произведений поступает сигнал с выхода 33 элемента НЕ 15.The control input of the controlled shaper 11 of the partial products receives a signal from the output 33 of the element 15.

0 На фиг.2 показана функциональна  схема управл емого формировател  11 частичных произведений при k-4. На первый информационный вход формировател  11с выхода 26 регистра 3 поступает значение0 Fig. 2 shows a functional diagram of a controlled shaper 11 of partial products at k-4. At the first information input of the shaper 11C output 26 of register 3 receives the value

5 n-разр дного делител , а на второй информационный вход с выхода 34 блока 10 умножени  - значение k-разр дного частного в виде , Z2, Za, Z4. Дл  формировани  частичных произведений примен етс  алго0 ритм умножени  на два разр да множител , начина  с младших разр дов, причем каждое частичное произведение соответствует умножению множимого на два разр да отрицательного множител  в дополнительном5 of the n-bit divider, and to the second information input from the output 34 of the multiplication block 10, the value of the k-bit quotient in the form, Z2, Za, Z4. In order to form partial products, the algorithm of multiplying by two bits of the factor is applied, starting with the least significant bits, each partial product corresponding to multiplying the factor multiplied by two bits of the negative factor in the additional

5 коде. На выходе 37 управл емого формировател  11 частичных произведений при k-4 образуетс  три частичных произведени . Управл емый формирователь 11 частичных произведений реализован на дешифрато0 pax 45-47 и коммутаторах 48-50.5 code. At the output 37 of the controlled shaper 11 of the partial products at k-4, three partial products are formed. The controlled shaper of 11 partial works is implemented on decrypto pax 45-47 and switches 48-50.

В таблице по сн етс  формирование частичного произведени  на выходе одного из коммутаторов управл емого формировател  11 в зависимости от расшифровки од5 ной двухразр дной группы разр дов множител  вместе со старшим разр дом соседней младшей группы при единичном или нулевом управл ющем сигнале на выходе 33 элемента НЕ 15. С помощью блока 12The table explains the formation of a partial product at the output of one of the switches of the controlled driver 11, depending on the decryption of a single two-bit group of bits of the multiplier together with the highest bit of the neighboring younger group with a single or zero control signal at the output 33 of the HE 15 element . Using block 12

0 суммировани  осуществл етс  сложение текущего остатка, сформированного на выходе 36 первого сумматора 8, с р дом частичных произведений, образованных на выходе 37 управл емого формировател  110 summation is the addition of the current balance generated at the output 36 of the first adder 8, with a number of partial products formed at the output 37 of the controlled shaper 11

5 частичных произведений и сдвинутых относительно друг друга определенным образом . Результат этого сложени   вл етс  очередным остатком и получаетс  на выходах сумм 38 и переносов 39 блока 12 суммировани  в двухр дном коде. Блок 125 partial works and shifted relative to each other in a certain way. The result of this addition is the next remainder and is obtained at the outputs of the sums 38 and transfers 39 of the summing block 12 in a two-row code. Block 12

суммировани  фактически  вл етс  преобразователем многор дного кода в двухр дный и может быть реализован различными методами. С помощью коммутатора 13 осуществл етс  передача на информационные входы первого регистра 1 остатка либо делимого через шину данных устройства с входа 17 данных, когда на первом выходе 41. блока 16 микропрограммного управлени  формируетс  сигнал логической единицы, либо результата, образованного на первом выходе 38 блока 12 суммировани , когда на втором выходе 42 блока 16 микропрограммного управлени  формируетс  сигнал логической единицы. Коммутатор 13 может быть реализован на элементах 2Й-2ИЛИ.summation is actually a multi-line to two-line code converter and can be implemented by various methods. Using the switch 13, the remainder is either transferred to the information inputs of the first register 1, either the remainder divisible via the data bus of the device from the data input 17, when a logical unit signal or the result generated at the first output 38 of block 12 is generated at the first output 41. of the microprogram control unit summation, when a logical unit signal is generated at the second output 42 of the firmware control unit 16. The switch 13 can be implemented on the elements 2Y-2OR.

Так как в предлагаемом устройстве при формировании к цифр частного используютс  старшие разр ды остатка, полученные при проведении на втором сумматоре 9 к однор дному коду старших разр дов двухр дного кода остатка, то становитс  возможным образование неправильного значени  к цифр частного. Так, если значение старших разр дов приведенного остатка , полученного на выходах 36 первого сумматора 8, равно нулю, то при формировании однор дного кода старших разр дов остатка путем сложени  на втором сумматоре 9 старших разр дов двухр дного кода остатка возможно получение значени  суммы на выходе 31 младших разр дов сумматора 9 меньшего, чем нуль на единицу младшего разр да, т.е. значени Since in the apparatus according to the invention, when forming k digits of the quotient, the leading bits of the remainder obtained by running the second adder 9 to the single-row high-order code of the two-digit remainder code are used, it becomes possible to form the wrong value to the digits of the quotient. So, if the value of the leading bits of the reduced remainder obtained at the outputs 36 of the first adder 8 is equal to zero, then when generating a single-row code of the leading bits of the remainder by adding on the second adder 9 high-order bits of the two-digit remainder code, it is possible to obtain the value of the sum at the output The 31 least significant bits of the adder 9 are less than zero per unit of the least significant bit, i.e. values

1 11 11 11 1

-.-т А. но в этом случае на выходе 32 старшего разр да второго сумматора 9 формируетс  логическа  единица, а в случае, если значение старших разр дов приведенного остатка, полученного на выходе 36 первого сумматора 8, не равно нулю, на выходе 32 старшего разр да второго сумматора 9 формируетс  логический ноль. Дл  исключени  возможности получени  в первом случае неверного значени  к цифр частного в устройстве предусмотрена блокировка (формирование значени  к цифр частного, равного нулю) к цифр частного, полученных на выходе 34 блока 10 умножени , путем подачи на управл ющий вход селектора 14 уровн  логического нул  с выхода 33 элемента НЕ 15, Уровень логического нул  на его выходе устанавливаетс  в том случае, если на выходе 32 старшего разр да второго сумматора 9 устанавливаетс  уровень логической единицы. Во всех других случа х на выход 35 селектора 14 пропускаетс  значение к цифр частного с выхода 34 блока 10 умножени . Заметим, что уровень логического нул  на выходе 33 элемента НЕ 15-.- t A. but in this case the logical unit is formed at the output 32 of the high order of the second adder 9, and if the value of the high order bits of the reduced remainder received at the output 36 of the first adder 8 is not zero, the output is 32 In the high order of the second adder 9, a logical zero is generated. In order to exclude the possibility of obtaining in the first case an incorrect value for the digits of the quotient, the device provides for blocking (generating the value of digits of the quotient, equal to zero) to the digits of the quotient received at the output 34 of the multiplication unit 10 by supplying a logic zero level of s to the control input of the selector 14 output 33 of the element NOT 15, the logic zero level at its output is set if the logical unit level is set at the output 32 of the high order bit of the second adder 9. In all other cases, the value k of the digits of the quotient from the output 34 of the multiplier 10 is passed to the output 35 of the selector 14. Note that the logic zero level at the output 33 of the element is NOT 15

блокирует также работу формировател  11, т.е. на его выходе 37 образуютс  нулевые коды. Селектор 14 производит формирование на выходе 35 значени  к цифр частного,also blocks the operation of the shaper 11, i.e. at its output 37, zero codes are generated. The selector 14 produces the formation at the output of 35 values to digits of quotient,

5 равного нулю, если на его управл ющем входе присутствует сигнал логического нул  или же пропускает на выход,35 значени  к цифр частного с выхода 34 блока 10 умножени , если на его управл ющем входе присут0 ствует сигнал логической единицы. Предполагаетс , что селектор 14 реализован также, как и в устройстве-л рототипе, т.е. содержит к двухвходовых элементов И, имеющих один общий вход, служащий в качест5 ве управл ющего входа.5 equal to zero if a logical zero signal is present at its control input or passes to the output, 35 values of digits of the quotient of the output 34 of the multiplication unit 10, if a logical unit signal is present at its control input. It is assumed that the selector 14 is implemented as in the rototype device, i.e. contains two-input AND elements having one common input, which serves as a control input.

Блок микропрограммного управлени  16 координирует работу узлов и блоков устройства при выполнении в нем операции делени . Как и в устройстве-прототипе онThe microprogram control unit 16 coordinates the operation of the nodes and blocks of the device during the division operation. As in the prototype device, he

0 может быть реализован на счетчике 51 и пам ти 52 микрокоманд (фиг.4). Счетчик 51 - накапливающего типа и предназначен дл  естественной адресации микрокоманд. Вход счета счетчика 51 соединен с входом0 can be implemented on a counter 51 and a memory 52 of microcommands (Fig. 4). The counter 51 is an accumulating type and is intended for the natural addressing of microcommands. The input of the counter 51 is connected to the input

5 18 синхронизации устройства. В качестве пам ти 52 микрокоманд может быть применена посто нна  пам ть емкостью (М+2)х45 18 device synchronization. As a memory of 52 microcommands, a constant memory with a capacity of (M + 2) x4 can be used

, бит, где М число тактов собст0 венного делени , в течение которых в устройстве формируетс  Mx(k-1)+1 цифр частного; Х - ближайшее целое, большее или равное X. В самом начале работы устройства счетчик 51 устанавливаетс  в неко5 торое исходное состо ние, например, в нуль .(на фиг.4) цепь установки счетчика 51 в исходное состо ние не показана). Микропрограмма работы устройства представлена на фиг.З., a bit, where M is the number of eigenframes during which Mx (k-1) +1 digits of the quotient are generated in the device; X is the nearest integer greater than or equal to X. At the very beginning of the operation of the device, the counter 51 is set to some initial state, for example, to zero. (Fig. 4, the chain for setting the counter 51 to its initial state is not shown). The firmware of the device is presented in Fig.Z.

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

Пусть на входе 17 данных устройства присутствуют без знаков n-разр дные двоичные коды делител  Y и делимого X (т.е.Let n-bit binary codes of the divisor Y and the dividend X be present at the input 17 of the device data

5 коды дробных частей делител  и делимого), а счетчик 51 блока 16 микропрограммного управлени  установлен в начальное нулевое состо ние. Тогда на первом 41 и третьем 43 выходах блока 16 микропрограммного уп0 равленк  сформируютс  единичные сигналы , под действием которых коммутатор 13 пропускает на информационный вход первого регистра 1 остатка делимое X с входа 17 данных устройства, на информационные5 codes of the fractional parts of the divider and the dividend), and the counter 51 of the microprogram control unit 16 is set to the initial zero state. Then, at the first 41 and third 43 outputs of the unit 16 of the firmware, single signals will be formed, under the influence of which the switch 13 passes the divisible X from the input 17 of the device data to the information input of the first register 1 of the remainder, to information

5 входы сумматоров 6 принудительного округлени  делител  поступает значение старших разр дов делител  через шину данных устройства с выхода 27 входа 17 данных, затем принудительно округленное значение усеченного делител  с выхода 28 сумматора б поступает на информационный вход узла 7 вычислени  обратной величины, на выходе 29 которого формируетс  значение (k+2) старших разр дов обратной величины принудительно округленного усеченного делител , регистры 1,3,4 подготовлены к приему информации, а второй регистр 2 остатка и сумматор 5 частного - к обнулению. С приходом первого синхроимпульса на вход 18 синхронизации устройства осуществл етс  запись двоичных кодов делимого X и делител  Y в регистры 1 и 3 соответственно , в регистр 4 - значени  (k+2) старших разр дов обратной величины принудительно округленного усеченного делител , а также обнуление второго регистра 2 остатка и сумматора 5 частного. Счетчик 51 блока 16 микропрограммного управлени  устанавливаетс  в состо ние 1. После завершени  действи  первого импульса на входе 18 синхронизации устройства заканчиваетс  первый такт (подготовительный этап) и начинаетс  собственно деление, в процессе которого в течение М тактов формируетс  М х (k-1)+1 двоичных цифр частного.5 inputs of adders 6 for forced rounding of the divider the value of the highest bits of the divider is received via the device data bus from output 27 of data input 17, then the forcedly rounded value of the truncated divider from output 28 of adder b is fed to the information input of the reciprocal calculation unit 7, at the output 29 of which the value (k + 2) of the highest bits of the reciprocal of the forcedly rounded truncated divider, registers 1,3,4 are prepared for receiving information, and the second register 2 of the remainder and adder 5 of the private one are zeroing. With the arrival of the first clock pulse to the device synchronization input 18, the binary codes of the divisible X and the divisor Y are recorded in registers 1 and 3, respectively, in register 4 are the values (k + 2) of the highest bits of the inverse value of the forcibly rounded truncated divider, as well as the second register 2 remainder and adder 5 private. The counter 51 of the microprogram control unit 16 is set to state 1. After the operation of the first pulse at the device synchronization input 18, the first clock cycle (preparatory stage) ends and the division itself begins, during which M x (k-1) + is formed during M clock cycles 1 binary digits private.

Во втором такте (в первом из М тактов собственно делени ) работы устройства на втором 42 и третьем 43 выходах блока 16 микропрограммного управлени  образуютс  сигналы логической единицы. Под действием этих управл ющих сигналов в устройстве выполн ютс  следующие действи . По значению старших разр дов делимого (на следующих тактах в роли делимого будет выступать остаток, хран щийс  в регистрах 1 и 2 остатка в двухр дном коде) и делител  на выходе 34 блока 10 умножени  формируетс  значение к двоичных цифр частного . Параллельно с работой второго сумматора 9 и блока 10 умножени  работает первый сумматор 8, который преобразует двухр дный код текущего остатка в однор дный . По значению старшего разр да вто- рого сумматора 9% осуществл етс  окончательное формирование к цифр частного на выходе 35 селектора 14. Если сигнал на выходе 32 второго сумматора 9 соответствует уровню логической единицы, то на выходе 33 элемента НЕ 15 формируетс  сигнал логического нул , который устанавливает значение к цифр частного на выходе селектора 14 равное кулю и блокирует работу формировател  11. В противном случае в качестве k-разр дного частного в устройстве используетс  значение к цифр частного, сформированное на выходе 34 блока 10 умножени . Сформированное на выходе 34 блока 10 умножени  значение к цифр частного поступает на информационный вход селектора 14 и на второй информационныйIn the second clock cycle (in the first of the M clock cycles of the actual division) of the operation of the device, logical unit signals are generated at the second 42 and third 43 outputs of the microprogram control unit 16. Under the influence of these control signals, the following actions are performed in the device. According to the value of the leading bits of the dividend (in the next clock cycles, the remainder stored in registers 1 and 2 of the remainder in the two-digit code will act as the dividend) and the divider at the output 34 of the multiplication unit 10, the value of the binary digits of the quotient is formed. In parallel with the operation of the second adder 9 and the multiplication unit 10, the first adder 8 operates, which converts the two-row code of the current remainder into a single-row. Based on the value of the high order of the second adder 9%, the selector 14 is finally converted to the digits of the quotient 14. If the signal at the output 32 of the second adder 9 corresponds to the level of a logical unit, then the output of the element 15 is a logical zero signal, which sets the k value of the digits of the quotient at the output of the selector 14 equal to kul and blocks the operation of the driver 11. Otherwise, the value of k digits of the quotient generated at the output 34 of the block 10 is used as the k-bit quotient Multiplication. Formed at the output 34 of the block 10 multiplication, the value of the digits of the quotient is fed to the information input of the selector 14 and to the second information

вход управл емого формировател  11 частичных произведений. Сформированное на выходе 35 селектора 14 -разр дное частное п (в следующих тактах п, где i - номер тактаinput of the controlled driver of 11 partial works. The 14-bit quotient n formed at the output of the 35 selector 14 (in the following steps, p, where i is the measure number

собственного делени ) поступает на информационный вход младших разр дов сумматора Б частного. На выходе 37 управл емого формировател  11 частичных произведений образуетс  р д частич0 ных произведений, получающихс  при умножении Y x (-Z1) (в следующих тактах (-Z1, где е Z - значение к цифр частного, сформированное на выходе 34 блока 10 умножени , а I - номер такта собственного делени ) сown division) is fed to the low-order information input of the adder B private. At the output 37 of the controlled shaper 11 of the partial products, a series of partial products are obtained that are obtained by multiplying Y x (-Z1) (in the following steps (-Z1, where e Z is the value of k digits of the quotient generated at the output 34 of the multiplication block 10, and I is the measure number of its own division) with

5 учетом сигнала, поступающего на управл ющий вход управл емого формировател  11 с выхода 33 элемента НЕ 15. С помощью блока 12 суммировани  формируетс  сумма Х+Х х (-Z) в двухр дном коде, котора  в5, taking into account the signal input to the control input of the controlled driver 11 from the output 33 of the element NOT 15. Using the summing unit 12, the sum X + X x (-Z) is generated in a two-row code, which in

0 дальнейшем служит остатком и подаетс  на второй информационный вход коммутатора 13 и на информационный вход второго регистра 2 остатка со сдвигом на (k-1) разр дов влево (в сторону старших разр дов). Регист5 ры 1,2 и сумматор 5 частного подготовлены к приему информации. С приходом второго синхроимпульса на вход 18 синхронизации устройства в регистры 1 и 2 остатка записываетс  сформированный на выходах 38, 390 further serves as a remainder and is fed to the second information input of the switch 13 and to the information input of the second register 2 of the remainder with a shift by (k-1) bits to the left (towards the higher bits). Registers 5 1.2 and adder 5 private are prepared for receiving information. With the arrival of the second clock pulse at the synchronization input 18 of the device, registers 1 and 2 of the remainder are written formed at the outputs 38, 39

0 блока 12 суммировани  двухр дный код остатка , в младшие разр ды сумматора 5 частного занос тс  к старших цифр частного с выхода 35 селектора 14, а счетчик 51 блока 16 микропрограммного управлени  уста5 навливэетс  в состо ние 2. На этом второй такт работы устройства заканчиваетс  и далее выполн етс  еще М-1 аналогичных тактов. Заметим, чти в каждом из этих тактов старша  двоична  цифра из к очередных0 of block 12 of summation, the two-digit code of the remainder, in the lower bits of the adder 5 private are entered to the high digits of the quotient from the output 35 of the selector 14, and the counter 51 of the block 16 of the microprogram control is set to state 2. This completes the second clock cycle of the device and further M-1 similar clock cycles are performed. Note that in each of these measures the elder binary digit from to the next

0 цифр частного, образованных на выходе 35 селектора 14 и поступающих на информационный вход младших разр дов сумматора 5 частного, под суммируетс  к младшему разр ду содержимого сумматора 5 частного,0 digits of the private, formed at the output 35 of the selector 14 and fed to the information input of the lower bits of the adder 5 of the private, are summed to the low-order bit of the contents of the adder 5 of the private,

5 сдвинутому на (k-1) разр дов в сторону его старших разр дов.5 shifted by (k-1) bits toward its higher bits.

Claims (1)

Формула изобретени  Устройство дл  делени , содержащее два регистра остатка, регистр делител , ре0 гистр обратной величины, сумматор частного , сумматор принудительного округлени  делител , узел вычислени  обратной величины , два сумматора, блок умножени , коммутатор , селектор, элемент НЕ и блокSUMMARY OF THE INVENTION A divider device comprising two remainder registers, a divisor register, a reciprocal register, an adder private, a forced rounding-off adder, an inverse computation unit, two adders, a multiplication unit, a switch, a selector, a NOT element and a block 5 микропрограммного управлени , причем вход да иных устройства через шину данных устройства соединен с информационным входом регистра делител  и с первым информационным входом коммутатора, выход которого соединен с информационным входом первого регистра остатка, выходы первого и второго регистров остатка соединены с первым и вторым информационными входами первого сумматора соответственно, выход которого  вл етс  выходом остатка устройства, выходы старших разр дов первого и второго регистров остатка соединены с первым и вторым информационными входами второго сумматора соответственно, выход младших разр дов которого соединен с первым информационным входом блока умножени , выход старшего разр да второго сумматора соединен с входом элемента НЕ, выход которого соединен с управл ющимвходомселектора , информационный вход которого соединен с выходом блока умножени , выход селектора соединен с информационным входом младших разр дов сумматора частного, выход старших разр дов делител  через шину данных устройств соединен с информационным входом сумматора принудительного округлени  делител , вход логической единицы устройства соединен с входом переноса сумматора принудительного округлени  делител , выход которого соединен с инфор- мационным входомузла вычислени  обратной величины, выход которого соединен с информационным входом регистра обратной величины, выход которого соединен с вторым информационным входом блока умножени , -вход синхронизации устройства соединен с синхровходами первого и второго регистров остатка, регистра делител , регистра обратной величины, сумматора частного и блока микропрограммного управлени , первый выход которого соединен с входом5 microprogram control, the input and other devices through the data bus of the device connected to the information input of the divider register and the first information input of the switch, the output of which is connected to the information input of the first register of the remainder, the outputs of the first and second registers of the remainder are connected to the first and second information inputs of the first the adder, respectively, whose output is the output of the remainder of the device, the high-order outputs of the first and second registers of the remainder are connected to the first and second in the input inputs of the second adder, respectively, whose low-order output is connected to the first information input of the multiplication unit, the high-order output of the second adder is connected to the input of the element NOT, the output of which is connected to the control input of the selector, the information input of which is connected to the output of the multiplication unit, the output of the selector is connected with the information input of the lower bits of the adder private, the output of the high bits of the divider through the data bus of the devices is connected to the information input of the adder In order to round the divider, the input of the logical unit of the device is connected to the transfer input of the adder for rounding the divider, the output of which is connected to the information input of the reciprocal calculation unit, the output of which is connected to the information input of the reciprocal register, the output of which is connected to the second information input of the multiplication unit, - the synchronization input of the device is connected to the synchro inputs of the first and second registers of the remainder, register of the divider, register of reciprocal value, adder private and Lok firmware control, a first output connected to the input разрешени  записи регистра делител , регистра обратной величины, с первым управл ющим входом коммутатора и входом установки в О второго регистра остатка и 5 сумматора частного, выход которого  вл етс  выходом частного устройства, второй выход блока микропрограммного управлени  соединен с вторым управл ющим входом коммутатора, входами jразрешени  записиenable recording the divider register, the reciprocal register, with the first control input of the switch and the installation input in O of the second register of remainder and 5 of the adder private, the output of which is the output of the private device, the second output of the firmware control unit is connected to the second control input of the switch, inputs j write permissions 0 второго регистра остатка и сумматора частного , третий выход блока микропрограммного управлени  соединен с входом разрешени  записи первого регистра остатка , четвертый выход блока микропрограмм5 ного управлени   вл етс  выходом признака окончани  делени  устройства, отличающеес  тем, что, с целью повышени  быстродействи  устройства, оно дополнительно содержит управл емый0 of the second remainder register and adder private, the third output of the firmware control unit is connected to the write enable input of the first remainder register, the fourth output of the microprogram control unit is an output of the end sign of dividing the device, characterized in that, in order to increase the speed of the device, it further comprises controlled 0 формирователь частичных произведений и блок суммировани , причем выход регистра делител  соединен с первым информационным входом управл емого формировател  частичных произведений, выход блока ум10 shaper of partial products and a summing unit, the output of the divider register being connected to the first information input of the controlled shaper of partial works, the output of the mind block1 5 .ножени  соединен с вторым информационным входом управл емого формировател  частичных произведений, управл ющий вход которого соединен с выходом элемента НЕ, выход первого сумматора соединен с5. The scribe is connected to the second information input of the controlled partial shaper, the control input of which is connected to the output of the element NOT, the output of the first adder is connected to 0 первым информационным входом блока суммировани , второй информационный вход блока суммировани  соединен с выходом управл емого формировател  частичных произведений, выходы сумм и0 the first information input of the summing unit, the second information input of the summing unit is connected to the output of the controlled shaper of partial works, the outputs of the sums and 5 переносов блока суммировани  соединены с вторым информационным входом коммутатора и информационным входом второго регистра остатка соответственно.5 transfers of the summing unit are connected to the second information input of the switch and the information input of the second balance register, respectively. 5J 5J С 1+1 i C 1 + 1 i / « V3 w/ "V3 w ГR LsLs Jo
SU914914348A 1991-02-25 1991-02-25 Device for dividing RU1783523C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU914914348A RU1783523C (en) 1991-02-25 1991-02-25 Device for dividing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU914914348A RU1783523C (en) 1991-02-25 1991-02-25 Device for dividing

Publications (1)

Publication Number Publication Date
RU1783523C true RU1783523C (en) 1992-12-23

Family

ID=21562245

Family Applications (1)

Application Number Title Priority Date Filing Date
SU914914348A RU1783523C (en) 1991-02-25 1991-02-25 Device for dividing

Country Status (1)

Country Link
RU (1) RU1783523C (en)

Non-Patent Citations (1)

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

Similar Documents

Publication Publication Date Title
US4320464A (en) Binary divider with carry-save adders
EP0717350A2 (en) High-speed division and square root calculation unit
US3795880A (en) Partial product array multiplier
US4868777A (en) High speed multiplier utilizing signed-digit and carry-save operands
RU1783523C (en) Device for dividing
RU2018933C1 (en) Divider
RU2018934C1 (en) Divider
SU1803913A1 (en) Division device
SU1417010A1 (en) Number dividing device
SU1357946A1 (en) Device for division
SU1667059A2 (en) Device for multiplying two numbers
RU1783522C (en) Divider
SU1478212A1 (en) Divider
SU1728862A1 (en) Divider
RU1783521C (en) Divider
SU1767497A1 (en) Divider
SU1429110A1 (en) Divider
SU807282A1 (en) Device for dividing n-digit decimal numbers
SU1399729A1 (en) Multiplication device
SU1541598A1 (en) Division device
SU1034032A1 (en) Matrix computing device
SU742933A1 (en) Device for dividing n-digit decimal numbers
SU1709352A1 (en) Division device
SU1735844A1 (en) Device for dividing numbers
SU1709301A1 (en) Division device