SU1264163A1 - Modulo 3 adder - Google Patents

Modulo 3 adder Download PDF

Info

Publication number
SU1264163A1
SU1264163A1 SU853857590A SU3857590A SU1264163A1 SU 1264163 A1 SU1264163 A1 SU 1264163A1 SU 853857590 A SU853857590 A SU 853857590A SU 3857590 A SU3857590 A SU 3857590A SU 1264163 A1 SU1264163 A1 SU 1264163A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
decoder
output
exclusive
triggers
Prior art date
Application number
SU853857590A
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 SU853857590A priority Critical patent/SU1264163A1/en
Application granted granted Critical
Publication of SU1264163A1 publication Critical patent/SU1264163A1/en

Links

Landscapes

  • Logic Circuits (AREA)

Abstract

Изобретение предназначено дл  систем контрол , примен емых в автоматике и вычислительной технике. Целью изобретени   вл етс  расшире- ние функциональных возможностей за счет формировани  вычетов по модулю три дл  N-разр дных входных слов, поступающих последовательно по четыре разр да. В сумматоре по модулю три осуществл етс  формирование вычета по модулю три дл  входных Nразр дных слов, поступающих по четыре разр да. Устройство содержит два триггера, два логических элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, злемент ИЛИ-НЕ и дешифратор. Использование логического злемента И и дешифратора позволило сократить врем  формировани  вычетов дл  N-разр дных входных слов и расширить функциональные возможности за счет формировани  вычес S тов по модулю три дл  четырехраз (Л р дных входных комбинаций. 2 ил.The invention is intended for control systems used in automation and computing. The aim of the invention is to extend the functionality by generating modulo three residues for N-bit input words coming in consecutively four bits. In the modulo-three adder, a modulo-three deduction is generated for the input bit words coming in four bits. The device contains two triggers, two logical elements EXCLUSIVE OR, element OR-NOT and a decoder. The use of the logical element And and the decoder made it possible to reduce the time of formation of residues for N-bit input words and to extend the functionality by forming calculations of three moduli for four times (regular input combinations. 2 ill.

Description

ОдOd

соwith

Изобретение относитс  к автоматие и вычислительной технике и может быть использовано в системах контрол  .The invention relates to automation and computing and can be used in control systems.

Цель изобретени  - расширение ункциональных возможностей за счет ормировани  вычетов дл  четырехазр дных входных комбинаций.The purpose of the invention is to expand the functional possibilities by organizing residues for four-bit input combinations.

На фиг.1 представлена структурна  схема сумматора по модулю три, на фиг.2 - графа переходов сумматора по модулю три.Figure 1 presents the block diagram of the adder modulo three, figure 2 shows the transition graph of the adder modulo three.

Сумматор по модулю три (фиг.1) содержит первьй и второй триггеры 1 и 2, первый и второй элементы ИСКЛЮЧАЮЩЕЕ ИЛИ 3 и 4, элемент ШШ-НЕ 5 и дешифратор 6, первый 7, второй 8, третий 9 и четвертьй 10 информационные входы, первьй 11 и второй 12 выходы результата.A modulo-three adder (FIG. 1) contains the first and second triggers 1 and 2, the first and second elements EXCLUSIVE OR 3 and 4, the WN-NOT 5 element and the decoder 6, the first 7, the second 8, the third 9 and the fourth 10 information inputs , first 11 and second 12 outputs of the result.

Сумматор работает следующим образом .The adder works as follows.

На графе (фиг.2) номера вершин 0,1,2 соответствуют значени м суммы по модулю три. Дугами показаны направлени  переходов при поступлении на входы сумматора по модулю три всех входных комбинаций, заданныхOn the graph (Fig. 2), the vertex numbers 0,1,2 correspond to the values of the sum modulo three. Arcs show the directions of transitions when arriving at the inputs of a modulo-three all input combinations specified

функцц;|1ми fj x XjXj 3 Vx j jX2XjV x XjXjX vx XjXjX vXj, JCjXj x.,XjX2Xj;.| 1mi fj x XjXj 3 Vx j jX2XjV x XjXjX vx XjXjX vXj, JCjXj x., XjX2Xj ;.

f j X X Xj X.( V X Кд Xj X V X Xj Xj X V/ X XjXjX V X XjXjX V K XjSjX V V Х4ХзХл| Х У ,Xf j X X Xj X. (V x Cd Xj X V X Xj Xj X V / X Xj Xj X V X Xj Xj X V XjSj X V X4XxX | XY, X

где старший с весом 8, Xj - с весом 4, Х2 - с весом 2, х - с ве- . сом 1 разр ды этих комбинаций. Сумма по модулю три кодируетс  состо ни и триггеров Т2, Т1 следующим образом: О - 00, 1 - 01, 2 - 10, состо ни  триггеров обозначены символами aj а (aj - старший с весом 2, а - младший с весом 1 разр ды суммы). В исходном состо нии триггеры Т1 и Т2 наход тс  в нулевом состо нии (цепи установки триггеров в исходное состо ние на фиг,1 не поKasaHbJ ). В каждом такте работы триггеры сначала наход тс  в определенном текущем состо нии CL, о.. соответствующем сумме по модулю три всех поступивших ранее входных комбинаций x XjXjX, Затем на первый 7, втрой 8, третий 9 и четвертый 10 входы поступают соответственно значени  х, Xj, Xj, X., разр дов входной комбинации, под воздействием которых триггеры переход т в очередное состо ние, которое определ ет сумму по модулю три всех входных комбинаций в том числе и поступившей в данном такте работы.where the eldest is with weight 8, Xj is with weight 4, X2 is with weight 2, x is with weight-. Som 1 rank of these combinations. The modulo three sum is encoded by the states and the T2, T1 triggers as follows: O - 00, 1 - 01, 2 - 10, the trigger states are denoted by aj a (aj is the highest with a weight of 2, and the younger with a weight of 1 amounts). In the initial state, the triggers T1 and T2 are in the zero state (the circuit for setting the triggers to the initial state in FIG. 1 is not according to KasaHbJ). In each cycle of operation, the triggers are first in a certain current state CL, oh. Corresponding to the modulo sum of all the previously received input combinations x XjXjX, Then to the first 7, three times 8, third 9 and fourth 10 inputs arrive, respectively, Xj, Xj, X., the bits of the input combination, under the influence of which the triggers go into the next state, which determines the sum modulo three of all the input combinations including the work received in this cycle.

Из графа переходов видно, что при поступлении на входы комбинаций x XjXjX, заданных функций fj (с значени ми разр дов 0000 ООП, 0110, 10001 1111), суша по модулю три не измен етс  и триггеры не измен ют своих состо ний. В этом случае сигнал синхронизации на Свходах обоих триггеров равен нулю. В остальных случа х сигнал синхронизации на С-входах триггеров равен 1 и триггеры могут измен ть свои состо ни  при поступлении входных комбинаций, заданных функци ми fj и f 3 .From the transition graph, it can be seen that when the x комбина XjXjX combinations of specified functions fj arrive (with bit values of 0000 OOP, 0110, 10001 1111), modulo 3 does not change and the triggers do not change their states. In this case, the synchronization signal on the Triggers of both triggers is zero. In the remaining cases, the synchronization signal at the C inputs of the triggers is 1, and the triggers can change their state when the input combinations specified by the functions fj and f 3 arrive.

Переходы триггеров сумматора по модулю три из всех возможных текущих состо ний о., ai(00, 11, 11) в очередные состо ни  схз а при различных значени х входных комбинацийTransitions of triggers of the adder modulo three of all possible current states of a., Ai (00, 11, 11) to the next skh a state for different values of the input combinations

x XjX2Xi приведены в таблице. Там же приведены значени  сигналов синхронизации (с) на С-входах и сигналов на I- и К-входах первого II,К1 и второго 12,К2 триггеров, обеспечивающих , эти переходы. Значени  сигналов II, 12 приведены дл  тех случаев , когда текущее состо ние триг ,геров равно , 01, 10. Сигналы синхронизации (С) и сигналы на К-входах совпадают и не завис т от текущего состо ни  триггеров.x XjX2Xi are shown in the table. It also shows the values of the synchronization signals (c) at the C inputs and the signals at the I and K inputs of the first II, K1 and second 12, K2 triggers that provide these transitions. The values of signals II, 12 are given for those cases where the current state of the trigger, ger, is 01, 10. The synchronization signals (C) and the signals at the K-inputs coincide and do not depend on the current state of the triggers.

000000 О О 01 О 1000000 O O 01 O 1

000101 1 О 10 1 1000101 1 О 10 1 1

О О Oh oh

1 one

О 1About 1

О 1 О О 1About 1 About About 1

Значени  сигналов II и 12 формйрзгютс  с помощью элементов ИСКЛЮЧАЮЩЕЕ ИЛИ и дешифратора, а значени  сигналов С, К1 и К2 - с помощью дешифратора и элемента ШШ-НЕ. Дл  устойчивой работы сумматора по модулю три необходимо, чтобы длительность сигналов входных комбинаций не превышала суммы времен срабатьтани  одного триггера и одного элемента ИСКЛЮЧАИЩЕЕ ИЛИ.The values of signals II and 12 are formed with the help of the EXCLUSIVE OR elements and the decoder, and the values of the signals C, K1 and K2 - with the help of the decoder and the element SH-N. For stable operation of the modulo-three adder, it is necessary that the duration of the signals of the input combinations should not exceed the sum of the times of one trigger and one element EXCLUSIVE OR.

Дешифратор может быть реализован по известной схеме.The decoder can be implemented according to a known scheme.

Формула и 3 обре тени Formula and 3 obrat shadows

Сумматор по модулю три содержащий первый и второй элементы ИСКЛЮЧАЮЩЕЕ ИЛИ и первый и второй 1К-триг еры , причем Т-входал первого и втоПродолжение таблицыA modulo-three adder containing the first and second elements EXCLUSIVE OR, and the first and second 1K-triggers, with T-entering the first and second Continuation of the table

рого триггеров соединены соответственно с выходами первого и второго элементов ИСКЛЮЧАИДЕЕ ИЛИ, С- и К-входы первого и второго 1К-триггеров соединены между собой, пр мые ,выходы первого и второго триггеров  вл ютс  выходами результата сумматора , отличающийс  тем, что, с целью расширени , функциональных возможностей за счет формировани  вычетов по модулю три дл  четырехраэр 1дных входных комбинаций, в cyi«iaTop введены элемент ШШ-НЕ и дешифратор, причем первый выход дешифратора соединен с первым входом элемента ИПИ-НЕ, второй выход дешифратора соединен с первым входом второго элемента ИСКЛКНАЩЕЕ ИЛИ, третий выход дешифратора соединён с первым входом первого элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, четвертый выход дешифратора соединен со вторым входом элемента ИЛИ-НЕ, п тый выход дешифратора соединен со вторым входом второго элемента ИСКЛЮЧАНШЩЕ ИЛИ, шестой выход дешифратора соединен с вторым входом первого элемента ИСКЛГОЧАЩЕЕ ИЛИ, седьмой выход дешифратора соединен с третьим входом элемента ИЛИ-НЕ, восьмой выход дешифратора соединен с третьим входом второго элемента ИСКЛЮЧАЩЕЕ ИЛИ, дев тый выход дешифратора соединен с третьим входом первого элемента ИСКШЧАЮЩЕЕ ИЛИ, дес тый выход дёШифратора соединен с четвертым входом элемента ИПИ-НЕ, одиннадцатый выход дешифратора соединен с четвертым входом второго элемента ИСКЛЮЧАЩЕЕ ИЛИ, двенадцатьм выход дешифратора соединен с четвертым входом первого элемента ИСЮТОЧАЩЕЕ ИЛИ, тринадцатый выход дешифратора соединен с п тым входом элемента ИЛИ-НЕ, четырнадцатый выход дешифратора соединен с п тым входом второго элемента ИСКЛЮЧАКЩЕЕ ШШ п тнадцатый выход дешифратора соединен с п тым входом первого элемента ИСКЛОЧАНЩЕЕ ИЛИ, шестнадцатьй выход дешифратора соединен с шестым входом элемента ИЛИ-НЕ, пр мой выход второго 1К-триггера соединен с шестым входом первого элемента ИСКЛЮЧАЩЕЕ ИЛИ, пр мой выход первого . 1К-триггера соединен с шестым входом второго элемента ИСКЛЮЧАЩЕЕ ИЛИ выход элемента ИЛИ-НЕ соединен с Си К-входами первого и второго IKтриггеров , первый, второй, третий, четвертьй входы дешифратора  вл ютс  входами сумматора.triggers are connected respectively to the outputs of the first and second elements EXCLUSIVE OR, the C and K inputs of the first and second 1K triggers are interconnected, the forward outputs of the first and second triggers are outputs of the result of the adder, characterized in that expansion, functionality due to the formation of modulo residues for four four-slot 1d input combinations, a CIN-HE element and a decoder are introduced into cyi iaTop, the first output of the decoder is connected to the first input of the IPI-NE element, the second output of the cipher ora connected to the first input of the second element ISKLKNASCHEE OR, third output of the decoder is connected to a first input of the first exclusive-OR gate, fourth output of the decoder is connected to a second input of OR-NO element, a fifth output decoder connected to the second input of the second element ISKLYUCHANSHSCHE OR sixth output of the decoder connected to the second input of the first element EXCLUSIVE OR, the seventh output of the decoder is connected to the third input of the element OR NOT, the eighth output of the decoder is connected to the third input of the second element EXCLUSIVE AND WHERE, the ninth output of the decoder is connected to the third input of the first element TRAINING OR, the tenth output of the encoder is connected to the fourth input of the IPI-NE element, the eleventh output of the decoder is connected to the fourth input of the second element EXCLUSIVE OR, the twelfth output of the decoder is connected to the fourth input of the second element and the twelfth output of the decoder to the fourth input of the second input is connected to the fourth input of the second element EXCLUSIVE OR; OR, the thirteenth output of the decoder is connected to the fifth input of the element OR NOT, the fourteenth output of the decoder is connected to the fifth input of the second element EXCLUSIVE W) the fifteenth output of the decoder oedinen to a fifth input of the first OR element ISKLOCHANSCHEE sixteen decoder output is connected to a sixth input of the NOR straight 1K output of the second flip-flop is connected to a sixth input of the first exclusive OR output of the first straight element. The 1K flip-flop is connected to the sixth input of the second element EXCLUSIVE OR the output of the OR element is NOT connected to the C K inputs of the first and second IK triggers, the first, second, third, and quarter inputs of the decoder are the inputs of the adder.

Claims (1)

Формула изобретенияClaim Сумматор по модулю три содержа- 55 щий первый и второй элементы ИСКЛЮЧАЮЩЕЕ ИЛИ и первый и второй 1К-триггеры, причем 1-входа первого и вто го элементов ИСКЛЮЧАЮЩЕЕ ИЛИ, С- и К-входы первого и второго 1К-триггеров соединены между собой, прямые выхода первого и второго триггеров являются выходами результата сумматора, отличающийся тем, что, с целью расширения, функциональных возможностей за счет формирования вычетов по модулю три для четырехразрядных входных комбинаций, в сумматор введены элемент ИЛИ-НЕ и дешифратор, причем первый выход дешифратора соединен с первым входом элемента ИЛИ-HE, второй выход дешифратора соединен с первым входом второго элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, третий выход дешифратора соединен с первым входом первого элемента ИС sThe modulo three adder contains 55 the first and second EXCLUSIVE OR elements and the first and second 1K triggers, with the 1 inputs of the first and second EXCLUSIVE OR elements, the C and K inputs of the first and second 1K triggers connected to each other, the direct outputs of the first and second triggers are the outputs of the adder result, characterized in that, in order to expand the functionality due to the formation of residues modulo three for four-digit input combinations, an OR-NOT element and a decoder are introduced into the adder, the first output being a decoder torus is coupled to a first input of OR-HE, the second output of the decoder is connected to a first input of the second exclusive OR element, the third output of the decoder is connected to a first input of a first IC element s КЛЮЧАЮЩЕЕ ИЛИ, четвертый выход дешифратора соединен со вторым входом элемента ИЛИ-HE, пятый выход дешифратора соединен со вторым входом второго элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, шестой выход дешифратора соединен со вторым входом первого элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, седьмой выход дешифратора соединен с третьим входом элемента ИЛИ-HE, восьмой выход дешифратора соединен с третьим входом второго элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, девятый выход дешифратора соединен с третьим входом первого элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, десятый выход дешифратора соединен с четвертым входом элемента ИЛИ-HE, одиннадцатый выход дешифратора соединен с четвертым входом второго элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, двенадцатый выход дешифратора соединен с четвертым входом первого элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, тринадцатый выход дешифратора соединен с пятым входом элемента ИЛИ-HE, четырнадцатый выход 5 дешифратора соединен с пятым входом второго элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, пятнадцатый выход дешифратора соединен с пятым входом первого элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, шестнадцатый выход дешифратора соединен с шестым входом элемента ИЛИ-HE, прямой выход второго IK-триггера соединен с шестым входом первого элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, прямой выход первого 15 IK-триггера соединен с шестым входом второго элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, выход элемента ИЛИ-HE соединен с Си К-входами первого и второго ΙΚтриггеров, первый, второй, третий, 20 четвертый входы дешифратора являются входами сумматора.KEY OR, the fourth output of the decoder is connected to the second input of the element OR-HE, the fifth output of the decoder is connected to the second input of the second element EXCLUSIVE OR, the sixth output of the decoder is connected to the second input of the first element EXCLUSIVE OR, the seventh output of the decoder is connected to the third OR , the eighth output of the decoder is connected to the third input of the second EXCLUSIVE OR element, the ninth output of the decoder is connected to the third input of the first element EXCLUSIVE OR, the tenth output of the decoder is connected from the fourth m the input of the OR-HE element, the eleventh decoder output is connected to the fourth input of the second EXCLUSIVE OR element, the twelfth decoder output is connected to the fourth input of the first EXCLUSIVE OR element, the thirteenth decoder output is connected to the fifth input of the OR-HE element, the fourteenth output of the 5th decoder is connected the input of the second element EXCLUSIVE OR, the fifteenth output of the decoder is connected to the fifth input of the first element EXCLUSIVE OR, the sixteenth output of the decoder is connected to the sixth input of the OR-HE element, direct the output of the second IK trigger is connected to the sixth input of the first EXCLUSIVE OR element, the direct output of the first 15 IK trigger is connected to the sixth input of the second EXCLUSIVE OR element, the output of the OR-HE element is connected to the C K inputs of the first and second triggers, the first, second, the third, 20 fourth inputs of the decoder are the inputs of the adder. фи&ЛPhil
SU853857590A 1985-02-19 1985-02-19 Modulo 3 adder SU1264163A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU853857590A SU1264163A1 (en) 1985-02-19 1985-02-19 Modulo 3 adder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU853857590A SU1264163A1 (en) 1985-02-19 1985-02-19 Modulo 3 adder

Publications (1)

Publication Number Publication Date
SU1264163A1 true SU1264163A1 (en) 1986-10-15

Family

ID=21163552

Family Applications (1)

Application Number Title Priority Date Filing Date
SU853857590A SU1264163A1 (en) 1985-02-19 1985-02-19 Modulo 3 adder

Country Status (1)

Country Link
SU (1) SU1264163A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 890393, кл. G 06 F 7/72, 1981. Авторское свидетельство СССР № 1153324, кл. G 06 F 7/49, 1983. *

Similar Documents

Publication Publication Date Title
US4488142A (en) Apparatus for encoding unconstrained data onto a (1,7) format with rate 2/3
CA1270534C (en) Barrel shifter
US4907171A (en) Image size converter
US4691319A (en) Method and system for detecting a predetermined number of unidirectional errors
US5129066A (en) Bit mask generator circuit using multiple logic units for generating a bit mask sequence
SU1264163A1 (en) Modulo 3 adder
US4331893A (en) Boolean logic processor without accumulator output feedback
JPS57197961A (en) Conversion system for image data
US4009374A (en) Pseudo-random bidirectional counter
SU1233172A1 (en) Number-to-probability converter
GB1151725A (en) Register controlling sytem.
US5239499A (en) Logical circuit that performs multiple logical operations in each stage processing unit
ES318469A1 (en) Binary to multilevel conversion by combining redundant information signal with transition encoded information signal
SU1644134A1 (en) Counter-type adder
SU903865A1 (en) Controllable arithmetic module
RU1791818C (en) Device for control of modulo three residual code
SU1559413A1 (en) Combination converter of code forms
SU1221657A2 (en) Information input device
SU894714A1 (en) Microprocessor module
SU1691835A1 (en) Serial adder
Mitchell et al. Sequential Logic
SU819796A1 (en) Linear interpolator
SU1709269A1 (en) Digital linear interpolator
SU1476470A1 (en) Modulo 3 convolution circuit
SU1228234A1 (en) Generator of morse-coded signals