SU1509903A1 - Arbitrary modulo folding device - Google Patents
Arbitrary modulo folding device Download PDFInfo
- Publication number
- SU1509903A1 SU1509903A1 SU874354973A SU4354973A SU1509903A1 SU 1509903 A1 SU1509903 A1 SU 1509903A1 SU 874354973 A SU874354973 A SU 874354973A SU 4354973 A SU4354973 A SU 4354973A SU 1509903 A1 SU1509903 A1 SU 1509903A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- group
- inputs
- elements
- outputs
- groups
- Prior art date
Links
Landscapes
- Error Detection And Correction (AREA)
Abstract
Изобретение относитс к автоматике и вычислительной технике и может быть использовано в устройствах, функционирующих в системе остаточных классов. Цель изобретени - повышение быстродействи устройства. Исходное число Х поступает на входы первого операнда вычитателей группы 2 с информационного входа 1 устройства. На входы вторых операндов вычитателей группы 2 поступают константы, кратные модулю M. С помощью блоков сравнени групп 5 и 6 и элементов И групп 8 и 9 определ етс вычитатель группы 2, код на выходе которого удовлетвор ет двум услови м: αк≥0 и αк≤M -1. В этом случае соответствующий элемент ИЛИ группы 10 пропускает этот код через соответствующий коммутатор группы 4 и элементы ИЛИ группы 11 на вход регистра 12, с выхода которого этот код поступает на выход 13 устройства. Таким образом, врем вычислени остатка сокращаетс до времени вычислени разности на вычитател х группы 2 и сравнени этих результатов с нулем и кодом /M-1. 1 ил.The invention relates to automation and computing and can be used in devices operating in the system of residual classes. The purpose of the invention is to increase the speed of the device. The initial number X is fed to the inputs of the first operand of the subtractors of group 2 from the information input 1 of the device. The inputs of the second operands of the subtractors of group 2 receive constants that are multiples of the module M. With the help of comparison blocks of groups 5 and 6 and elements AND of groups 8 and 9, a subtractor of group 2 is determined, the output code satisfies two conditions: α to ≥0 and α to ≤M -1. In this case, the corresponding OR element of group 10 passes this code through the corresponding switch of group 4 and the elements of OR group 11 to the input of register 12, from the output of which this code goes to output 13 of the device. Thus, the computation time of the remainder is reduced to the computation time of the difference on the subtracters of group 2 and comparing these results with zero and the / M-1 code. 1 il.
Description
Изобретение относитс к автоматике и вычислительной технике и может быть использовано в устройствах, функщюнирующих в системе остаточных классов.The invention relates to automation and computing and can be used in devices that function in a system of residual classes.
Цель изобретени - повышение быстродействи устройства.The purpose of the invention is to increase the speed of the device.
На чертеже изображенз. функциональна схема устройства .In drawing drawing functional circuit device.
Устройство имеет информационный вход 1, группу 2 вычитателей, группу 3 входов задани ко нстант вычитани , группу 4 коммутаторов., грзшпы 5, 6 блоков сравнени , вход 7 задани кода модул , группы 8, 9 элементов И, группы 10, t1 элементов ИЛИ, регистр 12 и информационный выход 13,The device has information input 1, a group of 2 subtractors, a group of 3 inputs for setting subtractors, a group of 4 switches., Groups 5, 6 comparison blocks, input 7 specifying a module code, groups 8, 9 elements AND, groups 10, t1 elements OR, register 12 and information output 13,
Устройство работает следующим образом .The device works as follows.
На информационньй вход 1 устройства подаетс исходное число X, лежащее в диапазоне О X М, которое поступает на входы первого операнда всех вычитателей группы 2, На входы вторых операвдов вычнтателей группы 2 с группы 3 входов устройства поступаю константы, кратные модугао (0,m2m, ,,. nm, где п определ етс из вьфажени The information input 1 of the device is supplied with the initial number X lying in the range O X M, which is fed to the inputs of the first operand of all the subtractors of group 2, to the inputs of the second operands of the evaluators of group 2 from group 3 of the device's inputs I receive constants multiple of modgao (0, m2m, ,,. nm, where n is determined from the hyphenation
п , о(„ ад (modm) . С выходовp, o („hell (modm). From the outputs
вычитателей грулпы 2 значени oi , Х-km поступают на информационные входы коммз таторов группы 4 и на пер- вые информатщонные входы блоков сравнени первой грутшы 5, на вторые информационные входы которых с входа 7 задани кода модул устройства подаетс , значение константы (т-1). На пер- вые информационные входы блоков сравнени второй группы 6 подаютс выходы разр дов знака соответствующих вычитателей группы 2, На вторые информационные входы блоков сравнени груп- пы 6 подключаетс шина нулевого потенциала устройства-(не показано). Эти блоки сравнени формируют на своих выходах единичньш .сигнал, когдаThe gruppa 2 subtractors oi, X-km are fed to the information inputs of the switches of group 4 and to the first information inputs of the comparison unit of the first group 5, to the second information inputs of which input 7 sets the device module code, t is 1 ). To the first information inputs of the comparison units of the second group 6, the outputs of the sign bits of the corresponding subtractors of group 2 are supplied. To the second information inputs of the comparison units of the group 6, a zero potential bus of the device is connected (not shown). These comparison units form a single signal at their outputs when
результат на выходах вычитателей пы 2 неотрицательный ()( 0).the result at the outputs of the subtractors pn 2 is non-negative () (0).
Блоки сравнени первой группы 5 сравнивают результаты вычитани вычитателей группы 2 с кодом т-1, поступающим с входа 7 устройства, БComparison units of the first group 5 compare the results of the subtraction of the subtractors of group 2 with the code t-1, coming from the input 7 of the device, B
чае дл о{| «с т-1 и cij, т-1 на соответствующем выходе блока сравнени по вл етс единичньй сигнал. Если при этом имеетс единичньш сигнал наtea for o {| With t-1 and cij, t-1, a single signal appears at the corresponding output of the comparison unit. If there is a single signal on
5555
00
00
5five
выходе совтветствукнцего блока сравнени группы 6j единичный сигнал с выхода элемента И группы 8 или 9 проходит через соответствующий элемент ИЛИ группы 10 на управл кндий вход соответствзтощего коммутатора группы 4, В результате код с выхода вычитателей группы 2, из которого результат вычислений удовлетвор ет двум услови м: о.- О и $ т-1, через элементы ИЛИ группы 11 записываетс на регистр 12, Этот код и вл етс контрольным вычетом по модулю т.output of the matching unit of comparison group 6j, a single signal from the output of the element AND of group 8 or 9 passes through the corresponding element OR of group 10 to the control unit input of the corresponding switch of group 4. As a result, the code from the output of the subtractors of group 2, from which the result of the calculations satisfies two conditions : O.- O and $ t-1, through the elements of OR group 11 is written to register 12, This code is the control residue modulo m.
Рассмотрим работу устройства на примере дл -X 100 и m 29, В этом случае на вход грзттпы 3 устройства поступают коды 0,29j 58,,, На выходах вычитателей группы 2 формируютс коды:Consider the operation of the device using the example for -X 100 and m 29. In this case, the codes 0,29j 58 ,,, are received at the input of the third device 3, the codes are formed at the outputs of the subtractors of group 2:
0,29 100 (oio 0);0.29,100 (oio 0);
1,291.29
2,292.29
3,293.29
4,294.29
Oi5 6i4 Oi5 6i4
100 100 100 100 100100 100 100 100 100
16 sixteen
71 (oi,0)j 42 (); 13 (oi3 0)71 (oi, 0) j 42 (); 13 (oi3 0)
( 0)(0)
иand
т,д,t, d,
тоthat
Так как О и 8, с выхода А В третьего блока сравнени группы 5 через третий элемент И группы 9 единичный сигнал проходит через третий элемент ИЛИ группы 10 и - открывает третий коммутатор группы 4,Since O and 8, from output A B of the third unit of comparison of group 5 through the third element AND of group 9, a single signal passes through the third element OR of group 10 and opens the third switch of group 4,
В результате код 13 оказываетс на регистре 12 (через группу элементов ИЛИ 11) и постзшает на выход 13 устройства.As a result, code 13 appears on register 12 (through the group of elements OR 11) and is posted to output 13 of the device.
Код 13 вл етс 100 по модулю 29,Code 13 is 100 modulo 29,
сверткой числаconvolution number
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874354973A SU1509903A1 (en) | 1987-11-06 | 1987-11-06 | Arbitrary modulo folding device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874354973A SU1509903A1 (en) | 1987-11-06 | 1987-11-06 | Arbitrary modulo folding device |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1509903A1 true SU1509903A1 (en) | 1989-09-23 |
Family
ID=21346923
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU874354973A SU1509903A1 (en) | 1987-11-06 | 1987-11-06 | Arbitrary modulo folding device |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1509903A1 (en) |
-
1987
- 1987-11-06 SU SU874354973A patent/SU1509903A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 407313, кл. G 06 F 11/08, 1972. Авторское свидетельство СССР № 1124310, кл. G 06 F 11/00, 1983. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1509903A1 (en) | Arbitrary modulo folding device | |
SU484520A1 (en) | Device for adding numbers in the system of residual classes | |
SU1104501A1 (en) | Device for determining rank of number | |
SU1583934A1 (en) | Device for sorting numbers | |
SU1161939A1 (en) | One-digit decimal matrix subtracter | |
SU1432501A1 (en) | Device for comparing numbers | |
SU1532912A1 (en) | Device for calculation of systems of boolean functions | |
SU593211A1 (en) | Digital computer | |
SU1465878A1 (en) | Device for determining normalization code | |
SU1013935A1 (en) | Data input device | |
SU888107A1 (en) | Number train shaping device | |
SU1051538A1 (en) | Device for forming system of dependent random events | |
SU1171851A1 (en) | Device for shifting information | |
SU696462A1 (en) | Correcting device | |
SU898609A1 (en) | Voltage-to-code converter with dynamic error correction | |
SU635485A1 (en) | Binary number comparing arrangement | |
SU1016778A1 (en) | Code comparison circuit | |
SU1275439A1 (en) | Device for normalizing number in interval-modular code | |
SU888121A1 (en) | Device for shaping execution addresses | |
SU1193665A1 (en) | Device for summing binary numbers | |
SU1594541A1 (en) | Device for convolution by arbitrary modulus | |
SU980089A1 (en) | Number comparing device | |
SU450162A1 (en) | Tunable phase-pulse multi-stable element | |
SU1120408A1 (en) | Associative storage | |
RU1829030C (en) | Device for accumulation floating point numbers |