[go: up one dir, main page]

RU2762548C1 - Adder-multiplier modulo three - Google Patents

Adder-multiplier modulo three Download PDF

Info

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

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/60Methods 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/72Methods 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

FIELD: computing technology.
SUBSTANCE: invention relates to an adder-multiplier modulo three. The device contains three AND gates, six OR gates and four exclusive OR gates, and the first and second inputs of the third AND gates are connected, respectively, to the outputs of the third, fourth OR gates, characterized in that the seventh OR gates are inserted into it, the j-th (
Figure 00000008
) input the third and first inputs 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 the first, the second inputs of the (j + 5)- th elements OR are connected, respectively, with 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 an exclusive OR element, the second, third inputs of the j-th element AND and the first, second inputs of the (j+2)-th element exclusive OR are connected, respectively, with the output of the j-th element exclusive OR, 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 of the (j+2)- th and output of the (j+5)-th elements OR are connected, respectively, with the output of the third element AND, (2×j-1)-th, (2×j)-th inputs and j-th output of the adder-multiplier modulo 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 OR, AND elements.
EFFECT: simplifying the device construction.
1 cl, 1 dwg,1 tbl

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 + B) mod 3 or the operation (A × B) mod 3, where A, B ∈ {00,01,10} are two-bit binary numbers specified by binary signals.

К причине, препятствующей достижению указанного ниже технического результата при использовании известных сумматоров-умножителей по модулю три, относится схемная сложность, обусловленная тем, что цена по Квайну схемы, в частности, упомянутого аналога равна 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 + B) mod 3 or the operation (A × B) mod 3, where A, B ∈ {00,01,10} are two-bit binary numbers specified by binary signals.

К причине, препятствующей достижению указанного ниже технического результата при использовании прототипа, относится схемная сложность, обусловленная тем, что цена по Квайну схемы прототипа равна 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-й (

Figure 00000001
) вход третьего и первый вход четвертого элементов ИЛИ соединены соответственно с третьим входом 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 (
Figure 00000001
) 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-й (

Figure 00000002
) вход элемента 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 (
Figure 00000002
) the input of element 1 3 and the first input of element 1 4 are connected respectively to the third input of element 1 j , the second input of element 2 j and the second input of element 1 1 the second input of element 1 4 and the first, second inputs of element 1 j + 5 are connected respectively to the first the input of the element 2 j , the second input of the element 1 2 and the outputs of the elements 3 j , 2 j + 2 , the second, third inputs of the element 3 j , the first, second inputs of the element 3 3 and the first, second inputs of the element 2 j + 2 are connected respectively to the outputs elements 2 j , 3 3 , 1 3 , 1 4 and 1 j , 1 5 , and the second input of element 1 5 , the first, second inputs of element 1 j + 2 and the output of element 1 j + 5 , respectively, are connected to the output of element 3 3 , (2 × j-1) -th, (2 × j) -th inputs and j-th output of the adder-multiplier modulo three, the tuning input of which is connected to the first inputs of elements 1 j , 1 5 , 3 j .

Работа предлагаемого сумматора-умножителя по модулю три осуществляется следующим образом. На его настроечном входе фиксируется сигнал 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 elements 1 1 , ..., 1 7 , 2 1 , ..., 2 4 , 3 1 , 3 2 , 3 3 for all possible sets of signal values z, a 0 , a 1 , b 0 , b 1 .

Figure 00000003
Figure 00000003

Если 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 or Y = (A × B) mod 3, where Y = y 1 y 0 is a two-digit binary number specified by binary signals y 0 , y 1 ∈ {0,1} {y 1 and y 0 determine the values of the most significant and least significant digits, respectively).

Вышеизложенные сведения позволяют сделать вывод, что предлагаемый сумматор-умножитель по модулю три реализует операцию (А+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 + B) mod 3 or the operation (A × B) mod 3, where A, B ∈ {00,01,10} are two-bit binary numbers, given by binary signals. In this case, the circuit of the proposed adder-multiplier is simpler than that of the prototype, since its price according to Quine is 32 and the proposed adder-multiplier has one tuning input.

Claims (1)

Сумматор-умножитель по модулю три, содержащий три элемента И, шесть элементов ИЛИ и четыре элемента исключающее ИЛИ, причем первый, второй входы третьего элемента И соединены соответственно с выходами третьего, четвертого элементов ИЛИ, отличающийся тем, что в него введен седьмой элемент ИЛИ, j-й (
Figure 00000004
) вход третьего и первый вход четвертого элементов ИЛИ соединены соответственно с третьим входом j-го элемента ИЛИ, вторым входом j-го элемента исключающее ИЛИ и вторым входом первого элемента ИЛИ, второй вход четвертого и первый, второй входы (j+5)-го элементов ИЛИ соединены соответственно с первым входом j-го элемента исключающее ИЛИ, вторым входом второго элемента ИЛИ и выходом j-го элемента И, выходом (j+2)-го элемента исключающее ИЛИ, второй, третий входы j-го элемента И и первый, второй входы (j+2)-го элемента исключающее ИЛИ соединены соответственно с выходом j-го элемента исключающее ИЛИ, выходом третьего элемента И и выходами j-го, пятого элементов ИЛИ, а второй вход пятого, первый, второй входы (j+2)-го и выход (j+5)-го элементов ИЛИ соединены соответственно с выходом третьего элемента И, (2×j-1)-м, (2×j)-м входами и j-м выходом сумматора-умножителя по модулю три, настроечный вход которого соединен с первым входом пятого элемента ИЛИ и первыми входами j-х элементов ИЛИ, И.
An adder-multiplier modulo three, containing three AND gates, six OR gates and four exclusive OR gates, and the first and second inputs of the third AND gates are connected, respectively, to the outputs of the third, fourth OR gates, characterized in that the seventh OR gates are inserted into it, j-th (
Figure 00000004
) 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 the first, 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 element exclusive OR, the second, third inputs of the j-th element AND and the first , the second inputs of the (j + 2) th element exclusive OR are connected, respectively, with the output of the j-th element exclusive OR, 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 elements OR are connected, respectively, with the output of the third element AND, (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.
RU2020131911A 2020-09-25 2020-09-25 Adder-multiplier modulo three RU2762548C1 (en)

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)

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

Patent Citations (2)

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