SU922731A1 - Device for multiplying in residual class system - Google Patents

Device for multiplying in residual class system Download PDF

Info

Publication number
SU922731A1
SU922731A1 SU782675156A SU2675156A SU922731A1 SU 922731 A1 SU922731 A1 SU 922731A1 SU 782675156 A SU782675156 A SU 782675156A SU 2675156 A SU2675156 A SU 2675156A SU 922731 A1 SU922731 A1 SU 922731A1
Authority
SU
USSR - Soviet Union
Prior art keywords
elements
inputs
output
input
signal
Prior art date
Application number
SU782675156A
Other languages
Russian (ru)
Inventor
Виктор Анатольевич Краснобаев
Original Assignee
Войсковая Часть 11284
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 Войсковая Часть 11284 filed Critical Войсковая Часть 11284
Priority to SU782675156A priority Critical patent/SU922731A1/en
Application granted granted Critical
Publication of SU922731A1 publication Critical patent/SU922731A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Description

(5) УСТРОЙСТВО ДЛЯ УМНОЖЕНИЯ В СИСТЕМЕ ОСТАТОЧНЫХ КЛАССОВ(5) DEVICE FOR MULTIPLICATION IN THE SYSTEM OF RESIDUAL CLASSES

II

Изобретение относитс  к вычислительной технике.The invention relates to computing.

Известны табличные устройства модульного умножени  в системе остаточных классов 1.Known table devices modular multiplication in the system of residual classes 1.

Наиболее близким к изобретению  вл етс  устройство дл  умножени  в системе ос1;аточных классов, содержащее входные регистры, дешифраторы, ключи, коммутатор, выходной регистр и логические блоки поиска квадрата- и квадрантов арифметической таблицыf23.Closest to the invention is a multiplier in the os1 system; active classes containing input registers, descramblers, keys, a switch, an output register, and logical blocks for searching the square and quadrants of the arithmetic table f23.

Применение логического блока поиска квадрата относительно диагонали квадранта и логического блока поиска квадрантов относительно осей арифметической таблицы приводит к необходимости введени  в устройство дополнительных элементов: дешифратора номеров базовых квадратов квадрайта, пассивных трансформаторных линеек и т.д. Это усложн ет построение устрой ,ства и увеличивает необходимое количество оборудовани .The use of a logical block for finding a square relative to the diagonal of a quadrant and a logical block for finding quadrants relative to the axes of the arithmetic table leads to the necessity of introducing into the device additional elements: a decoder of the numbers of basic squares of the quadrite, passive transformer lines, etc. This complicates the construction of the device and increases the required amount of equipment.

Цель изобретени  - упрощение устройства .The purpose of the invention is to simplify the device.

Поставленна  цель достигаетс  тем, что в устройство, содержащее входные регистры, дешифраторы, ключи,коммутатор , выходной регистр, введены сумматор по модулю два, группы элементов ИЛИ, элементы И и ИЛИ, при этом первый и второй входные регистры последовательно через соответствующие The goal is achieved by the fact that a modulo two adder, groups of OR elements, AND and OR elements are entered into a device containing input registers, groups of OR elements, AND and OR elements, the first and second input registers successively through the corresponding

10 первый и второй дешифраторы, первую и втдрую группы элементов ИЛИ и первый и второй ключи подключены соответственно к первой и второй г эуппам входов коммутатора, выходы первой и10 first and second decoders, the first and second groups of the OR elements and the first and second keys are connected respectively to the first and second r of the unit's inputs of the switch, the outputs of the first and second

второй групп первого и второго дешифраторов подключены соответственно к входам первого, второго, третьего the second groups of the first and second decoders are connected respectively to the inputs of the first, second, third

.и четвертого элементов ИЛИ, выходы которых подключень к соответствующим .and the fourth OR elements whose outputs are connected to the corresponding

20 входам сумматора по модулю два, управл ющие входы ключей  вл ютс  входами управлени  устройства, соответствующие выходы первой группы коммутатораThe 20 inputs of the modulo-two adder, the control inputs of the keys are the control inputs of the device, the corresponding outputs of the first switch group

