RU2012038C1 - Modulo-five adder - Google Patents
Modulo-five adder Download PDFInfo
- Publication number
- RU2012038C1 RU2012038C1 SU5045670A RU2012038C1 RU 2012038 C1 RU2012038 C1 RU 2012038C1 SU 5045670 A SU5045670 A SU 5045670A RU 2012038 C1 RU2012038 C1 RU 2012038C1
- Authority
- RU
- Russia
- Prior art keywords
- input
- inputs
- elements
- module
- term
- Prior art date
Links
Images
Landscapes
- Error Detection And Correction (AREA)
Abstract
Description
Изобретение относится к вычислительной технике и автоматике и может быть использовано для построения систем передачи и переработки дискретной информации. The invention relates to computer technology and automation and can be used to build systems for the transmission and processing of discrete information.
Известен сумматор по модулю пять, содержащий пятнадцать элементов И, восемь элементом ИЛИ, один элемент И-НЕ, три элемента ИЛИ-НЕ, один элемент ЗАПРЕТ, шесть входов и три выхода [1] . A modulo five adder is known, containing fifteen AND elements, eight OR elements, one NAND element, three OR NOT elements, one BAN element, six inputs and three outputs [1].
Недостатком сумматора по модулю пять является низкое быстродействие, определяемое глубиной схемы и равное 5 τ , где τ - задержка на вентиль. The disadvantage of an adder modulo five is the low speed, determined by the depth of the circuit and equal to 5 τ, where τ is the delay to the valve.
Наиболее близким по конструкции и функциональным возможностям к предлагаемому является сумматор по модулю пять, содержащий восемь элементов И, шесть элементов ИЛИ, три элемента СЛОЖЕНИЕ ПО МОДУЛЮ ДВА, три элемента ЗАПРЕТ, шесть входов и три выхода [2] . The closest in design and functionality to the proposed one is an adder modulo five, containing eight AND elements, six OR elements, three elements MODULE TWO, three BAN elements, six inputs and three outputs [2].
Недостатком известного сумматора по модулю пять является низкое быстродействие, которое равно 5 τ . The disadvantage of the known adder modulo five is the low speed, which is equal to 5 τ.
Сумматор по модулю пять содержит три элемента ЗАПРЕТА, пять элементов И, элемент ИЛИ, мажоритарный элемент с порогом три и три элемента СЛОЖЕНИЕ ПО МОДУЛЮ ДВА. Вход первого разряда первого слагаемого соединен с первым входом первого элемента И, первым входом первого элемента СЛОЖЕНИЕ ПО МОДУЛЮ ДВА, первыми входами запрета первого и второго элементов ЗАПРЕТ, первыми входами третьего и четвертого элементов И и первым входом мажоритарного элемента. Вход первого разряда второго слагаемого соединен с вторым входом первого элемента И, вторым входом первого элемента СЛОЖЕНИЕ ПО МОДУЛЮ ДВА, вторым входом запрета первого элемента ЗАПРЕТ, первым входом запрета третьего элемента ЗАПРЕТ, первым входом пятого элемента И и вторыми входами четвертого элемента И и мажоритарного элемента. Вход второго разряда первого слагаемого соединен с первым входом второго элемента И, первым входом второго элемента СЛОЖЕНИЕ ПО МОДУЛЮ ДВА, первым прямым входом первого элемента ЗАПРЕТ, вторым входом запрета второго элемента ЗАПРЕТ и третьими входами четвертого элемента И и мажоритарного элемента. Вход второго разряда второго слагаемого соединен с вторым входом второго элемента И, вторым входом второго элемента СЛОЖЕНИЕ ПО МОДУЛЮ ДВА, вторым прямым входом первого элемента ЗАПРЕТ, вторым входом запрета третьего элемента ЗАПРЕТ и с четвертыми входами четвертого элемента И и мажоритарного элемента. Вход третьего разряда первого слагаемого соединен с первым прямым входом третьего элемента ЗАПРЕТ, вторым входом пятого элемента И и первым входом элемента ИЛИ. Вход третьего разряда второго слагаемого соединен с первым прямым входом второго элемента ЗАПРЕТ, вторым входом третьего элемента И и вторым входом элемента ИЛИ. Выход элемента ИЛИ соединен с третьими входами первого и второго элементов СЛОЖЕНИЕ ПО МОДУЛЮ ДВА. Выходы первого, второго и третьего элементов ЗАПРЕТ соединены соответственно с четвертым, пятым и шестым входами первого элемента СЛОЖЕНИЕ ПО МОДУЛЮ ДВА, седьмой вход которого соединен с выходом второго элемента И и первым входом третьего элемента СЛОЖЕНИЕ ПО МОДУЛЮ ДВА. Второй и третий входы третьего элемента СЛОЖЕНИЕ ПО МОДУЛЮ ДВА соединены соответственно с выходами второго и третьего элементов ЗАПРЕТ, а четвертый вход соединен с выходом мажоритарного элемента. Четвертый и пятый входы второго элемента СЛОЖЕНИЕ ПО МОДУЛЮ ДВА соединены соответственно с выходами второго и третьего элементов ЗАПРЕТ, а шестой, седьмой, восьмой и девятый входы соединены соответственно с выходами первого, третьего, четвертого и пятого элементов И. Выходы первого, второго и третьего элементов СЛОЖЕНИЕ ПО МОДУЛЮ ДВА соединены соответственно с первым, вторым и третьим разрядными выходами сумматора. A modulo five adder contains three FORBID elements, five AND elements, an OR element, a majority element with a threshold of three, and three elements MODULE TWO. The input of the first category of the first term is connected to the first input of the first AND element, the first input of the first element ADDING ON MODULE TWO, the first inputs of the ban of the first and second elements BAN, the first inputs of the third and fourth elements AND and the first input of the majority element. The input of the first category of the second term is connected to the second input of the first AND element, the second input of the first element MODULE TWO, the second input of the first ban element, the first input, the third ban input, the first input of the fifth AND element, and the second inputs of the fourth element And, and the majority element . The input of the second category of the first term is connected to the first input of the second AND element, the first input of the second element MODULE TWO, the first direct input of the first BAN element, the second input of the second BAN element and the third inputs of the fourth AND element and the majority element. The second category input of the second term is connected to the second input of the second AND element, the second input of the second element MODULE TWO, the second direct input of the first BAN element, the second input of the third BAN element, and the fourth inputs of the fourth AND element and the majority element. The input of the third category of the first term is connected to the first direct input of the third element BAN, the second input of the fifth element AND and the first input of the OR element. The input of the third category of the second term is connected to the first direct input of the second element BAN, the second input of the third element AND and the second input of the OR element. The output of the OR element is connected to the third inputs of the first and second elements ADDING ON MODULE TWO. The outputs of the first, second, and third elements are PROHIBITED connected respectively to the fourth, fifth, and sixth inputs of the first element MODULATION TWO, the seventh input of which is connected to the output of the second AND element and the first input of the third element MODULATION TWO. The second and third inputs of the third element MODULE ADDING TWO are connected respectively to the outputs of the second and third elements FORBID, and the fourth input is connected to the output of the majority element. The fourth and fifth inputs of the second element MODULE ADDING TWO are connected respectively to the outputs of the second and third BAN elements, and the sixth, seventh, eighth and ninth inputs are connected respectively to the outputs of the first, third, fourth and fifth elements I. The outputs of the first, second and third elements MODULE ADDING TWO are connected respectively to the first, second and third discharge outputs of the adder.
На чертеже представлена схема сумматора по модулю пять. The drawing shows a diagram of the adder modulo five.
Сумматор по модулю пять содержит три элемента ЗАПРЕТ 1,2 и 3, пять элементов И 4. . . 8, элемент ИЛИ 9, мажоритарный элемент 10 с порогом три, три элемента СЛОЖЕНИЕ ПО МОДУЛЮ ДВА 11, 12 и 13, шесть входов 14. . . 19 и три выхода 20, 21 и 22. The modulo five adder contains three elements of the FORBIDDEN 1,2 and 3, five elements AND 4.. . 8, OR element 9,
Сумматор работает следующим образом. The adder operates as follows.
Суммируемые операнды X и Y задаются трехразрядными двоичными кодами X = x3x2x1, У = y3y2y1, где x1 и y1 - первые (младшие) разряды операндов; x2, y2 - вторые (средние) разряды операндов; x3, y3 - третьи (старшие) разряды операндов, т. е. X = x1 + +2x2 + 4x3 и Y = y1 +2y2 + 4y3.The summed operands X and Y are specified by three-digit binary codes X = x 3 x 2 x 1 , Y = y 3 y 2 y 1 , where x 1 and y 1 are the first (lower) bits of the operands; x 2 , y 2 - second (middle) bits of the operands; x 3 , y 3 are the third (highest) bits of the operands, i.e., X = x 1 + + 2x 2 + 4x 3 and Y = y 1 + 2y 2 + 4y 3 .
В соответствии с выбранным модулем Р = 5 каждый операнд может принимать значения 0(000), 1(001), 2(010), 3(011) и 4(100). Результатом работы сумматора по модулю пять является операнд Z, заданный трехразрядным двоичным кодом Z = z3z2z1, где Z= z1 + 2z2 + 4z3.
На входы 14,15 подаются значения младших разрядов x1, y1 операндов X и Y соответственно на входы 16,17 - значения средних разрядов x2, y2операндов X и Y соответственно на входы 18, 19 - значения старших разрядов x3, y3 операндов X и Y соответственно на выходе 20 реализуется младший разряд z1, на выходе 21 - средний разряд z2, а на выходе 22 - старший разряд z3 операнда Z, где Z = X + Y (mod5).In accordance with the selected module P = 5, each operand can take values 0 (000), 1 (001), 2 (010), 3 (011) and 4 (100). The result of the modulo five adder operation is the operand Z specified by the three-digit binary code Z = z 3 z 2 z 1 , where Z = z 1 + 2z 2 + 4z 3.
The inputs 14.15 are supplied with the values of the least significant bits x 1 , y 1 of the operands X and Y, respectively, at the inputs 16.17 - the values of the average bits x 2 , y 2 of the operands X and Y, respectively, at the
Логические функции z1, z2 и z3 реализуются сумматором согласно следующим аналогическим выражениям:
z1= x1 ⊕ y1 ⊕ xy2 ⊕ y3 ⊕ x ⊕ x2y2 ⊕ (x3∨y3);
z2= (x3∨y3) ⊕ x2 ⊕ y2 ⊕ x3y1 ⊕ y3 ⊕ x1y3 ⊕ x ⊕
⊕ x1y1 ⊕ x1x2y1y2;
z3= x2y2 ⊕ x ⊕ y3 ⊕ M
z 1 = x 1 ⊕ y 1 ⊕ x y 2 ⊕ y 3 ⊕ x ⊕ x 2 y 2 ⊕ (x 3 ∨y 3 );
z 2 = (x 3 ∨y 3 ) ⊕ x 2 ⊕ y 2 ⊕ x 3 y 1 ⊕ y 3 ⊕ x 1 y 3 ⊕ x ⊕
⊕ x 1 y 1 ⊕ x 1 x 2 y 1 y 2 ;
z 3 = x 2 y 2 ⊕ x ⊕ y 3 ⊕ M
Достоинством сумматора по модулю пять является высокое быстродействие. Так, его быстродействие, определяемое глубиной схемы, равно 2τ , в то время как быстродействие устройства-прототипа равно 5τ . Сложность сумматора по числу входов логических элементов не намного превосходит сложность устройства-прототипа и равна 48, тогда как сложность устройства-прототипа равна 42. The advantage of an adder modulo five is its high speed. So, its speed, determined by the depth of the circuit, is 2τ, while the speed of the prototype device is 5τ. The complexity of the adder in terms of the number of inputs of the logic elements does not significantly exceed the complexity of the prototype device and is equal to 48, while the complexity of the prototype device is 42.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU5045670 RU2012038C1 (en) | 1992-03-27 | 1992-03-27 | Modulo-five adder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU5045670 RU2012038C1 (en) | 1992-03-27 | 1992-03-27 | Modulo-five adder |
Publications (1)
Publication Number | Publication Date |
---|---|
RU2012038C1 true RU2012038C1 (en) | 1994-04-30 |
Family
ID=21605962
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU5045670 RU2012038C1 (en) | 1992-03-27 | 1992-03-27 | Modulo-five adder |
Country Status (1)
Country | Link |
---|---|
RU (1) | RU2012038C1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EA030205B1 (en) * | 2016-11-10 | 2018-07-31 | Белорусский Государственный Университет (Бгу) | Modulo four adder |
-
1992
- 1992-03-27 RU SU5045670 patent/RU2012038C1/en active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EA030205B1 (en) * | 2016-11-10 | 2018-07-31 | Белорусский Государственный Университет (Бгу) | Modulo four adder |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2012038C1 (en) | Modulo-five adder | |
RU2018931C1 (en) | Modulo 5 adder | |
RU2018927C1 (en) | Modulo 3 adder | |
US5777906A (en) | Left shift overflow detection | |
RU2149442C1 (en) | Device for modulo seven multiplication | |
RU2090924C1 (en) | Modulo-three computer | |
RU2047216C1 (en) | Multiple-input single-bit adder | |
SU1803911A1 (en) | Modulo-five adder | |
RU2143722C1 (en) | Device for multiplication by modulo 7 | |
EP0249040B1 (en) | Booth's conversion circuit | |
RU2181904C1 (en) | Modulo five multiplier | |
RU1807478C (en) | Modulo five adder | |
RU1797111C (en) | Device for counting number of units | |
US5493525A (en) | Carry-chain compiler | |
RU2047893C1 (en) | Device for calculation of symmetrical boolean functions | |
RU2018926C1 (en) | Modulo n adder | |
RU2021630C1 (en) | Modulo 3 adder | |
RU2790638C1 (en) | Multibit modular adder | |
SU1105887A1 (en) | Single-digit combinative adder | |
SU1575172A1 (en) | Four-channel one-digit adder | |
SU1683014A1 (en) | Device for modulo three exponentiation of numbers | |
RU1830528C (en) | Modulo-three adder | |
RU2047892C1 (en) | Device for calculation of symmetrical boolean functions | |
SU1160400A1 (en) | One-digit quaternary adder | |
RU2018924C1 (en) | Modulo 7 adder |