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 PDF

Info

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
Application number
SU864149968A
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 SU864149968A priority Critical patent/SU1383341A1/en
Application granted granted Critical
Publication of SU1383341A1 publication Critical patent/SU1383341A1/en

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)

Формула изобретени Invention Formula Устройство дл  сложени  и вычитани  чисел по модул м m;(т j 1, п), содержащее приемный регистр, дешифра тор, кольцевой сдвигающий регистр, группу ключевых элементов, генератор импульсов, умножитель частоты, счетчик импульсов, схему сравнени , первый и второй элементы ИЛИ, первую группу элементов И, первый, второй, третий и четвертый элементы И, при этом первьй информационный вход устройства подключён к входу дешифратора выхода которого подключены к первым входам ключевых элементов, выходы которых подключены к первым входам элементов И первой группы, выхода которых через первый элемент ИЛИ подключень к выходу результата устройства , второй информационный вход устройства подключен к первому входу первого элемента И, выход которого одновременно с выходом второго элемента И через второй элемент ИЛИ подключен к входу приемного регистра, выход которого подключен к первому входу схемь сравнени , к второму входу которой подключен выход счетчика импульсов, а вход запуска устройства подключен к входу генератораA device for adding and subtracting numbers modulo m; (t j 1, p) containing a reception register, a descrambler, a ring shift register, a group of key elements, a pulse generator, a frequency multiplier, a pulse counter, a comparison circuit, the first and second elements OR, the first group of elements is AND, the first, second, third and fourth elements AND, while the first information input of the device is connected to the input of the decoder of the output of which is connected to the first inputs of key elements whose outputs are connected to the first inputs of the elements AND first The second group, whose output through the first element OR is connected to the output of the device, the second information input of the device is connected to the first input of the first element AND, the output of which simultaneously with the output of the second element AND through the second element OR connected to the input of the receiving register, the output of which is connected to the first the input of the comparison circuit, to the second input of which the output of the pulse counter is connected, and the device start input is connected to the input of the generator г 0 5 g 0 5 00 5five 00 5five 00 5five импульсов, выход которого подключен к первым входам третьего и четвертого элементов И, выхода которых подключе- нь к входам соответственно умножител  частоты и счетчика импульсов, а выход схемы сравнени  подключен к инверсным входам третьего и четвертого элементов И, к разре пающим входам ключевых элементов и элементов И первой группы, а выход умножител  частоты подключен к сдвигающим входам разр дов кольцевого сдвигающего регистра, выхода разр дов которого подключень к третьим входам элементов И первой группы, к вторь м входам первого и второго элементов И подключены входа подачи признака операции соответственно сложени  и вь читани , отличающеес  тем, что, с целью расширени  функциональных возможностей за счет реализации модульных операций сложени  и вь читанй  дл  набора модулей от и, 2 до п„(г1„ - максимальное значение модул ), введены втора  группа из ()-го элемента И,.треть  группа из п элементов И, четверта  группа из ()-х элементов И, группа из п сумматоров по модулю Ш; и третий элемент ИЛИ, причем выход разр да кольцевого сдвигающего регистра подключен к пе рвь м входам элементов И второй группы, к вторь м входам которь х подключень соответствую11ще входа управлени  устройства , а выход К-го (к 1,т-2) - элемента И второй группы подключен к инверсному входу К-го элемента И чет-, вертой группь и к второму входу К-го разр да кольцевого сдвигающего регистра , выход (Ид-О-го элемента И второй группы подключен к старшему разр ду кольцевого сдвигающего регистра, выход t -го (6 п - 1, 2) разр да кольцевого сдвигак цего регистра через первь й вход (J-l)-ro элемента И четвертой группь подключен к первому входу (J-l)-ro разр да кольцевого сдвигающего регистра, а выход первого разр да кольцевого сдвигающего регистра подключен к первому входу младшего (нулевого) разр да кольцевого сдвигающего регистра, второй инфор- мационньй вход устройства подключен к первым входам сумматоров по модулю п , к вторь м входам которых под- -Ключены выхода соответствуюпщх элементов И третьей группы, к первь м входам которых подключены входа по513833416pulses, the output of which is connected to the first inputs of the third and fourth elements AND, whose outputs are connected to the inputs of the frequency multiplier and the pulse counter, respectively, and the output of the comparison circuit is connected to the inverse inputs of the third and fourth elements AND, to the enable inputs of key elements and elements And the first group, and the output of the frequency multiplier is connected to the shift inputs of the bits of the ring shift register, the output of which bits are connected to the third inputs of elements AND of the first group, to the second inputs of the first The second and second elements are connected to the feed input of the operation characteristic, respectively, of adding and reading, characterized in that, in order to extend the functionality by implementing modular add operations and reading for a set of modules from and, 2 to n "(d1 is the maximum module value), the second group of () -th element AND, a third group of n elements AND, the fourth group of () elements I, and a group of n adders modulo III are entered; and the third element OR, and the output of the bit of the ring shift register is connected to the first inputs of elements AND of the second group, to the second inputs of which the connection corresponds to the control input of the device, and the output K-th (to 1, t-2) - And the second group is connected to the inverse input of the K-th element And the even-right group and to the second input of the K-th digit of the ring shift register, the output (Id-O-th element And the second group is connected to the highest bit of the ring shift register, output t -th (6 p - 1, 2) bit annular shift Istra via the first input (Jl) -ro of the element And the fourth group is connected to the first input (Jl) -ro of the ring shift register, and the output of the first bit of the ring shift register is connected to the first input of the lower (zero) bit of the ring shift register , the second information input of the device is connected to the first inputs of adders modulo n, to the second inputs of which are connected - the outputs of the corresponding elements AND of the third group, to the first inputs of which are connected inputs 5113833416 дачи соответствующих значений моду-дулю т. через третий элемент ИЛИgiving the corresponding values to modul d. through the third element OR лей П;, а к разрешающим входам -подключены к первому входу второгоLei ;, and to the enabling inputs are connected to the first input of the second соответствующие входы управлени  уст-элемента И. ройством, а выходы сумматоров по моthe corresponding inputs of the control of the device element I. is a device, and the outputs of the adders are
SU864149968A 1986-11-21 1986-11-21 Device for modulo m sub "i"(m sub "i" equals 1,n) addition and subtraction of numbers SU1383341A1 (en)

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)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
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