подключены к соответствующим входам п того элемента ИЛИ и-первым входам соответственно шестого, седьмого, восьмого, дев того и дес того элементов ИЛИ, к вторым входам которых подключены соответствующие выходы второй группы коммутатора и входы одиннадцатого элемента ИЛИ, выход которого подключен к первым входам первого и второго элементов И, выход п того элемента ИЛИ подключен к первым входам третьего и четвертого элементов И, вторые входы первого и третьего элементов И и второго и четвертого элементов И подключены соответственно к нулевому и единичному выходам сумматора по модулю два, а выходы второго и четвертого элементов И подключены к соответствующим входам соответственно двенадцатого и тринадцатого элементов ИЛИ, выходы шестого, седьмого, восьмого, дев того , дес того, двенадцатого и тринадцатого элементов ИЛИ соединены с соответствующими входами выходного регистра , выход которого  вл етс  выходом устройства.connected to the corresponding inputs of the fifth OR element and the first inputs of the sixth, seventh, eighth, ninth and tenth OR elements, respectively, to the second inputs of which the corresponding outputs of the second switch group and inputs of the eleventh OR element, whose output is connected to the first inputs of the first and the second element AND, the output of the pto element OR is connected to the first inputs of the third and fourth elements AND, the second inputs of the first and third elements AND and the second and fourth elements AND are connected respectively to n the output of the modulo two, the output of the second and fourth elements AND are connected to the corresponding inputs of the twelfth and thirteenth elements OR, the outputs of the sixth, seventh, eighth, ninth, tenth, twelfth and thirteenth elements OR are connected to the corresponding inputs of the output a register whose output is a device output.

В предлагаемой схеме модульного умножени  используютс  свойства симметрии арифметической таблицы относительно диагонали, вертикали и проход щих между иIn the proposed modular multiplication scheme, the symmetry properties of the arithmetic table are used with respect to the diagonal, vertical and passing between and

ризонтали, F:i+lrizontal, F: i + l

где Р: - модуль таблицы. Этоwhere P: is the table module. it

и определ ет возможность реализации в схеме табличного умножени  только 0,25 ч. таблицы.and determines the possibility of implementing in the scheme of table multiplication only 0.25 hours of the table.

Операци  модульного умножени  выполн етс  в коде табличного умножени The modular multiplication operation is performed in a table multiplication code.

Алгоритм получени  результата операции определ етс  следующим соотношением .: если два числа х и у заданы по основанию Р в коде табличного умножени ,X (f, х,-); у Ctx то дл  того, чтобы получить произведение этих чисел по модулю р., достаточно получить произведение Рц) в коде табличного , умножени  и инвертировать егоThe algorithm for obtaining the result of an operation is determined by the following relation: if two numbers x and y are given on the base P in the table multiplication code, X (f, x, -); in Ctx, in order to obtain the product of these numbers modulo p., it is enough to obtain the product Rc) in the tabular code, multiply and invert it

индекс jp в случае, если jp index in case

отличТх но от fy гдеDifference but from fy where

если О X,. if O X ,.

Р,-1.P, -1.

.х..x

еслиif a

В отличии от известных, в предлагаемом устройстве операци  умножени  производитс  непосредственно в коде табличного умножени .Unlike the known ones, in the proposed device, the multiplication operation is performed directly in the table multiplication code.

На/чертеже изображена функциональна  схема модульного умножени  в системе- остаточных классов по модулю II (Р. П) .The drawing / drawing shows the functional scheme of modular multiplication in the system of residual classes modulo II (R. P).

На чертеже представлена блок-схема устройства.The drawing shows the block diagram of the device.

Claims (2)

