SU1626385A1 - Device for binary-residue conversion - Google Patents
Device for binary-residue conversion Download PDFInfo
- Publication number
- SU1626385A1 SU1626385A1 SU894690891A SU4690891A SU1626385A1 SU 1626385 A1 SU1626385 A1 SU 1626385A1 SU 894690891 A SU894690891 A SU 894690891A SU 4690891 A SU4690891 A SU 4690891A SU 1626385 A1 SU1626385 A1 SU 1626385A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- adder
- unitary
- modulo
- output
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Abstract
Изобретение относитс к вычислительной технике и предназначено дл преобразовани числа из двоичного кода в код системы остаточных классов. Устройство содержит сумматоры 2 унитарного кода по модулю и дешифратор 3 со св з ми. Причем сумматоры 2 унитарного кода по модулю выполн ют посредстпм коммутации умножение на два значени первого слггаемого и прибавление значени второго слагаемого по модул ;. 2 илThe invention relates to computing and is intended to convert a number from a binary code to a code of a system of residual classes. The device contains adders 2 modular unitary code and a decoder 3 with connections. Moreover, the adders 2 of the unitary modular code perform switching by means of multiplication by two values of the first one and adding the value of the second term modulo ;. 2 yl
Description
1one
ОABOUT
соwith
0000
елate
тt
ЙЙ/YY /
Изобретение относитс к вычислительной технике и предназначено дл преобразовани двоичных кодов в код системы счислени остаточных классов (ССОК) в высокопроизводительных вычислительных машинах , работающих в ССОК.The invention relates to computing and is intended to convert binary codes into code of the number system of residual classes (CCOS) in high-performance computers running on CCOS.
Целью изобретени вл етс упрощение устройства.The aim of the invention is to simplify the device.
На фиг. 1 представлена схема устройства дл преобразовани двоичного кода в код ССОК; на фиг. 2 - схема сумматора унитарных кодов по модулю (дл ).FIG. 1 shows a diagram of a device for converting a binary code into a CCOS code; in fig. 2 - adder unitary codes modulo (dl).
Устройство (фиг. 1) содержит регистр 1, (п-М-1) сумматоров 2 унитарных кодов по модулю, дешифратор 3, выход 4 устройства, причем выходы М старших разр дов регистра 1 соединены соответственно входами разр дов входа дешифратора 3, выходы которого соединены с входами разр дов первого слагаемого (п-М-1)-го сумматора 2 унитарных кодов по модулю. Вход первого слагаемого К-го сумматора 2 унитарных кодов по модулю соединен с выходом (К-И)-го сумматора 2 унитарных кодов по модулю, выход первого сумматора 2 унитарных кодов по модулю вл етс выходом 4 устройства , выход К-го разр да регистра 1 соединен с входом второго слагаемого К-го сумматооа 2 унитарных кодов по модулю, вход устройства - с входом регистра 1The device (Fig. 1) contains a register 1, (pM-1) adders 2 unitary codes modulo a decoder 3, an output 4 devices, and the outputs M of the higher bits of register 1 are connected respectively by the inputs of the bits of the input of the decoder 3, the outputs of which connected to the inputs of the bits of the first addend (pM-1) of the adder 2 unitary codes modulo. The input of the first addendum of the K-th adder 2 unitary codes modulo is connected to the output (CI) of the th adder 2 unitary codes modulo, the output of the first adder 2 unitary codes modulo is output 4 of the device, the output of the K-th bit of the register 1 is connected to the input of the second addendum of the K-th sum of 2 unitary codes modulo the input of the device to the input of the register 1
Сумматор 2 унитарных кодов по модулю (фиг.2) содержит с первого по шестой элементы И 5-10. причем вход первого разр да входа первого слагаемого сумматора 2 унитарных кодов по модулю соединен с первыми входами элементов И 5 и 6, вход второго разр да входа первого слагаемого сумматора 2 унитарных кодов по модулю - с первыми входами элементов И 7 и 8, вход третьего разр да входа первого слагаемого сумматора 2 унитарных кодов по модулю - с первыми входами элементов И 9 и 10. вход первого разр да входа второго слагаемого сумматора 2 унитарных кодов по модулю соединен с вторыми входами элементов И 5,7 v, 9, вход, второго разр да входа второго слагаемого сумматора 2 унитарных кодов по модулю - с вторыми входами элементов И 6, 8 и 10, выходы элементов И 5 и 8 объединены и вл ютс выходом первого разр да ьыхода сумматора 2 унитарных кодов по модупю, выходы элементов И 6 и 9 объеди- нень и вл ютс выходом второго разр да выхода сумматора 2 унитарных кодов по модулю, выходы элементов И 7 и 10 объединены и вл ютс выходом третьего разр да выхода сумматора 2 унитарных кодов по модулю Следует отметить, что объединение выходов элементов И сумматора 2 выполн ет функцию логического ИЛИ, аThe adder 2 unitary codes modulo (figure 2) contains the first to the sixth elements And 5-10. the input of the first discharge of the input of the first term of the adder 2 unitary codes modulo connected to the first inputs of elements 5 and 6, the input of the second discharge of the input of the first term of the adder 2 unitary codes modulo the first inputs of elements 7 and 8, the input of the third discharge Yes, the inputs of the first adder of the adder 2 unitary codes modulo the first inputs of the elements 9 and 10. The input of the first discharge of the input of the second term adder 2 unitary codes modulo the second inputs of the elements 5,7 v, 9, input, the second bit yes the second entrance adder unit 2 unitary codes modulo the second inputs of the elements 6 and 8 and 10, the outputs of the elements 5 and 8 are combined and are the output of the first discharge of the adder 2 unitary codes by modup, the outputs of the elements 6 and 9 are combined and are the output of the second bit of the output of the adder 2 unitary codes modulo, the outputs of the elements 7 and 10 are combined and are the output of the third bit of the output of the adder 2 unitary codes modulo It should be noted that the combination of the outputs of the elements And the adder 2 performs the function of logical Or
нумераци разр дов дана в пор дке возрастани их значений.the numbering of the bits is given in order of increasing their values.
Устройство работает следующим образом .The device works as follows.
В регистр 1 поступает в параллельномRegister 1 enters in parallel
коде двоичное число X:Code binary number X:
+ Ап-1 + ... А02°.(1) + An-1 + ... A02 °. (1)
Величина модул , по которому будет производитьс преобразование, пусть будет Р.The value of the module by which the conversion will be performed, let it be R.
0 Дл описани его в двоичном коде потребуетс М разр дов, т.е.0 To describe it in binary code, M bits will be required, i.e.
Р 2м - у(2)P 2m - y (2)
M log2(P+ у ),(3)M log2 (P + y), (3)
где у - величина, показывающа , на сколь5 ко модуль Р меньше 2м.where y is the value indicating how long the modulus P is less than 2 m.
Таким образом, длину входного слова дешифратора 3 можно найти из (3). В дешифраторе 3 осуществл етс преобразование двоичного кода длиной М разр дов вThus, the length of the input word of the decoder 3 can be found from (3). In the decoder 3, a binary code is converted with a length of M bits to
0 унитарной код Далее преобразованное число поступает на сумматоры 2, где коммутацией разр дов осуществл етс сдвиг числа влево на один разр д и прибавление единицы , если в разр де регистра 1, подключен5 ном к второму входу соответствующего сумматора 2, единица Результат преобразовани снимаетс с выхода 4 устройства.0 unitary code Next, the converted number is fed to adders 2, where by switching the bits the number is shifted left by one bit and the unit is added if, in the register bit 1, 5 connected to the second input of the corresponding adder 2, the result of the conversion is removed from the output 4 devices.
Разр дность двоичного кода не имеет значени , так как наращивание разр дно0 сти осуществл етс простым добавлением сумматоров 2 к устройству, что повышает однородность устройства и может быть использовано при изготовлении его в интегральном исполнении.The binary code size does not matter, since the build-up of the bit size is carried out by simply adding adders 2 to the device, which improves the homogeneity of the device and can be used to make it integral.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU894690891A SU1626385A1 (en) | 1989-03-15 | 1989-03-15 | Device for binary-residue conversion |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU894690891A SU1626385A1 (en) | 1989-03-15 | 1989-03-15 | Device for binary-residue conversion |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1626385A1 true SU1626385A1 (en) | 1991-02-07 |
Family
ID=21447360
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU894690891A SU1626385A1 (en) | 1989-03-15 | 1989-03-15 | Device for binary-residue conversion |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1626385A1 (en) |
-
1989
- 1989-03-15 SU SU894690891A patent/SU1626385A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1417192. кл. Н 03 М 7/18, 1987. Авторское свидетельство СССР N 241107, кл. Н 03 М 7/18, 1967. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4190893A (en) | Modular modulo 3 module | |
SU1626385A1 (en) | Device for binary-residue conversion | |
RU2021630C1 (en) | Modulo 3 adder | |
SU1449986A1 (en) | Device for forming remainders by modulo | |
SU1667054A1 (en) | Modulo three adder-multiplier | |
SU1397919A1 (en) | Device for forming modulo remainders | |
RU2037269C1 (en) | Four-bit-gray-to-binary-coded-decimal code converter | |
RU2045770C1 (en) | Device for generation of modulo-three remainder | |
SU991409A1 (en) | Device for determination of number of ones in a binary number | |
RU2022337C1 (en) | Parallel sign-digit code/additional binary code converter | |
RU2054709C1 (en) | Device for multiplication of numbers represented in position code | |
SU1325484A1 (en) | Device for q = 2m-1 modulus convolution | |
RU2131618C1 (en) | Device for module addition of n integers | |
SU1300462A1 (en) | Device for adding | |
SU1388850A1 (en) | Device for modulo p addition and subtraction of numbers | |
KR880001011B1 (en) | Multiplication Method in Finite Fields | |
SU1501277A1 (en) | Binary to binary-decimal code converter | |
SU1427363A1 (en) | Logarithm taking device | |
SU822174A1 (en) | Converter of direct binary-decimal code into complementary binary-decimal one | |
RU2149442C1 (en) | Device for modulo seven multiplication | |
SU1283979A1 (en) | Binary-coded decimal code-to-binary code converter | |
RU2045771C1 (en) | Device for generation of modulo-five remainder | |
RU2018929C1 (en) | Device for modulo n addition of three numbers | |
SU1097999A1 (en) | Device for dividing n-digit numbers | |
SU1180880A1 (en) | Parallel adder of fibonacci codes |