RU2764707C1 - Modulo seven arithmetic unit - Google Patents
Modulo seven arithmetic unit Download PDFInfo
- Publication number
- RU2764707C1 RU2764707C1 RU2021109207A RU2021109207A RU2764707C1 RU 2764707 C1 RU2764707 C1 RU 2764707C1 RU 2021109207 A RU2021109207 A RU 2021109207A RU 2021109207 A RU2021109207 A RU 2021109207A RU 2764707 C1 RU2764707 C1 RU 2764707C1
- Authority
- RU
- Russia
- Prior art keywords
- inputs
- elements
- exclusive
- input
- output
- 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)
- Complex Calculations (AREA)
Abstract
Description
Изобретение относится к вычислительной технике и может быть использовано при построени средств автоматики, функциональных узлов систем управления и др.The invention relates to computer technology and can be used in the construction of automation equipment, functional units of control systems, etc.
Известны арифметические устройства по модулю семь (см., например, авт. св. СССР 1603371, кл. G06F 7/49, 1990 г.), которые могут быть использованы для реализации операции (X+Y) mod 7, где Х,Y∈{000,…,110} есть трехразрядные двоичные числа, задаваемые двоичными сигналами.Known arithmetic units modulo seven (see, for example, ed. St. USSR 1603371, cl. G06F 7/49, 1990), which can be used to implement the operation (X + Y)
К причине, препятствующей достижению указанного ниже технического результата при использовании известных арифметических устройств по модулю семь, относятся ограниченные функциональные возможности, обусловленные тем, что не выполняется реализация операции (X-Y) mod 7.The reason preventing the achievement of the technical result indicated below when using known arithmetic units modulo seven includes limited functionality due to the fact that the implementation of the operation (X-Y)
Наиболее близким устройством того же назначения к заявленному изобретению по совокупности признаков является принятое за прототип арифметическое устройство по модулю семь (патент РФ 2702970, кл. G06F 7/72, 2019 г.), которое содержит элементы ИСКЛЮЧАЮЩЕЕ ИЛИ и реализует операцию (X+Y) mod 7, где Х,Y∈{000,…,110} есть трехразрядные двоичные числа, задаваемые двоичными сигналами.The closest device for the same purpose to the claimed invention in terms of the totality of features is the arithmetic unit modulo seven (RF patent 2702970, class G06F 7/72, 2019) adopted as a prototype, which contains the EXCLUSIVE OR elements and implements the operation (X + Y )
К причине, препятствующей достижению указанного ниже технического результата при использовании прототипа, относятся ограниченные функциональные возможности, обусловленные тем, что не выполняется реализация операции (X-Y) mod 7.The reason preventing the achievement of the technical result indicated below when using the prototype includes limited functionality due to the fact that the implementation of the operation (X-Y)
Техническим результатом изобретения является расширение функциональных возможностей за счет обеспечения реализации с помощью константной настройки любой из операций (X+Y) mod 7, (Х-Y) mod 7, где X,Y∈{000,…,110} есть трехразрядные двоичные числа, задаваемые двоичными сигналами.The technical result of the invention is the expansion of functionality by providing implementation using the constant setting of any of the operations (X+Y)
Указанный технический результат при осуществлении изобретения достигается тем, что в арифметическом устройстве по модулю семь, содержащем двенадцать элементов ИСКЛЮЧАЮЩЕЕ ИЛИ, вторые входы четвертого, пятого, шестого и восьмого, девятого, десятого элементов ИСКЛЮЧАЮЩЕЕ ИЛИ соединены соответственно с выходами второго, третьего, пятого и четвертого, шестого, одиннадцатого элементов ИСКЛЮЧАЮЩЕЕ ИЛИ, а первый вход седьмого, второй вход k-го и выход (6+k)-го элементов ИСКЛЮЧАЮЩЕЕ ИЛИ соединены соответственно с выходом первого элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, (3+k)-м входом и k-м выходом арифметического устройства по модулю семь, особенность заключается в том, что в него дополнительно введены два элемента ИСКЛЮЧАЮЩЕЕ ИЛИ и восемь элементов ЗАПРЕТ, первый, второй входы одиннадцатого и первый, второй входы i-го элементов ИСКЛЮЧАЮЩЕЕ ИЛИ соединены соответственно с выходами пятого, третьего и неинвертирующим, инвертирующим входами i-го элементов ЗАПРЕТ, первый, второй входы седьмого и первый, второй входы восьмого элементов ИСКЛЮЧАЮЩЕЕ ИЛИ соединены соответственно с инвертирующим, неинвертирующим входами седьмого и неинвертирующим, инвертирующим входами восьмого элементов ЗАПРЕТ, первые входы четвертого, пятого, шестого и восьмого, девятого, десятого элементов ИСКЛЮЧАЮЩЕЕ ИЛИ соединены соответственно с выходами первого, второго, четвертого и седьмого, восьмого, шестого элементов ЗАПРЕТ, а выход десятого, первый вход k-го, первый и второй входы (11+k)-го элементов ИСКЛЮЧАЮЩЕЕ ИЛИ соединены соответственно с вторым входом седьмого, выходом (11+k)-го элементов ИСКЛЮЧАЮЩЕЕ ИЛИ, настроечным и k-м входами арифметического устройства по модулю семь.The specified technical result in the implementation of the invention is achieved by the fact that in the arithmetic unit modulo seven, containing twelve EXCLUSIVE OR elements, the second inputs of the fourth, fifth, sixth and eighth, ninth, tenth EXCLUSIVE OR elements are connected respectively to the outputs of the second, third, fifth and fourth , sixth, eleventh elements EXCLUSIVE OR, and the first input of the seventh, the second input of the k-th and the output of the (6+k)-th EXCLUSIVE OR element are connected respectively to the output of the first EXCLUSIVE OR element, the (3+k)-th input and the k-th output of the arithmetic unit modulo seven, the peculiarity lies in the fact that it additionally contains two elements EXCLUSIVE OR and eight elements PROHIBITED, the first, second inputs of the eleventh and the first, second inputs of the i-th EXCLUSIVE OR elements are connected to the outputs of the fifth, third and non-inverting, inverting inputs of the i-th elements, respectively. PROHIBITION, the first inputs of the fourth, fifth, sixth and eighth, ninth, tenth EXCLUSIVE OR elements are connected respectively to the outputs of the first, second, fourth and seventh, eighth, sixth PROHIBITION elements, and the output of the tenth, the first input of the k-th, first and second inputs The (11+k)-th EXCLUSIVE OR element is connected respectively to the second input of the seventh, the output of the (11+k)-th EXCLUSIVE OR element, tuning and k-th inputs of the arithmetic unit modulo seven.
На чертеже представлена схема предлагаемого арифметического устройства по модулю семь.The drawing shows a diagram of the proposed arithmetic unit modulo seven.
Арифметическое устройство по модулю семь содержит элементы ИСКЛЮЧАЮЩЕЕ ИЛИ 11,…,114 и элементы ЗАПРЕТ 21,…,28, причем первый, второй входы элемента 1i и первый, второй входы элемента 111 соединены соответственно с неинвертирующим, инвертирующим входами элемента 2i и выходами элементов 25, 23, первый, второй входы элемента 17 и первый, второй входы элемента 18 соединены соответственно с инвертирующим, неинвертирующим входами элемента 27 и неинвертирующим, инвертирующим входами элемента 28, первые входы элементов 1k 14, 15, 16, 18, 110 и вторые входы элементов 14, 15, 16, 18, 19, 110 соединены соответственно с выходами элементов 111+k, 21, 22,, 24, 27, 28, 26 и 12, 13, 15, 14, 16, 111, а первый, второй входы элемента 17, второй вход элемента lk и выход элемента 16+k соединены соответственно с выходами элементов 11, 110, (3+k)-ым входом и k-ым выходом арифметического устройства по модулю семь, подключенного настроечным и k-ым входами соответственно к первому и второму входам элемента 111+k.The arithmetic unit modulo seven contains the elements EXCLUSIVE OR 1one,…,one14 and elements of
Работа предлагаемого арифметического устройства по модулю семь осуществляется следующим образом. На его настроечном входе фиксируется сигнал w∈{0,1} константной настройки, который определяет вид реализуемой операции. На его первый, второй, третий и четвертый, пятый, шестой входы подаются соответственно двоичные сигналы y0,y1,y2∈{0,1} и x0,x1,x2∈{0,1}, которые задают подлежащие обработке трехразрядные двоичные числа Y=y2y1y0, Х=х2х1x0, причем х2,у2 и x0,y0 определяют значения старших и младших разрядов соответственно, X,Y∈{000,…,110}. В представленной ниже таблице приведены значения выходных сигналов z0,z1,z2 предлагаемого устройства, полученные с учетом работы его элементов для всех возможных наборов значений сигналов w,x0,xl,x2,y0,y1,y2.The operation of the proposed arithmetic unit modulo seven is as follows. At its tuning input, a constant tuning signal w∈{0,1} is fixed, which determines the type of operation being implemented. Its first, second, third and fourth, fifth, sixth inputs are respectively supplied with binary signals y 0 ,y 1 ,y 2 ∈{0,1} and x 0 ,x 1 ,x 2 ∈{0,1}, which specify three-digit binary numbers to be processed Y=y 2 y 1 y 0 , X=x 2 x 1 x 0 , where x 2 ,y 2 and x 0 ,y 0 determine the values of the most significant and least significant digits, respectively, X,Y∈{000, …,110}. The table below shows the values of the output signals z 0 ,z 1 ,z 2 of the proposed device, obtained taking into account the operation of its elements for all possible sets of signal values w,x 0 ,x l ,x 2 ,y 0 ,y 1 ,y 2 .
Если w=0 либо w=1, то согласно представленной таблице имеем Z=(X-Y) mod 7 либо Z=(Х+Y) mod 7, где Z=z2z1z0 - трехразрядное двоичное число, задаваемое двоичными сигналами z0,zl,z2∈{0,1} (z2 и z0 определяют значения старшего и младшего разрядов соответственно).If w=0 or w=1, then according to the presented table we have Z=(XY)
Вышеизложенные сведения позволяют сделать вывод, что предлагаемое арифметическое устройство по модулю семь обладает более широкими по сравнению с прототипом функциональными возможностями, так как с помощью константной настройки реализует любую из операций (X+Y) mod 7, (X-Y) mod 7, где Х,Y∈{000,…,110} есть трехразрядные двоичные числа, задаваемые двоичными сигналами.The above information allows us to conclude that the proposed arithmetic unit modulo seven has wider functionality compared to the prototype, since it implements any of the operations (X + Y)
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| RU2021109207A RU2764707C1 (en) | 2021-04-02 | 2021-04-02 | Modulo seven arithmetic unit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| RU2021109207A RU2764707C1 (en) | 2021-04-02 | 2021-04-02 | Modulo seven arithmetic unit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| RU2764707C1 true RU2764707C1 (en) | 2022-01-19 |
Family
ID=80040617
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| RU2021109207A RU2764707C1 (en) | 2021-04-02 | 2021-04-02 | Modulo seven arithmetic unit |
Country Status (1)
| Country | Link |
|---|---|
| RU (1) | RU2764707C1 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| SU1603371A1 (en) * | 1989-01-12 | 1990-10-30 | Войсковая часть 31303 | Modulo seven adder |
| RU2028660C1 (en) * | 1992-05-21 | 1995-02-09 | Леонид Болеславович Авгуль | Modulo-seven adder |
| RU2149442C1 (en) * | 1999-03-16 | 2000-05-20 | Балтийский государственный технический университет "Военмех" им. Д.Ф. Устинова | Device for modulo seven multiplication |
| RU2702970C1 (en) * | 2018-09-20 | 2019-10-14 | федеральное государственное бюджетное образовательное учреждение высшего образования "Ульяновский государственный технический университет" | ADDER MODULO q |
-
2021
- 2021-04-02 RU RU2021109207A patent/RU2764707C1/en active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| SU1603371A1 (en) * | 1989-01-12 | 1990-10-30 | Войсковая часть 31303 | Modulo seven adder |
| RU2028660C1 (en) * | 1992-05-21 | 1995-02-09 | Леонид Болеславович Авгуль | Modulo-seven adder |
| RU2149442C1 (en) * | 1999-03-16 | 2000-05-20 | Балтийский государственный технический университет "Военмех" им. Д.Ф. Устинова | Device for modulo seven multiplication |
| RU2702970C1 (en) * | 2018-09-20 | 2019-10-14 | федеральное государственное бюджетное образовательное учреждение высшего образования "Ульяновский государственный технический университет" | ADDER MODULO q |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| RU2764707C1 (en) | Modulo seven arithmetic unit | |
| RU2622841C1 (en) | Device for selecting extreme number of two binary numbers | |
| RU2324971C1 (en) | Binary data comparator | |
| RU2713862C1 (en) | MULTIPLIER MODULO q | |
| RU2703675C1 (en) | Logic converter | |
| RU2704735C1 (en) | Threshold module | |
| RU2778676C1 (en) | Arithmetic unit modulo three | |
| RU2757831C1 (en) | Arithmetic unit modulo three | |
| RU2778675C1 (en) | Adder modulo three | |
| RU2762548C1 (en) | Adder-multiplier modulo three | |
| RU2702970C1 (en) | ADDER MODULO q | |
| RU2770801C1 (en) | Multiplier modulo three | |
| RU2708793C1 (en) | Modulo three adder | |
| RU2770799C1 (en) | Binary number dividing apparatus | |
| RU2758184C1 (en) | Binary adder | |
| RU2770798C1 (en) | MODULO q SUBTRACTOR | |
| RU2762544C1 (en) | Multiplier by module five | |
| RU2791464C1 (en) | Device for selecting the smallest of binary numbers | |
| RU2703676C1 (en) | Modulo three adder | |
| RU2710872C1 (en) | Parallel single signal counter | |
| RU2702969C1 (en) | Adder modulo five | |
| RU2791460C1 (en) | Device for selection of the bigger of binary numbers | |
| RU2812700C1 (en) | Threshold module | |
| RU2790010C1 (en) | Device for selecting the smaller of binary numbers | |
| RU2787339C1 (en) | Majority module |