RU2762548C1 - Adder-multiplier modulo three - Google Patents
Adder-multiplier modulo three Download PDFInfo
- Publication number
- RU2762548C1 RU2762548C1 RU2020131911A RU2020131911A RU2762548C1 RU 2762548 C1 RU2762548 C1 RU 2762548C1 RU 2020131911 A RU2020131911 A RU 2020131911A RU 2020131911 A RU2020131911 A RU 2020131911A RU 2762548 C1 RU2762548 C1 RU 2762548C1
- Authority
- RU
- Russia
- Prior art keywords
- input
- inputs
- output
- elements
- exclusive
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/60—Methods or arrangements for performing computations using a digital non-denominational number representation, i.e. number representation without radix; Computing devices using combinations of denominational and non-denominational quantity representations, e.g. using difunction pulse trains, STEELE computers, phase computers
- G06F7/72—Methods or arrangements for performing computations using a digital non-denominational number representation, i.e. number representation without radix; Computing devices using combinations of denominational and non-denominational quantity representations, e.g. using difunction pulse trains, STEELE computers, phase computers using residue arithmetic
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- General Engineering & Computer Science (AREA)
- Error Detection And Correction (AREA)
Abstract
Description
Изобретение относится к вычислительной технике и может быть использовано для построения средств автоматики, функциональных узлов систем управления и др.The invention relates to computer technology and can be used to build automation tools, functional units of control systems, etc.
Известны сумматоры-умножители по модулю три (см., например, авт. св. СССР 1441395, кл. G06F 7/72, 1988 г.), которые реализуют операцию (A+B) mod 3 либо операцию (А×B) mod 3, где А, В ∈ {00,01,10} есть двухразрядные двоичные числа, задаваемые двоичными сигналами.Known adder-multipliers modulo three (see, for example, ed. Of St. USSR 1441395, class G06F 7/72, 1988), which implement the operation (A +
К причине, препятствующей достижению указанного ниже технического результата при использовании известных сумматоров-умножителей по модулю три, относится схемная сложность, обусловленная тем, что цена по Квайну схемы, в частности, упомянутого аналога равна 57 и он имеет два настроечных входа.The reason that prevents the achievement of the technical result indicated below when using the known adder-multipliers modulo three is the circuit complexity due to the fact that the Quine price of the circuit, in particular, the mentioned analogue is 57 and it has two tuning inputs.
Наиболее близким устройством того же назначения к заявленному изобретению по совокупности признаков является принятый за прототип сумматор-умножитель по модулю три (авт. св. СССР 1667054, кл. G06F 7/72, 1991 г.), который содержит логические элементы и реализует операцию (A+B) mod 3 либо операцию (А×B) mod 3, где А, В ∈ {00,01,10} есть двухразрядные двоичные числа, задаваемые двоичными сигналами.The closest device for the same purpose to the claimed invention in terms of a set of features is the adder-multiplier adopted for the prototype modulo three (ed. Of St. USSR 1667054, class G06F 7/72, 1991), which contains logic elements and implements the operation ( A +
К причине, препятствующей достижению указанного ниже технического результата при использовании прототипа, относится схемная сложность, обусловленная тем, что цена по Квайну схемы прототипа равна 34 и он имеет два настроечных входа.The reason that prevents the achievement of the technical result indicated below when using the prototype is the circuit complexity due to the fact that the Quine price of the prototype circuit is 34 and it has two tuning inputs.
Техническим результатом изобретения является упрощение схемы сумматора-умножителя по модулю три за счет уменьшения ее цены по Квайну и сокращения количества настроечных входов при сохранении функциональных возможностей прототипа.The technical result of the invention is to simplify the circuit of the adder-multiplier modulo three by reducing its price according to Quine and reducing the number of tuning inputs while maintaining the functionality of the prototype.
Указанный технический результат при осуществлении изобретения достигается тем, что в сумматоре-умножителе по модулю три, содержащем три элемента И, шесть элементов ИЛИ и четыре элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, первый, второй входы третьего элемента И соединены соответственно с выходами третьего, четвертого элементов ИЛИ, особенность заключается в том, что в него введен седьмой элемент ИЛИ, j-й () вход третьего и первый вход четвертого элементов ИЛИ соединены соответственно с третьим входом j-го элемента ИЛИ, вторым входом j-го элемента ИСКЛЮЧАЮЩЕЕ ИЛИ и вторым входом первого элемента ИЛИ, второй вход четвертого и первый, второй входы (j+5)-го элементов ИЛИ соединены соответственно с первым входом j-го элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, вторым входом второго элемента ИЛИ и выходом j-го элемента И, выходом (j+2)-го элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, второй, третий входы j-го элемента И и первый, второй входы (j+2)-го элемента ИСКЛЮЧАЮЩЕЕ ИЛИ соединены соответственно с выходом j-го элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, выходом третьего элемента И и выходами j-го, пятого элементов ИЛИ, а второй вход пятого, первый, второй входы (j+2)-го и выход (j+5)-го элементов ИЛИ соединены соответственно с выходом третьего элемента И, (2×j-1)-ым, (2×j)-ым входами и j-ым выходом сумматора-умножителя по модулю три, настроечный вход которого соединен с первым входом пятого элемента ИЛИ и первыми входами j-ых элементов ИЛИ, И.The specified technical result in the implementation of the invention is achieved by the fact that in the adder-multiplier modulo three, containing three AND elements, six OR elements and four EXCLUSIVE OR elements, the first, second inputs of the third AND element are connected, respectively, to the outputs of the third, fourth OR elements, a feature lies in the fact that the seventh OR element, the j-th ( ) the input of the third and the first input of the fourth OR elements are connected respectively to the third input of the j-th element OR, the second input of the j-th element EXCLUSIVE OR and the second input of the first OR element, the second input of the fourth and first, the second inputs of the (j + 5) -th OR elements are connected, respectively, to the first input of the j-th element EXCLUSIVE OR, the second input of the second OR element and the output of the j-th element AND, the output of the (j + 2) -th EXCLUSIVE OR element, the second, third inputs of the j-th element AND and the first , the second inputs of the (j + 2) -th EXCLUSIVE OR element are connected, respectively, with the output of the j-th EXCLUSIVE OR element, the output of the third AND element and the outputs of the j-th, fifth OR elements, and the second input of the fifth, first, second inputs (j + 2) -th and the output of the (j + 5) -th OR elements are connected, respectively, with the output of the third AND element, (2 × j-1) -th, (2 × j) -th inputs and the j-th output of the adder-multiplier by module three, the tuning input of which is connected to the first input of the fifth OR element and the first inputs of the j-th elements OR, AND ...
На чертеже представлена схема предлагаемого сумматора-умножителя по модулю три.The drawing shows a diagram of the proposed adder-multiplier modulo three.
Сумматор-умножитель по модулю три содержит элементы ИЛИ 11, …, 17, элементы ИСКЛЮЧАЮЩЕЕ ИЛИ 21, …, 24 и элементы И 31, 32, 33, причем j-й () вход элемента 13 и первый вход элемента 14 соединены соответственно с третьим входом элемента 1j, вторым входом элемента 2j и вторым входом элемента 11 второй вход элемента 14 и первый, второй входы элемента 1j+5 соединены соответственно с первым входом элемента 2j, вторым входом элемента 12 и выходами элементов 3j, 2j+2, второй, третий входы элемента 3j, первый, второй входы элемента 33 и первый, второй входы элемента 2j+2 соединены соответственно с выходами элементов 2j, 33, 13, 14 и 1j, 15, а второй вход элемента 15, первый, второй входы элемента 1j+2 и выход элемента 1j+5 соединены соответственно с выходом элемента 33, (2×j-1)-ым, (2×j)-ым входами и j-ым выходом сумматора-умножителя по модулю три, настроечный вход которого соединен с первыми входами элементов 1j, 15, 3j.The adder-multiplier modulo three contains elements OR 1 1 , ..., 1 7 , elements EXCLUSIVE OR 2 1 , ..., 2 4 and elements AND 3 1 , 3 2 , 3 3 , and the j-th ( ) the input of
Работа предлагаемого сумматора-умножителя по модулю три осуществляется следующим образом. На его настроечном входе фиксируется сигнал z ∈ {0,1}, который определяет вид реализуемой операции. На его третий, четвертый и первый, второй входы подаются соответственно двоичные сигналы а0,a1 ∈{0,1} и b0,b1 ∈ {0,1}, которые задают подлежащие обработке двухразрядные двоичные числа A=a1a0, B=b1b0, причем а1,b1 и a0,b0 определяют значения старших и младших разрядов соответственно, А, В ∈ {00,01,10}. В представленной ниже таблице приведены значения выходных сигналов y0,y1 предлагаемого сумматора-умножителя, полученные с учетом работы элементов 11, …, 17, 21, …, 24, 31, 32, 33 для всех возможных наборов значений сигналов z, а0, a1, b0, b1.The work of the proposed adder-multiplier modulo three is carried out as follows. At its tuning input, a signal z ∈ {0,1} is fixed, which determines the type of the operation being performed. Its third, fourth and first, second inputs are fed, respectively, binary signals a 0 , a 1 ∈ {0,1} and b 0 , b 1 ∈ {0,1}, which specify the two-bit binary numbers to be processed A = a 1 a 0 , B = b 1 b 0 , and a 1 , b 1 and a 0 , b 0 determine the values of the most significant and least significant digits, respectively, A, B ∈ {00,01,10}. The table below shows the values of the output signals y 0 , y 1 of the proposed adder-multiplier, obtained taking into account the operation of
Если z = 0 либо z=1, то согласно представленной таблицы имеем Y=(А+В) mod 3 либо Y=(А×В) mod 3, где Y=у1у0 - двухразрядное двоичное число, задаваемое двоичными сигналами y0, y1 ∈ {0,1} {у1 и у0 определяют значения старшего и младшего разрядов соответственно).If z = 0 or z = 1, then according to the presented table we have Y = (A +
Вышеизложенные сведения позволяют сделать вывод, что предлагаемый сумматор-умножитель по модулю три реализует операцию (А+B) mod 3 либо операцию (A×B) mod 3, где А, В ∈ {00,01,10} есть двухразрядные двоичные числа, задаваемые двоичными сигналами. При этом схема предлагаемого сумматора-умножителя проще, чем у прототипа, поскольку ее цена по Квайну равна 32 и предлагаемый сумматор-умножитель имеет один настроечный вход.The above information allows us to conclude that the proposed adder-multiplier modulo three implements the operation (A +
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| RU2020131911A RU2762548C1 (en) | 2020-09-25 | 2020-09-25 | Adder-multiplier modulo three |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| RU2020131911A RU2762548C1 (en) | 2020-09-25 | 2020-09-25 | Adder-multiplier modulo three |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| RU2762548C1 true RU2762548C1 (en) | 2021-12-21 |
Family
ID=80039248
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| RU2020131911A RU2762548C1 (en) | 2020-09-25 | 2020-09-25 | Adder-multiplier modulo three |
Country Status (1)
| Country | Link |
|---|---|
| RU (1) | RU2762548C1 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| SU1441395A1 (en) * | 1987-06-19 | 1988-11-30 | Харьковское Высшее Военное Командно-Инженерное Училище Ракетных Войск Им.Маршала Советского Союза Крылова Н.И. | Modulo three adder-multiplier |
| SU1667054A1 (en) * | 1989-08-07 | 1991-07-30 | Научно-производственное объединение "Марс" | Modulo three adder-multiplier |
-
2020
- 2020-09-25 RU RU2020131911A patent/RU2762548C1/en active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| SU1441395A1 (en) * | 1987-06-19 | 1988-11-30 | Харьковское Высшее Военное Командно-Инженерное Училище Ракетных Войск Им.Маршала Советского Союза Крылова Н.И. | Modulo three adder-multiplier |
| SU1667054A1 (en) * | 1989-08-07 | 1991-07-30 | Научно-производственное объединение "Марс" | Modulo three adder-multiplier |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| RU2700554C1 (en) | Majority module | |
| RU2249844C2 (en) | Logic module | |
| RU2762548C1 (en) | Adder-multiplier modulo three | |
| RU2704735C1 (en) | Threshold module | |
| RU2713862C1 (en) | MULTIPLIER MODULO q | |
| RU2703675C1 (en) | Logic converter | |
| RU2708793C1 (en) | Modulo three adder | |
| RU2757831C1 (en) | Arithmetic unit modulo three | |
| RU2762544C1 (en) | Multiplier by module five | |
| RU2718209C1 (en) | Logic module | |
| RU2702970C1 (en) | ADDER MODULO q | |
| RU2710872C1 (en) | Parallel single signal counter | |
| RU2764707C1 (en) | Modulo seven arithmetic unit | |
| RU2703676C1 (en) | Modulo three adder | |
| RU2778676C1 (en) | Arithmetic unit modulo three | |
| RU2758184C1 (en) | Binary adder | |
| RU2761103C1 (en) | Parallel unit counter | |
| RU2757821C1 (en) | Threshold module | |
| RU2747107C1 (en) | Majority module | |
| RU2801792C1 (en) | Majority module | |
| RU2710877C1 (en) | Majority module | |
| RU2778675C1 (en) | Adder modulo three | |
| RU2242044C1 (en) | Majority module | |
| RU2770801C1 (en) | Multiplier modulo three | |
| RU2776922C1 (en) | Majority module |