Устройство содержит входные регистрь 1, дешифраторы 2, группы элементов ИЛИ 3, первый, второй, третий и четвертый элементы ИЛИ 4, сумматор 5 по модулю два, ключи 6, коммутатор 7, шестой, седьмой, восьмой, дев тый и дес тый элементы ИЛИ 8, выходной регистр 9, п тый и одиннадцатый элементы ИЛИ 10, первый,вто рой , третий и четвертый элементы И 11, двенадцатый и тринадцатый элемен ты ИЛИ 1 2 . Устройство работает следующим образом . Входы устройства модульного умножени  по кодовым цеп м дл  операндов X и у св зываютс  входными регистра ми 1 с цифровой вьтислительной машиной , С входных регистррв 1 операнды -чисел поступают на свои дешифраторы The device contains input register 1, decoders 2, groups of elements OR 3, first, second, third and fourth elements OR 4, adder 5 modulo two, keys 6, switch 7, sixth, seventh, eighth, ninth and tenth elements OR 8, output register 9, fifth and eleventh elements OR 10, first, second, third and fourth elements AND 11, twelfth and thirteenth elements OR 1 1 2. The device works as follows. The inputs of the modular multiplication device are coded for operands X and y, are linked by input registers 1 with a digital receiving machine, From input registers 1 operands of numbers go to their decoders 2. Дешифраторы служат дл  преобразовани  операндов чисел машинного представлени  в операнды дес тичного кода. Сигнал с выхода дешифратора 2 строк (столбцов) однбвременно поступает на двухвходовые 3 и п тивходово k элементы ИЛИ. Сигнал с выхода двух входового элемента ИЛИ поступае.т на ключ 6 строк (столбцов).Управл ющий сигнал от устройства управлени  одновременно поступает на два ключа 6 (строк и столбцов), и с выхода двух ключей 6 сигналы поступают на коммутатор 7(матрицу ответов). Сигнал с выхода п тивходового эле мента ИЛИ k поступает на единичный или нулевой входы сумматора 5 по модулю два.. С единичного или нулевого выхода сумматора 5 (в зависимости от резуль тата модульного сложени ) сигнал поступает на два элемента И. 11. В зависимости от результата мо-. дульного умножени  на один из вторых входов элементов И 11 поступает сигнал с выхода матрицы ответов через один из двух элементов ИЛИ 10. Выбор одного из двух элементов ИЛИ зависит от того, к какой группе операндов (0-5 или 6-10) относитс  результат модульного умножени . Сигнал с выход элемента И 11 поступает на вход элемента ИЛИ 12, выход которого соедин етс  с входом выходного регистра 9 Этот сигнал представл ет код индекса (О или 1). Одновременно код результата модул ного умножени  поступает через элемент .ИЛИ 8 на вход выходного регистра 9Таким образом, в выходном регистр будет содержатьс  результат операции в коде табличного умножени . i Необходимо отметить простоту реализации логических элементов И и ИЛИ и унификацию их дл  произвольного модул  . Отличительным признаком изобретени   вл етс  непосредственное применение в алгоритме выполнени  модульного умножени  специального кода умножени  . Благодар  этому возникает возможность исключить из табличного Устройства модульного умножени  логических блоков поиска, что приводит к упрощению устройства , сокращению оборудовани  и к повышению надежности устройства в целом. Формула изобретени  Устройство дл  умножени  в системе остаточных классов содержащее входные регистры, дешифраторы,ключи, коммутатор, выходной регистр, о тличающеес  тем, что, .с целью упрощени  устройства, оно содержит сумматор по модулю два, группы элементов ИЛИ, элементы И и ИЛИ, при этом первый и второй входные регистры последовательно через соответствующие первый и второй дешифраторы , первую и вторую группы элементов ИЛИ и первый и второй ключи подключены соответственно к первой и второй группам входов коммутатора, первые и вторые группы выходов первого и второго дешифраторов подключены соответственно к входам первого, второго, третьего и четвертого элементов ИЛИ, выходы которых подключены к соответствующим входам сумматора по модулю два, управл ющие входы ключей  вл ютс  входами управлени  устройства, перва  группа выходов коммутатора подключена к входам п того элемента ИЛИ и первым входам шестого, седьмого, восьмого, дев того и дес того элементов ИЛИ, к вторым входам .которых подключена втора  группа выходов коммутатора и входы одиннадцатого элемента ИЛИ, выход которого подключен к первым входам первого и второго элементов И, выход п того элемента ИЛИ подключен к первым входам третьего и четвертого элементов И, вторые входы первого и третьего элементов И и второго и четвертрго элементов И подключены соответственно к2. Decoders serve to convert the operands of machine representation numbers to operands of a decimal code. The signal from the output of the decoder of 2 rows (columns) is simultaneously fed to two-input 3 and 5 input elements OR. The signal from the output of the two input element OR comes to the key 6 rows (columns). The control signal from the control device simultaneously goes to two keys 6 (rows and columns), and from the output of two keys 6 signals go to switch 7 (response matrix ). The signal from the output of the dual input element OR k is fed to the single or zero inputs of the adder 5 modulo two .. From the single or zero output of the adder 5 (depending on the result of the modular addition), the signal goes to two elements I. 11. Depending on the result of my muzzle multiplication by one of the second inputs of elements AND 11 receives a signal from the output of the response matrix through one of two elements OR 10. The choice of one of two elements OR depends on which group of operands (0-5 or 6-10) is the result of the modular multiply. The signal from the output of the AND 11 element is fed to the input of the element OR 12, the output of which is connected to the input of the output register 9. This signal represents the index code (O or 1). At the same time, the modular multiplication result code goes through the element. OR 8 to the input of the output register 9. Thus, the output register will contain the result of the operation in the table multiplication code. i It should be noted the simplicity of the implementation of the logical elements And and Or and their unification for an arbitrary module. A distinctive feature of the invention is the direct application of a special multiplication code in the algorithm for performing modular multiplication. This makes it possible to exclude from the tabular Device a modular multiplication of logical blocks of search, which leads to simplification of the device, reduction of equipment and increase of reliability of the device as a whole. The invention of the Device for multiplying in the system of residual classes containing input registers, decoders, keys, switch, output register, characterized in that, in order to simplify the device, it contains modulo two, groups of elements OR, elements AND and OR, while the first and second input registers are sequentially through the corresponding first and second decoders, the first and second groups of elements OR and the first and second keys are connected respectively to the first and second groups of inputs of the switch, the first and second e groups of outputs of the first and second decoders are connected respectively to the inputs of the first, second, third and fourth elements OR, the outputs of which are connected to the corresponding inputs of a modulo-two adder, the control inputs of the keys are control inputs of the device, the first group of outputs of the switch is connected to the inputs n that OR element and the first inputs of the sixth, seventh, eighth, ninth and tenth OR elements, to the second inputs. Which are connected the second group of switch outputs and the inputs of the eleventh IL element And, the output of which is connected to the first inputs of the first and second elements AND, the output of the fifth element OR is connected to the first inputs of the third and fourth elements AND, the second inputs of the first and third elements AND and the second and fourth elements AND are connected respectively to
SU782675156A 1978-10-18 1978-10-18 Device for multiplying in residual class system SU922731A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU782675156A SU922731A1 (en) 1978-10-18 1978-10-18 Device for multiplying in residual class system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU782675156A SU922731A1 (en) 1978-10-18 1978-10-18 Device for multiplying in residual class system

