SU1711148A1 - Modulo k adder - Google Patents

Modulo k adder Download PDF

Info

Publication number
SU1711148A1
SU1711148A1 SU894669031A SU4669031A SU1711148A1 SU 1711148 A1 SU1711148 A1 SU 1711148A1 SU 894669031 A SU894669031 A SU 894669031A SU 4669031 A SU4669031 A SU 4669031A SU 1711148 A1 SU1711148 A1 SU 1711148A1
Authority
SU
USSR - Soviet Union
Prior art keywords
outputs
inputs
unitary
summation
modulo
Prior art date
Application number
SU894669031A
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 SU894669031A priority Critical patent/SU1711148A1/en
Application granted granted Critical
Publication of SU1711148A1 publication Critical patent/SU1711148A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может .быть использовано при построении систем передачи и переработки дискретной информации. Целью изобретени   вл етс  сокращение количества оборудовани . Сумматор по модулю k () содержит узлы унитарного суммировани , блок суммировани  унитарных кодов, включающий блоки сложени , двоичный шифратор. Каждый узел содержит элемент ИЛИ-НЕ. сумматор по модулю два, элемент И с параллельно соединенными входами, которые  вл ютс  входами разр дов слагаемых сумматора, выходы КОТОРЫХ соединены с входами блока с индексами ,(2M)mod k, (21) mod k, соответственно (,2.3.4). При подаче слагаемых X и Y на входы сумматора единичные сигналы по вл ютс  на выходах узлов с индексами l((Xj+Yi) 2й) mod k. Коды с выходов узлов суммируютс  блоками сложени , при этом на выходах блока сложени  р-ro столбца будет единичный сигнал с индексами I(X+Y) mod k, который поступает на входы шифратора с индэксами, равными номерам единичных разр дов в двоичном представлении числа (X+Y) mod k. При этом на выходах шифратора будет двоичный код числа (X+Y)modk. 1 ил. U) СThe invention relates to computing and can be used in the construction of systems for the transmission and processing of discrete information. The aim of the invention is to reduce the amount of equipment. The adder modulo k () contains units of unitary summation, a unit of summation of unitary codes, including blocks of addition, a binary coder. Each node contains an element OR NOT. modulo two, element I with parallel-connected inputs, which are the inputs of the summation parts of the adder, and the KOTORYH outputs are connected to the block inputs with indices, (2M) mod k, (21) mod k, respectively (, 2.3.4). When the addends X and Y are applied to the inputs of the adder, single signals appear at the outputs of nodes with indices l ((Xj + Yi) 2nd) mod k. The codes from the outputs of the nodes are summed by the add blocks, while the outputs of the add block of the p-ro column will be a single signal with indices I (X + Y) mod k, which is fed to the inputs of the encoder with indices equal to the numbers of the single bits in the binary representation of the number ( X + Y) mod k. In this case, the outputs of the encoder will be a binary code number (X + Y) modk. 1 il. U) C

Description

Изобретение0ртноситс  к вычислительной технике и может быть использовано дл  построени  систем передачи и переработки дискретной информации.The invention is computerized and can be used to build systems for the transmission and processing of discrete information.

Целью изобретени   вл етс  сокращение количества оборудовани .The aim of the invention is to reduce the amount of equipment.

На чертеже изображена схема суммато ра по модулю .The drawing shows a modulo-adder circuit.

Сумматор по модулюи 13 содержит четыре узла 1.1-1.4 унитарного суммировани , блок 2 суммировани  унитарных кодов, включающий блоки 3.1, 3.2, 3.3 сложени , двоичный шифратор 4.The modulo-13 adder contains four nodes 1.1-1.4 unitary sum, unit 2 summation of unitary codes, including blocks 3.1, 3.2, 3.3 addition, binary encoder 4.

Узел 1.1 (,2,3,4) унитарного суммировани  содержит элемент ИЛИ-НЕ 5, сумматор 6 по модулю два, элемент И 7 с параллельно соединенными входами.Node 1.1 (, 2,3,4) unitary summation contains the element OR NOT 5, the adder 6 modulo two, the element 7 with parallel-connected inputs.

Блок 3.1 сложени  выполнен в виде 12 групп 8.1-8.12 элементов И, выходы элементов И каждой группы 8.I соединены с входами элемента ИЛИ 9.1, выход которого  вл етс  выходом блока с индексом .Block 3.1 is made in the form of 12 groups 8.1-8.12 of elements AND, the outputs of elements AND of each group 8.I are connected to the inputs of the element OR 9.1, the output of which is the output of a block with an index.

