SU1418700A1 - Device for dividing numbers - Google Patents
Device for dividing numbers Download PDFInfo
- Publication number
- SU1418700A1 SU1418700A1 SU874185979A SU4185979A SU1418700A1 SU 1418700 A1 SU1418700 A1 SU 1418700A1 SU 874185979 A SU874185979 A SU 874185979A SU 4185979 A SU4185979 A SU 4185979A SU 1418700 A1 SU1418700 A1 SU 1418700A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- register
- output
- control unit
- outputs
- Prior art date
Links
Abstract
.Изобретение относитс к вычислительной технике и предназначено дл делени многоразр дных чисел в двоичной системе счислени . Цель изобретени - расширение области применени за счет работы в двоичной t-системе счислени . Поставленна цель достигаетс тем, что устройство дл деле- ни чисел, содержащее регистр 1 делимого , вычитатель 3, регистр 4 делител , регистр 5 остатка, генератор 6 кратных, блок 7 управлени и регистр 8 частного,. содержит схему 2 сравнени с соответствующими св з ми . 1 з.п. ф-лы, 2 ил. и SThe invention relates to computing and is intended to divide multi-digit numbers in a binary number system. The purpose of the invention is to expand the field of application by operating in the binary t-number system. The goal is achieved by the fact that the device for dividing numbers contains the register 1 of the dividend, subtractor 3, the register 4 divisor, the register 5 of the remainder, the generator 6 times, the control unit 7 and the register 8 private. contains circuit 2 comparison with the corresponding links. 1 hp f-ly, 2 ill. and s
Description
0000
Изобретение относитс к вычисли- тельной технике и предназначено дл делени многоразр дных чисел в двоич- ной системе счислени ,The invention relates to computing technology and is intended to divide multi-digit numbers in a binary number system.
Целью изобретени вл етс расширение области применени за счет работы в двоичной t-системе счислени . На фиг.1 представлена схема уст- |ройства дл делени чисел;на фиг.2 - Схема блока управлени . I Устройство (фиг.1) содержит регистр 1 делимого, схему 2 сравнени , вычитатель 3, регистр 4 делител , регистр 5 остатка, генератор 6 крат- |Ных, блок 7 управлени , регистр 8 :частного, вход 9 запуска устройства, |установочный вход 10 регистра 1 дели- |Мого, первый вход 11 разрешени выда- |чи регистра 1 делимого, информацион- |ный вход 12 регистра 1 делимого, вто- |рой вход 13 разрешени вьщачи регист- jpa 1 делимого, первый и второй выхо- |ды 14 и 15 регистра 1 делимого, уста- |новочный вход 16 регистра 4 делител , Iвыход 17 регистра 4 делител , вход 18 Iразрешени вьщачи регистра делител , информационный вход 19 генератора 6 ;кратных, вход 20 запуска генератора 6 :кратных, вход 21 установки в О гене ратора 6 кратных,выход 22 устройства, первый и второй выходы 23 и 24 генератора 6 кратных,вход 25 установки в О регистра 1 делимого, первый выход 26 блока 7 управлени , первый вход 27 блока 7 управлени , второй выход 28 блока 7 управлени , второй вход 29 ;блока 7 управлени , с третьего по шестой выходы 30-33 блока 7 управлени , первый установочный вход 34 ре- гистра 8 частного, выход 35 регистра 8 частного, первый и второй входы 36 и 37 схемы 2 сравнени , выходы 38 и 39 соответственно Больше и Меньше схемы 2 сравнени , инфор- мационный вход 40 регистра 5 остатка , вход 41 установки в О регистра 5 остатка, вход 42 разрешени выдачи регистра 5 остатка, выход 43 регистра 5 остатка, входы 44 и 45The aim of the invention is to expand the field of application by operating in the binary t-number system. Figure 1 is a diagram of the device for dividing numbers; Figure 2 is a block diagram of the control unit. I The device (Fig. 1) contains a register 1 of the dividend, a comparison circuit 2, a subtractor 3, a divider register 4, a residual register 5, a 6-fold generator, a control block 7, a register 8: private, a device start input 9, an installation input 10 of the register 1 delimi | Mygo, the first input 11 of the resolution of the issuance of the register 1 of the dividend, information input 12 of the register of the dividend, the second input of the resolution 13 of the register jpa 1 of the dividend, the first and second outputs | dy 14 and 15 register 1 divisible, set | new input 16 register 4 divider, I output 17 register 4 divider, input 18 I resolution of reg Istra divider, information input 19 of generator 6; multiples, input 20 of start of generator 6: multiples, input 21 of installation in generator 6 O, generator 22, first and second outputs 23 and 24 of generator 6, input 25 of installation in O register 1 divisible, the first output 26 of the control unit 7, the first input 27 of the control unit 7, the second output 28 of the control unit 7, the second input 29; the control unit 7, the third to the sixth outputs 30-33 of the control unit 7, the first installation input 34 of the control unit gistra 8 private, exit 35 register 8 private, the first and second inputs 36 and 37 of scheme 2 In addition, the outputs 38 and 39, respectively, are More and Less than the comparison circuit 2, the information input 40 of the residue register 5, the input 41 of the installation in the residue register 5, the input 42 of the resolution for issuing the residue register 5, the output 43 of the balance register 5, inputs 44 and 45
вычитаемого и уменьшаемого вычита- тел 3, выход 46 разности вычитател 3, выход 47 окончани вычитани вычитател 3, седьмой выход 48 блока 7 управлени , второй установочньш вход 49 регистра 8 част ного, вход 30 запуска блока 7 управлени , выход 51 Равно схемы 2 сравнени и третий вход 52 блока 7 управлени .deductible and diminutive subtractors 3, output 46 of difference of subtractor 3, output 47 of end of subtraction of subtractor 3, seventh output 48 of control unit 7, second set input 49 of register 8 private, start input 30 of control unit 7, output 51 Equal to comparison circuit 2 and the third input 52 of the control unit 7.
Блок 7 управлени (фиг.2) содержит элемент ИЛИ 53, элемент 54 задержки , элементы ИЛИ 55 и 56, счетч 57 и дешифраторы 58 и 59.The control unit 7 (FIG. 2) contains the element OR 53, the element 54 of the delay, the elements OR 55 and 56, the counts 57 and the decoders 58 and 59.
Любое число А в двоичной t-системе счислени можно представить в видеAny number A in the binary t-number system can be represented as
1 А Z (К),(1)1 A Z (K), (1)
где а,е f 0,where a, e f 0,
О при К - 0; р(К) 1 при О К 6 t; (2)O when K - 0; p (K) 1 at O K 6 t; (2)
t+(t + (
t|).CK-t-j) при к t ,t |) .CK-t-j) with k t,
Значение (f.(K+1) вл етс мощностью К-го двоичного кода в минимальной форме изображений.The value of (f. (K + 1) is the power of the K-th binary code in the minimum form of the images.
Алгоритм делени ,Algorithm division,
I. Делимое А сравниваетс с р дом двоичной системы счислени с начальными услови ми В-делителем, задаваемым выражениемI. The divisible A is compared with the binary number system with the initial conditions B-divider defined by the expression
1(Ю1 (Yu
О при К «i 0;About when K «i 0;
В при О i К t (3)B at O i K t (3)
8 eight
2Ic.(k-t-j) при К t2Ic. (K-t-j) at K t
отыскиваетс разр д К такой, чтоis searched for a bit such that
А - ) Г,A -) D,
(4)(four)
4,v4, v
VV
где О Г Ц fi .(K-t-j),where O G C fi. (K-t-j),
jtrljtrl
в К-й разр д представл етс логическа 1 и он вл етс старшим разр дом частного.in the Kth bit, the logical 1 is represented and it is the highest bit of the quotient.
II. Если Г О,деление окончено. t+(Ii. If GO, the division is over. t + (
Если 0 Г i Z1 tVt(t-j), то ГIf 0 Г i Z1 tVt (t-j), then Г
Г R
полагают делимым и повтор ют пункты I и II до тех пор, пока вьшолнитс условие Г 0.clauses are divisible and clauses I and II are repeated until the condition Γ 0 is met.
Анализ предложенного алгоритма показывает, что частное получаетс в минимальном изображении.Analysis of the proposed algorithm shows that the quotient is obtained in the minimum image.
.j14187004.j14187004
Генератор 6 предназначен дл гене- ле 3 происходит операци вычитани , рации весов двоичной t-системы счис-результат которой записываетс в релени с произвольньми начальными ус- . гистр 1 через его вход 12, с выхода лови ми в соответствии с выражени- 47 вычитател 3 сигнал, свидетельст- ем (3),вующий об окончании вычитани , постуВходы дешифратора 58 подключеныпает на вход 29 блока 7 управлени ,The generator 6 is designed for Genele 3, a subtraction operation takes place, the radios of the weights of the binary t-system, the number of which is recorded in relation to arbitrary initial conditions. Gistr 1 through its input 12, from the output of the catch in accordance with the expression 47 of the subtractor 3, a signal, indicating (3), indicating the end of the subtraction, the Inputs of the decoder 58 are connected to the input 29 of the control unit 7,
к (К-1)-м входам регистра частного,который формирует с выхода 33 сигналTo (K-1) th inputs of the private register, which forms a signal from output 33
выходы депшфратора 59 соединены ссброса в О на вход 21 генератораthe outputs of the depshfratora 59 are connected with a reset in O to the input 21 of the generator
К-ми входами регистра 8 частного,ю 6, затем с выхода 32 - сиг«ал на заЭлемент 54 задержки служит дл за- пись в генератор 6 содержимого реги- держки сигнала с входа 29 на выходстра 4 на его вход 18, а также сигналK-mi inputs of the register 8 private, 6, then from the output 32 - sig “to the delay element 54” is used to record into the generator 6 the contents of the signal register from input 29 to output 4 to its input 18, as well as
блока управлени на врем , необходи-на вход 34 регистра 8, записьшающийcontrol unit at the time required to enter 34 register 8, recording
мое дл перезаписи содержимого реги-логическую 1 в его (К-1)-й разр д,mine for rewriting the contents of regi-logical 1 in its (K-1) -th bit,
стра 1.-15 Затем, формируетс сигнал с выхода 26page 1.-15 Then, a signal is generated from output 26
Устройство работает следзпощим об-блока 7 управлени на вход 11 регистразом .ра 1 и с выхода 31 на вход 20 генераДелимое поступает на вход 10 ре-тора 6, что вл етс началом новогоThe device operates by following the control block 7 to the input 11 of the register 1 1 and from the output 31 to the input 20 of the generator. The dividend is fed to the input 10 of the rector 6, which is the beginning of a new
гистра 1 делимого и записываетс вцикла работы. Если делимое равно венем . Делитель поступает на вход 16 20 су К-го разр да последовательности регистра 4 делител , где запоминает-двоичной t-системы счислени с прос . Блок 7 управлени формирует ко-извольными начальными услови ми, тоGistra 1 is divisible and is recorded in a work cycle. If the dividend is equal to vena. The divider is fed to the input of the 16–20 sous of the K-th bit of the sequence of the register 4 of the divider, where it remembers the binary t-number system from the query. The control block 7 forms by arbitrary initial conditions, then
манду на вход 11 регистра 1 делимо-с выхода.51 схемы 2 сравнени на входmandu for input 11 of register 1 divisible from output .51 of circuit 2 comparison to input
го, по которой число с выхода 15 ре-52 блока 7 управлени поступает сиггистра 1 подаетс на вход 36 схемы 5 нал, результатом обработки которого 2 сравнени , а также формируетс ко- вл етс то, что в регистр 8 черезOn this, the number from the output 15 of the re-52 of the control block 7 enters the siggistra 1 and is fed to the input 36 of the circuit 5, the processing of which 2 comparisons, and also the result that the register 8 through
манда на вход 18 регистра 4 дл запи- вход 49 записываетс в К-й разр д си делител в генератор 6, осущест-логическа 1, в этом случае с выховл ющейс на вход 19 последнего,ида 35 регистра 8 вьщаетс результатManda to input 18 of register 4 for recording input 49 is written into the K-th bit of the divider into generator 6, which is logical-logical 1, in this case with the input 19 that disappears at input 19, id 35 of register 8 is the result
на вход 20 генератора 6, разрешающе- 30 делени , перед на ал ом перезаписи го начало генерации, С выхода 23 ге-числа в регистр 1 происходит его обнератора на вход 40 регистра 5 посту- нуление через вход 25 с выхода 47 пает значение (К-1) числа, вл ющего- вычитател 3.at the input 20 of the generator 6, allowing 30 divisions, before the start of the overwrite of the first start of generation, From the output 23 of the ge number to the register 1, its turner to the input 40 of the register 5 occurs, the input 25 from the output 47 returns the value (K -1) the number of subtractor 3.
с весом двоичной t-системы счисле- Блок 7 управлени работает следуюки с произвольными начальными ус- 35 образом. Сигнал на вход 50 вызы- лови ми, и записываетс . С выходавает сигналы на выходах 26 и 32.with the weight of the binary t-system, control block 7 operates the followers with arbitrary initial conditions. The signal to input 50 is triggered and recorded. With the output signals at outputs 26 and 32.
24 генератора 6 на вход 37 схемыСигнал на вход 27 вызывает сигналы24 generator 6 to the input 37 of the circuit. The signal to the input 27 causes signals
2 сравнени поступает число К, вл -на выходах 28 и 31, а также подсчиющеес весом двоичной t-системы счис- тываетс счетчиком 57. Сигнал на вход лени с произвольными начальными ус- 40 52 подсчитываетс в счетчике 57 лови ми (К - текущий разр д,генериру- . и разрешает работу дешифратора 59, емый генератором 6). Схема 2 сравне-сигнал на вход 29 вызьгеает сигналы2 comparisons, the number K arrives, at the outputs 28 and 31, and also counted by the weight of the binary t-system is counted by the counter 57. The signal to the lazy input with arbitrary initial conditions is 40 52 counted in the counter 57 by catch (K is the current bit d, generated by and resolves the operation of the decoder 59, generated by the generator 6). Circuit 2 sravne-signal to the input 29 vyzgeaet signals
ни производит сравнение делимого сна выходах 26, 32 и 33, подсчитьшавесом К-го разр да, поступившего сетс счетчиком 57 и разрешает работуnor does it compare the dividend sleep outputs 26, 32 and 33, calculate the curtain of the K-th bit received by the set counter 57 and allow the operation
генератора 6. Если делимое больше45 дешифратора 58,generator 6. If the dividend is greater than 45 of the decoder 58,
веса К-го разр да, то с выхода 38 схе-Дополнительный положительный эфмы 2 сравнени на вход 27 блока 7 уп- фект состоит в п олучении частного в равлени подаетс сигнал, по которому минимальной форгме и повышении быст- с выхода 31 блока 7 управлени пода- родействи . етс сигнал на следующий такт гене- JQthe weight of the K-th bit, then from output 38 of the circuit - Additional positive efma 2 comparison to input 27 of block 7, the effect is to receive a particular form, a signal is given that minimizes and increases quickly from output 31 of control 7 submission. signal on the next cycle of the gen- jq
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874185979A SU1418700A1 (en) | 1987-01-22 | 1987-01-22 | Device for dividing numbers |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874185979A SU1418700A1 (en) | 1987-01-22 | 1987-01-22 | Device for dividing numbers |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1418700A1 true SU1418700A1 (en) | 1988-08-23 |
Family
ID=21282303
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU874185979A SU1418700A1 (en) | 1987-01-22 | 1987-01-22 | Device for dividing numbers |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1418700A1 (en) |
-
1987
- 1987-01-22 SU SU874185979A patent/SU1418700A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР .Р 1111955,кл,. G Об F 7/49, 1983. Авторское свидетельство СССР 1252772, кл. G 06 F 7/49, 1984. Авторское свидетельство СССР № 744564, кл. G 06 F 7/49, 1978. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1418700A1 (en) | Device for dividing numbers | |
US4013879A (en) | Digital multiplier | |
SU1193670A1 (en) | Processor for computing values of simple functions | |
SU661814A1 (en) | Ring counter | |
SU1552174A1 (en) | Dividing device | |
SU750480A1 (en) | Device for comparing numbers with tolerances | |
SU1259251A1 (en) | Dividing device | |
SU651489A1 (en) | Arrangement for selecting information channels | |
SU1247868A1 (en) | Device for modulo p adding and subtracting of numbers | |
SU1270758A1 (en) | Device for dividing binary numbers | |
SU1325466A1 (en) | Device for dividing binary numbers | |
SU1339553A1 (en) | Divider | |
SU1619255A1 (en) | Division device | |
SU1251071A1 (en) | Random number sequence generator | |
SU1543400A1 (en) | Device for multiplication of variable by a fraction | |
SU987620A1 (en) | Serial multiplying device | |
SU612246A1 (en) | Divider | |
SU1376082A1 (en) | Multiplication and division device | |
SU1315972A1 (en) | Dividing device | |
SU1411725A1 (en) | Generator of fibonacci p-number sequence | |
SU888111A1 (en) | Sine-cosine function generator | |
RU1798901C (en) | Single-pulse frequency multiplier | |
SU1317431A1 (en) | Dividing device | |
SU1254475A1 (en) | Device for transforming coordinates | |
SU694867A1 (en) | Device for the digital averaging of binary -coded signals |