Publications (1)

Publication Number Publication Date
SU922731A1 true SU922731A1 (en) 1982-04-23

Family

ID=20789747

Family Applications (1)

Application Number Title Priority Date Filing Date
SU782675156A SU922731A1 (en) 1978-10-18 1978-10-18 Device for multiplying in residual class system

Country Status (1)

Country Link
SU (1) SU922731A1 (en)

Similar Documents

Publication Publication Date Title
SU922731A1 (en) Device for multiplying in residual class system
SU1381488A1 (en) Modulo 3 adder
SU485448A1 (en) Device for adding numbers
SU794634A1 (en) Device for multiplying series code by fractional factor
SU1262478A1 (en) Device for subtracting decimal numbers
SU896620A1 (en) Modulo multiplying device
SU968808A2 (en) Device for modulo multiplying
SU788107A1 (en) Number adding device
SU842796A1 (en) Device for computing fractional rational function
SU951296A1 (en) Device for multiplication by modulus
SU932484A1 (en) Number comparing device
SU855654A1 (en) Controlled arithmetic module
SU1223224A1 (en) Device for dividing n-digit numbers
SU509870A1 (en) Arithmetic logic unit
SU849198A1 (en) Reversive binary-to-bcd code converter
SU1030799A1 (en) Device for multiplication of numbers by modulus
SU981991A2 (en) Modulus multiplication device
SU1282135A1 (en) Device for shifting information with checking
SU1273918A1 (en) Adding-subtracting device
SU1756881A1 (en) Modulo arithmetic unit
SU758159A1 (en) Device for computing coordinates
US5574676A (en) Integer multiply instructions incorporating a subresult selection option
SU1765819A1 (en) Symmetric boolean function computer
SU834906A1 (en) Code converter
SU822181A1 (en) Device for multiplying numbers in complementary codes