Каждый элемент И группы 8.1 соединен входами с выходами блоков 3.2 и 3.3 сложени , образу  на входах одну из комбинаций индексов их выходов, сумма которых по модулю k равна I. На входах элементов И группы 8.1 образуютс  вее неповтор ющиес  комбинации индексов выходов Ii-Нз блоков 3.1Each AND element of group 8.1 is connected by inputs to the outputs of blocks 3.2 and 3.3, forming at the inputs one of the combinations of indices of their outputs, the sum of which modulo k is I. At the inputs of elements And of group 8.1, non-repeating combinations of indexes of the outputs of the Ii-Hz blocks are formed 3.1

СОWITH

+ 12НО + 3,3 + 0,4 + 12,5+11} дл  + 12Й1 +3.4 + 0,6+11,0 + + 4.5 + 12} + 12NO + 3.3 + 0.4 + 12.5 + 11} for + 12X1 +3.4 + 0.6 + 11.0 + + 4.5 + 12}

дл  И5 {h + + 3,5 + 0, 6 + 12. 1 + 4} дл  {li + + 4, 3 + 3, 6 + 0} дл  {И + + 7, 3 + 4. 4 + 3} дл  {И + 12ИО + 8, 1 + 7,4 + 4, 5 + 3} дл  {li + + 8, 2 + 7. 5 + 4. 6 + 3} дл  (И + + 7, 2 + 8, 6 + 4} дл  {И + + 7, 0 + 11, 3 + 8} дл  {h+ I2H5 +7,1 + 11,0+12,4 + 8}for I5 {h + + 3.5 + 0, 6 + 12. 1 + 4} for {li + + 4, 3 + 3, 6 + 0} for {And + + 7, 3 + 4. 4 + 3} for {И + 12ИО + 8, 1 + 7.4 + 4, 5 + 3} for {li + + 8, 2 + 7. 5 + 4. 6 + 3} for (And + + 7, 2 + 8, 6 + 4} for {And + + 7, 0 + 11, 3 + 8} for {h + I2H5 +7.1 + 11.0 + 12.4 + 8}

В блоке 3.2 сложени  на входах элеменVI группы 10.) реализуютс  следующие бинации И + г индексов выходов узлов и 1.2 унитарного суммировани :In block 3.2, the additions at the inputs of an element VI of group 10.) are implemented the following binations I + g of the output indices of the nodes and 1.2 unitary summation:

Выходы элементов И групп 10.3 и 10.5 соединены с входами элементов ИЛИ 11.3 и 11.5 соответственно, выходы которых  вл ютс  выходами блока 3.2 сложени  с индексами 1 2 и I 4.The outputs of the AND elements of groups 10.3 and 10.5 are connected to the inputs of the elements OR 11.3 and 11.5, respectively, the outputs of which are the outputs of the add block 3.2 with the subscripts 1 2 and I 4.

В блоке 3.3 сложени  на входах элементов И каждой группы 12.1 реализуютс  следующие комбинации li + Iz индексов выходов узлов 1.3 и 1.4 унитарного суммировани :In block 3.3 of the addition, the following combinations li + Iz of the output indices of nodes 1.3 and 1.4 of unitary summation are implemented at the inputs of the elements And of each group 12.1:

0{H + i2HO + 0} 3{li + hHO + 3, 8 + 8} 4{I|+I2} {4 + 0} 7{H + + 3}0 {H + i2HO + 0} 3 {li + hHO + 3, 8 + 8} 4 {I | + I2} {4 + 0} 7 {H + + 3}

8{li + l2HO + 8.8 + 0} 11 {ti + + 3} 12{h + 2H4 + 8}8 {li + l2HO + 8.8 + 0} 11 {ti + + 3} 12 {h + 2H4 + 8}

Выходы элементов И групп 12.2 и 12.5 соединены с входами элементов ИЛИ 13.2 и 13.5 соответственно, выходы которых  вл ютс  выходами блока 3.3 сложени  с индексами и .The outputs of the AND elements of groups 12.2 and 12.5 are connected to the inputs of the elements OR 13.2 and 13.5, respectively, the outputs of which are the outputs of block 3.3 with indices and.

Блоки сложени  могут иметь иное исполнение , включа  многопороговые элементы , соединенные входами с выходами блоков сложени  предыдущих столбцов или узлов унитарного суммировани  с одинаковыми индексами, а выходами с входами элементов И групп. При этом на входах каждого элемента И группы реализуютс  все комбинации индексов одноготипа, получаемые перестановкой элементов, чтоAdding blocks can be of another design, including multi-threshold elements connected by inputs to the outputs of the addition blocks of previous columns or units of unitary summation with the same indices, and outputs from the inputs of elements And groups. At the same time, at the inputs of each element and group, all combinations of indices of the same type are realized, obtained by permuting the elements, that

дополнительно сокращает количество оборудовани .additionally reduces the amount of equipment.

