SU1383341A1 - Device for modulo m sub "i"(m sub "i" equals 1,n) addition and subtraction of numbers - Google Patents
Device for modulo m sub "i"(m sub "i" equals 1,n) addition and subtraction of numbers Download PDFInfo
- Publication number
- SU1383341A1 SU1383341A1 SU864149968A SU4149968A SU1383341A1 SU 1383341 A1 SU1383341 A1 SU 1383341A1 SU 864149968 A SU864149968 A SU 864149968A SU 4149968 A SU4149968 A SU 4149968A SU 1383341 A1 SU1383341 A1 SU 1383341A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- inputs
- output
- elements
- group
- Prior art date
Links
Landscapes
- Error Detection And Correction (AREA)
Abstract
Изобретение относитс к автомат тике и вычислительной технике и может быть использовано в системах и устройствах , функционируюгчих в системе остаточных классов. Цель изобретени - расЕшрение функциональных возможностей за счет реализации модуль - ных операций дл набора модулей п,-.The invention relates to automation and computing and can be used in systems and devices functioning in the system of residual classes. The purpose of the invention is to expand the functionality by implementing module operations for a set of modules n, -.
Description
СЛSL
ссss
00 0000 00
004004
Реализуютс модульные операции сложени и вычитани дл набора модулей от м , 2 до т,,, где и „ - максимально заданный модуль, по которому работает устройство, содержащее первый 1 и второй 9 Информационные входы, первый 2 и второй 10 входные регистры, дешифратор 3, ключевые элементы 4, первую 5, вторую 25 и третью 29 .... группы элементов И, первый 6, второй 13 и третий 31 элементы ИЛИ, выходной регистр 7, выход 8, первый 11, второйThe modular operations of addition and subtraction are implemented for a set of modules from m, 2 to t ,,, where u is the maximum specified module that the device operates in, containing the first 1 and second 9 information inputs, the first 2 and second 10 input registers, the decoder 3 , key elements 4, first 5, second 25 and third 29 .... groups of elements And, first 6, second 13 and third 31 elements OR, output register 7, output 8, first 11, second
12, третий 19 и четвертый 20 элементы И, приемньш регистр 14, схему сравнени 15, счетчик импульсов Ih, вход 17 генератора импульсов, генератор импульсов 18, умножитель частоты 21, кольцевой сдвигающий регистр 22, вход 23 подачи признака операции сложени , вход 24 по- признака операции вычитани ,шины 26 управлени устройством, группу вентилей 27, группу сумматоров 28 по модулю m , ПИНЫ 30 подачи модулей m; . I ил.12, third 19 and fourth 20 elements And, receive register 14, comparison circuit 15, pulse counter Ih, input 17 of the pulse generator, pulse generator 18, frequency multiplier 21, ring shift register 22, input 23 of the indication of the addition operation, input 24 through - a sign of a subtraction operation, a device control bus 26, a group of gates 27, a group of adders 28 modulo m, a PINE 30 of the feed of modules m; . I il.
1one
Изобретение относитс к автоматик и вычислительной технике и может быт использовано в системах и устройствах , функционируюр их в системе остаточных классов.The invention relates to automation and computing and can be used in systems and devices, functioning in the system of residual classes.
Цель изобретени - расширение функциональных возможностей за счет реализации модульных операций сложени и вычитани дл набора модулей о га, 2дот„( максимальный мо- дуль, по которому работает устройство ).The purpose of the invention is to expand the functionality by implementing modular operations of addition and subtraction for a set of modules of hectares, 2dot (the maximum module in which the device operates).
На чертеже представлена функциональна схема устройства дл . сложени и вычитани чисел по модул м т- .The drawing shows the functional diagram of the device for. addition and subtraction of numbers modulo m -.
Устройство содержит первый инфор- мационньй вход 1 устройства, первый входной регистр 2, дешифратор 3, - группу ключевых элементов 4, первую группу элементов И 5, первый элемент ИЛИ 6, выходной регистр 7, выход 8 устройства, второй информационный вход 9 устройства, второй входной регистр 10, первый М и второй 12 элементы И, второй элемент ИЛИ 13, приемный регистр 14, схему 15 сравне . ни , счетчик 16 импульсов вход 17 запуска генератора 18 импульсов, третий 19 и четвертый 20 элементы И, умножитель 21 частоты, кольцевой сдвигающий регистр (КСР) 22, вход 23 подачи признака операции сложени , вход 24 подачи сигнала признака one- рации вычитани , вторую группу элементов И 25, входы (шины) 26 управ- лени устройством, четвертую группуThe device contains the first information input 1 of the device, the first input register 2, the decoder 3, - the group of key elements 4, the first group of elements AND 5, the first element OR 6, the output register 7, the output 8 of the device, the second information input 9 of the device, the second input register 10, the first M and second 12 elements And the second element OR 13, the receiving register 14, the circuit 15 is compared. No, pulse counter 16 pulse start input 17 of pulse generator 18, third 19 and fourth 20 elements AND, frequency multiplier 21, ring shift register (DAC) 22, sign feed input 23 of the add operation, sign 24 input of the subtraction sign, second a group of elements And 25, inputs (bus) 26 control device, the fourth group
5five
0 0
5 five
00
5five
00
элементов И (вентилей) 27, группу сумматоров 28 по модулю хп; , третью группу элементов И 29 у входы (ишны)elements And (gates) 27, a group of adders 28 modulo HP; , the third group of elements And 29 at the entrances (ishny)
30подачи значений модулей и- (i 1,п), третий элемент ИЛИ 31.30 submission of the values of the modules and- (i 1, p), the third element OR 31.
Устройство работает следующим образом .The device works as follows.
На первый вход подаетс первый операнд а;,а на второй 9 вход - второй операнд /3; . В разр дах КСР 22 записана перва строка таблицы модуль ного сложени (вычитани ) (а„ 4-jJ J nod п, С выхода депжфратора 3 сигнал , соответствующий значению а; в унитарном коде, поступает на первый вход а;-го ключевого элемента 4. Сигнал , соответствующий признаку модул m(i 1, п), по i-й щине 26 открывает i-e элементы И 25 и 29.The first operand a; is supplied to the first input, and the second operand / 3 to the second input 9; . In the DAC 22 bits, the first row of the modular addition (subtraction) table is recorded (a „4-jJ J nod п, From the output of the deprafrater 3, the signal corresponding to the value a; in the unitary code, it goes to the first input of the a; -th key element 4 The signal corresponding to the attribute of the module m (i 1, p), on the i-th bus 26, opens ie the elements AND 25 and 29.
В этом случае на первый вход сумматора 28 по модулю т; поступает второй операнд |5; , а на второй вход этого сумматорв по соответствующей i-и шине 30 через i-й открытый элемент И 29 - значение И;, а с выхода этого сумматора на вход элемента Ш1ИIn this case, the modulo t of the first input of the adder 28; enters the second operand | 5; and to the second input of this adder via the corresponding i-bus 30 through the i-th open element I 29 is the value of I ;, and from the output of this adder to the input of the element S1I
31поступает значение п; - /3; j . В то же врем выходной сигнал i-ro элемента И 25 закрывает i-й вентиль 27, при этом образуетс контур прохождени содерзшмого разр дов КСР 22, реализу операцию сложени (вычитани ) чисел по модул м т-. Устройство запускаетс сигналом иины 17, а с выхода генератора 18 импульсы через элемент И 19, умножитель 21 поступают на сдвигающие входы разр дов КСР 22, Одновременно с выхода генератора 18 через элементы И 20 импульсы поступают на вход счетчика 16. При сравнении содержимого приемного реги стра 14 и счетчика 16 выходной сигнал схемы 15 сравнени закрывает элементы И 19 и 20 и открывает элементы И 5 и ключевые элементы 4, При нали- чии сигнала шины 23 (код операции сложени ) с выхода регистра 10 операн через открытый элемент И 1 1 , элемент ИЛИ 13 поступает в регистр 14, а при наличии сигнала ршны 24 (код операции вычитани ) с вьтхода i-ro сумматора 28 значение р т; - р; через элементы ИЛИ 31, открытый элемент И 12, элемент ИЛИ 13 поступает в регистр 14, В этом случае происхо- дит сдвиг разр дов КСР 22 по образованному контуру( по данному модулю И;) на Р;-(ЙЛИ ; ) разр дов против часовой стрелки, С выхода а;-го разр да КС 22 результат операции через открытый а,- -и элемент И 5, элемент ИЛИ 6 поступает на вход регистра 7,31 value n arrives; - / 3; j. At the same time, the output signal of the i-element of the AND 25 closes the i-th valve 27, thus forming a circuit for passing the content of the DAC bits 22, realizing the operation of adding (subtracting) the numbers modulo m -. The device is triggered by the signal 17, and from the output of the generator 18, the pulses through the element 19, the multiplier 21 arrive at the shift inputs of the bits of the DAC 22, simultaneously from the output of the generator 18 through the elements 20 and the pulses arrive at the input of the counter 16. 14 and the counter 16, the output signal of the comparison circuit 15 closes the elements AND 19 and 20 and opens the elements AND 5 and the key elements 4, In the presence of a bus signal 23 (the operation code) from the output of the register 10, the opera through the open element I 1 1, the element OR 13 enters register 14, and in the presence of a signal rshna 24 (subtraction operation code) from the output of the i-ro adder 28, the value of p t; - R; through the elements OR 31, the open element AND 12, the element OR 13 enters the register 14, In this case, the bits of the DAC 22 are shifted along the formed contour (by this module AND;) by Р ;-( YLI;) of the bits against clockwise, From the output of the a; -th bit of the COP 22, the result of the operation through the open a, -, and element AND 5, the element OR 6 enters the input of the register 7,
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864149968A SU1383341A1 (en) | 1986-11-21 | 1986-11-21 | Device for modulo m sub "i"(m sub "i" equals 1,n) addition and subtraction of numbers |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864149968A SU1383341A1 (en) | 1986-11-21 | 1986-11-21 | Device for modulo m sub "i"(m sub "i" equals 1,n) addition and subtraction of numbers |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1383341A1 true SU1383341A1 (en) | 1988-03-23 |
Family
ID=21268572
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU864149968A SU1383341A1 (en) | 1986-11-21 | 1986-11-21 | Device for modulo m sub "i"(m sub "i" equals 1,n) addition and subtraction of numbers |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1383341A1 (en) |
-
1986
- 1986-11-21 SU SU864149968A patent/SU1383341A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1383341A1 (en) | Device for modulo m sub "i"(m sub "i" equals 1,n) addition and subtraction of numbers | |
US4951242A (en) | Median filters having modules for receiving the current value of an incoming digital signal | |
SU1187161A1 (en) | Modulo multiplying device | |
SU1451691A2 (en) | Modulo-m adding and subtracting device | |
SU1594541A1 (en) | Device for convolution by arbitrary modulus | |
SU1030796A1 (en) | Number sorting device | |
SU1317661A1 (en) | Device for reception and conversion of binary balanced code | |
SU1756881A1 (en) | Modulo arithmetic unit | |
SU1658391A1 (en) | Serial-to-parallel code converter | |
SU1667055A1 (en) | Device for modulo m multiplication | |
SU1251077A1 (en) | Device for loading groups of uniform data | |
SU1599857A1 (en) | Device for adding and subtracting numbers by modulo | |
SU1388850A1 (en) | Device for modulo p addition and subtraction of numbers | |
SU1278890A1 (en) | Device for unifying sets | |
SU1234826A1 (en) | Device for tolerance comparing of numbers | |
SU1451690A1 (en) | Modulo-m adding and subtracting device | |
SU1444748A1 (en) | Device for comparing numbers | |
SU1599849A1 (en) | Combination computing data converter | |
SU1037234A1 (en) | Data input device | |
SU1124310A1 (en) | Device for calculating modulo convolution | |
SU1411738A1 (en) | Digital function converter | |
SU1552171A1 (en) | Device for comparison of numbers in residual classes system | |
SU1215108A1 (en) | Device for determining the least number of n numbers | |
SU1043630A1 (en) | Module for non-repeated function realization | |
SU432487A1 (en) | CONVERTER BINDING-DECIMAL CODE TO UNITARY CODE |