Функционирование сумматора происходит следующим образом.The operation of the adder is as follows.

При подаче кодов слагаемых X и Y наWhen submitting the codes of the X and Y terms to

входы сумматора единичные сигналы по вл ютс  на выходах узлов 1.1 унитарного суммировани  с индексами (Xi+Yi)2M)mod k.adder inputs single signals appear at the outputs of nodes 1.1 of unitary summation with indices (Xi + Yi) 2M) mod k.

Коды с выходов узлов 1.1 унитарного суммировани  суммируютс  блоками 3.JCodes from the outputs of nodes 1.1 of unitary summation are summed by blocks 3.J

сложени  блока 2 суммировани  унитарных кодов, при этом на выходах блока сложени  р-го столбца с индексом (X+Y)mod k будет единичный сигнал, который поступает на входы элементов 4.f двоичного шифратора 4addition of block 2 summation of unitary codes, while the outputs of the block of addition of the p-th column with the index (X + Y) mod k will be a single signal that is fed to the inputs of the elements 4.f of the binary encoder 4

с номерами К, равными номерам единичных разр дов в двоичном представлении числа (X+Y)mod k. На выходах шифратора 4 будет двоичный код числа (X+Y)mod k.with numbers K equal to the numbers of unit bits in the binary representation of the number (X + Y) mod k. At the outputs of the encoder 4 will be the binary code of the number (X + Y) mod k.

Таким образом, предложенный сумматор по модулю k обеспечивает сокращение объема оборудовани .Thus, the proposed modulo-k adder provides a reduction in the amount of equipment.

Формул а изобретени  Сумматор по модулю, содержащийFormula of invention Modulo adder containing

log2{k+1) узлов унитарного суммировани , блок суммировани  унитарных кодов по модулю k и двоичный шифратор, выходы которого соединены с выходами сумматора по модулю, k. а входы подключены кlog2 (k + 1) units of unitary sum, unit of summation of unitary codes modulo k and a binary encoder, the outputs of which are connected to the outputs of the modulo adder, k. and inputs are connected to

выходам блока суммировани  унитарных кодов по модулю k, группы входов которого подключены к выходам соответствующих узлов унитарного суммировани , входы которых соединены с входами соответствующих разр дов первого и второго операндов сумматора по модулю k, при этом каждый узел унитарного суммировани  со держит элемент ИЛИ-НЕ. элемент сложени  по модулю два и элемент И, первые иthe outputs of the unit of summation of unitary codes modulo k, the groups of inputs of which are connected to the outputs of the corresponding nodes of the unitary summation, the inputs of which are connected to the inputs of the corresponding bits of the first and second operands of the adder modulo k, each node of the unitary summation contains the element OR NONE. element modulo two and the element And, the first and

вторые входы которых соединены с соответствующими входами данного узла унитарного суммировани , а выходы соединены с выходами данного узла унитарного суммировани , причем эти выходы имеют индексы li((H) w)mod k, где .2.3; ш - вес разр дов операндов, входы которых подключены к входам данного узла унитарного суммировани , о т л ичающийс  тем, что, с целью сокращени  количества оборудовани . блок суммировани  унитарных кодов содержит блоки сложени , образующие столбцы, причем входы блоков сложени  первого столбца соединены с выходами Pf групп входов блока суммировани  унитарных кодов (Ki 2), а входы блоков сложени  последующих столбцов соединены с выходами EI блоков сложени  предыдущих столбцов (fi 2, ie{1jlog 2 (k+1)-1}),the second inputs of which are connected to the corresponding inputs of this unitary summation node, and the outputs are connected to the outputs of this unitary summation node, and these outputs have indices li ((H) w) mod k, where .2.3; W is the weight of the bits of the operands, the inputs of which are connected to the inputs of this unitary summation node, so that, in order to reduce the number of equipment. the unitary code summation block contains addition blocks forming columns, the inputs of the addition blocks of the first column are connected to the outputs Pf of the groups of inputs of the summation block of unitary codes (Ki 2), and the inputs of the addition blocks of subsequent columns are connected to the outputs EI of the addition blocks of the previous columns (fi 2, ie {1jlog 2 (k + 1) -1}),

выходы блока сложени  последнего столбца  вл ютс  выходами блока суммировани  унитарных кодов.the outputs of the last column addition block are the outputs of the unitary code sum block.

Claims (1)

Формула изобретенияClaim Сумматор по модулю к, содержащий ]log2(k+1)[ узлов унитарного суммирования, блок суммирования унитарных кодов по модулю к и двоичный шифратор, выходы которого соединены с выходами сумматора по модулю, к. а входы подключены к выходам блока суммирования унитарных кодов по модулю к, группы входов которого подключены к выходам соответствующих узлов унитарного суммирования, входы которых соединены с входами соответствующих разрядов первого и второго операндов сумматора по модулю к, при этом каждый узел унитарного суммирования содержит элемент ИЛИ-HE, элемент сложения по модулю два и элемент И. первые и вторые входы которых соединены с соответствующими входами данного узла унитарного суммирования, а выходы соединены с выходами данного узла унитарного суммирования, причем эти выходы имеют индексы ii=((E=l) ш)тоб к, где 1=1.2,3: ω- вес разрядов операндов, входы которых подключены к входам данного узла унитарного суммирования, отличающийся тем, что, с целью сокращения количества оборудования, блок суммирования унитарных кодов содержит блоки сложения, образующие столбцы, причем входы блоков сложения первого столбца соединены с выходами ft групп входов блока суммирова ния унитарных кодов (th >2), а входы блоков сложения последующих столбцов соединены с выходами Ь блоков сложения предыдущих столбцов (Г, >2, ifc'{1j!og2 (k+lX-1}), выходы блока сложения последнего столбца являются выходами блока суммирования унитарных кодов.A modulo k adder containing] log 2 (k + 1) [unitary summation nodes, a unitary code summation unit modulo k, and a binary encoder whose outputs are connected to the adder modulo outputs, k. And the inputs are connected to the outputs of the unitary code summation unit modulo k, the group of inputs of which are connected to the outputs of the corresponding units of unitary summation, the inputs of which are connected to the inputs of the corresponding bits of the first and second operands of the adder modulo k, with each unit of the unitary summation contains the element And LI-HE, the addition element modulo two and the element I. The first and second inputs of which are connected to the corresponding inputs of this unitary summation node, and the outputs are connected to the outputs of this unitary summation node, and these outputs have indices ii = ((E = l) w) to, where 1 = 1.2.3: ω is the weight of the bits of the operands, the inputs of which are connected to the inputs of this unitary unit summing unit, characterized in that, in order to reduce the amount of equipment, the unitary unit summing unit contains addition units forming columns, and the inputs of the blocks with the positions of the first column are connected to the outputs ft of the groups of inputs of the unit of summing unitary codes (th> 2), and the inputs of the addition blocks of the subsequent columns are connected to the outputs b of the addition blocks of the previous columns (Γ,> 2, ifc '{1j! og2 (k + lX -1}), the outputs of the addition block of the last column are the outputs of the unit of summation of unitary codes.
SU894669031A 1989-02-14 1989-02-14 Modulo k adder SU1711148A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU894669031A SU1711148A1 (en) 1989-02-14 1989-02-14 Modulo k adder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU894669031A SU1711148A1 (en) 1989-02-14 1989-02-14 Modulo k adder

Publications (1)

Publication Number Publication Date
SU1711148A1 true SU1711148A1 (en) 1992-02-07

Family

ID=21437233

Family Applications (1)

Application Number Title Priority Date Filing Date
SU894669031A SU1711148A1 (en) 1989-02-14 1989-02-14 Modulo k adder

Country Status (1)

Country Link
SU (1) SU1711148A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1432503.кл. G 06 F 7/49, 1986. , Авторское свидетельство СССР № 1381488. кл, G 06 F 7/49. 1986. *

Similar Documents

Publication Publication Date Title
SU1711148A1 (en) Modulo k adder
Etzion et al. Bounds on the sizes of constant weight covering codes
US4875180A (en) Multi-function scaler for normalization of numbers
EP0514061B1 (en) 7 to 3 counter circuit
Turyn On C-matrices of arbitrary powers
RU2030783C1 (en) Device for determination of number of units in binary eight-digit code
RU2006919C1 (en) Device for multiplication of integers with s-bit length in position-remainder number system
SU849198A1 (en) Reversive binary-to-bcd code converter
Helleseth et al. How to find a [33, 8, 14] code
SU1170451A1 (en) Device for multiplying number by constant series
SU482739A1 (en) Accumulator
SU974588A1 (en) Threshold logic element
RU2092891C1 (en) Adder
SU1531090A1 (en) Multiple-input parallel adder
SU686030A1 (en) Device for addition in redundancy binary notation
SU1290531A2 (en) Differential pulse coder of television signal
SU1481898A1 (en) Number converter from modular code to positional code
SU743220A1 (en) Information transmitting device
SU1672456A1 (en) Shifter checking device
SU1401449A1 (en) Switching network
SU1104511A1 (en) Device for extracting square root
SU1068932A1 (en) Device for summation of n one-digit binary numbers
SU1691834A1 (en) Modulo-k multiplier
SU860079A1 (en) Table algorithmic function converter
RU1784977C (en) @-bit place binary number squarer