SU1649535A1 - Fibonacci decimal code adder - Google Patents

Fibonacci decimal code adder Download PDF

Info

Publication number
SU1649535A1
SU1649535A1 SU894709467A SU4709467A SU1649535A1 SU 1649535 A1 SU1649535 A1 SU 1649535A1 SU 894709467 A SU894709467 A SU 894709467A SU 4709467 A SU4709467 A SU 4709467A SU 1649535 A1 SU1649535 A1 SU 1649535A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
prohibition
elements
inputs
bit
Prior art date
Application number
SU894709467A
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 SU894709467A priority Critical patent/SU1649535A1/en
Application granted granted Critical
Publication of SU1649535A1 publication Critical patent/SU1649535A1/en

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано в специализированных машинах. 5tA5i35t25t1 Цель изобретени  - расширение Лункцио- нальных возможностей путем реализации операции вычитани  Фибоначчи-дес тичных кодов. Устройство содержит в -каждом разр де с первого по четвертый элементы 17.1-17.4 запрета, с первого по четвертый элементы И 18.1-1 о.4, преобразователь 19 пр мого кода в дополнительный код, с первого по третий узлы 20.1-20.3 свертки, с первого по четвертый одноразр дные двоичные сумматоры 2201-22.4, с первого по п тый элементы ИЛИ 23.1-23.5, узел 24 коррекции и узел 25 формировани  переносов с соответствующими св з ми. Осуществл етс  суммирование или вычитание n-разр дных Фибоначчи-дес тичных операндов за два такта без распространени  переносов между дес тичными разр дами. 3 з.п.ф-лы, 6 ил., 3 та бл. 6i4 6i3 6i2 Bi17 с $ (ЛThe invention relates to computing and can be used in specialized machines. 5tA5i35t25t1 The purpose of the invention is to expand the functional features by implementing the operation of subtracting Fibonacci-decimal codes. The device contains, in the first to fourth prohibition elements 17.1-17.4, first and fourth elements AND 18.1-1 o.4, the forward code converter 19 to the additional code, the first to third convolution nodes 20.1-20.3, first through fourth one-bit binary adders 2201-22.4, first through fifth elements OR 23.1-23.5, correction unit 24 and transfer generation node 25 with corresponding links. The summation or subtraction of n-bit Fibonacci-decimal operands is performed in two cycles without the spread of hyphens between decimal places. 3 hp ff, 6 ill., 3 ta bl. 6i4 6i3 6i2 Bi17 with $ (L

Description

13 L13 L

1UL1UL

&25& 25

-36-36

2323

Utf MrUtf Mr

ALAL

f. 201 .1f. 201 .1

ww

w,, З . i-. -. л .,- X- f. w ,, З. i-. -. l., - X- f.

«3f73|77 |/7 1 1Шф}1В2 1в 1 3529l 28 j 27 j 261"3f73 | 77 | / 7 1 1Шф} 1В2 1в 1 3529l 28 j 27 j 261

202202

JiJi

19nineteen

3333

3232

J/J /

30thirty

ОЭ 4b CO СЛOE 4b CO SL

со enwith en

Jd Idi2 Bi3 8i4Jd Idi2 Bi3 8i4

Фиг 2Fig 2

Изобретение относитс  к вычислительной технике и может быть использовано в специализированных вычислительных машинах.The invention relates to computing and can be used in specialized computers.

Цель изобретени  - расширение функциональных возможностей путем реализации операции вычитани  Фибоначчи-дес тичных кодов.The purpose of the invention is to expand the functionality by implementing the operation of subtracting Fibonacci-decimal codes.

На фиг. 1 приведена структурна  схема устройства дл  суммировани  Фибоначчи-дес тичных кодов (трехраз- р днЬго)} на фиг. 2 - структурна  схема разр да устройства; на фиг.З - функциональна  схема узла обработки знаков; 4 - функциональна  схема преобразовател  пр мого кода в дополнительный код разр да, кроме младшего, устройства; на фиг. 5 - функциональна  схема преобразовател  пр мого кода в дополнительный код младшего разр да устройства; на фиг, 6 - функциональна  схема узла формировани  переносовFIG. 1 shows a block diagram of a device for summing Fibonacci-decimal codes (three times a day)} in FIG. 2 is a block diagram of a device bit; FIG. 3 is a functional diagram of a character processing node; 4 - functional diagram of the converter of the direct code into the additional code of the discharge, except the younger one, of the device; in fig. 5 is a functional diagram of the direct code converter to the additional code of the lower bit of the device; FIG. 6 is a functional diagram of the transfer generation unit.

Устройстве содержит разр ды 1-3The device contains bits 1-3

устройства, узел 4 обработки знаков, группы входов5.1-5.3 разр дов первого слагаемого устройства, группы входов 6.1-6,3 разр дов второго слагаемого устройства, вход 7 задани  вида операции устройства, группы выходов 8.1- 8.3 разр дов суммы устройства, выход 9 знака устройства, выход 10 сигнала положительного переполнени  устройства , первый 11 и второй 12 входы пе реноса узла 4 обработки знаков, первы 13.1-13.3 и вторые 14.1-14.3 выходы узлов формировани  переносов разр дов 1-3 устройства, первые 15.1-15.3 и вторые 16.1-16.3 входы задани  режима узлов коррекции разр дов 1-3 устройства .device, node 4 processing marks, input groups 5.1-5.3 bits of the first addend device, input groups 6.1-6.3 bits of the second term device, input 7 specifying the type of device operation, output groups 8.1-8.3 bits of the device amount, output 9 device signs, output 10 of the device positive overflow signal, the first 11 and second 12 inputs of the transfer of the character processing node 4, the first 13.1–13.3 and the second 14.1–14.3 outputs of the formation of translations of bits 1–3 of the device, the first 15.1–15.3 and the second 16.1-16.3 inputs of setting the mode of bit correction nodes 1- 3 devices.

Разр д 1(2,3) устройства содержит с первого по четвертый элементы 17.1- 17.4 запрета, с первого по четвертый элементы И 18.1-18.4, преобразователь 19 пр мого кода в дополнительный код, с первого по третий узлы 20.1-20.3 свертки, выход 21 переноса узла 20.3 свертки, с первого по четвертый од- норазр дные двоичные сумматоры 22.1- 22.4, с первого по п тый элементы ИЛИ 23.1-23.5, узел 24 коррекции, узе 25 формировани  переносов, с первого по четвертый входы 26-29 и с первого по шестой выходы 30-35 преобразовател  19 пр мого кода в дополнительный код, шестой 36, п тый 37, второй 38, первый 39, четвертый 40 и третий 41Bit 1 (2,3) of the device contains the first to fourth prohibition elements 17.1-17.4, the first to the fourth elements AND 18.1-18.4, the forward code converter 19 to the additional code, the first to the third convolution nodes 20.1-20.3, the output 21 of the node 20.3 convolution convolution, first through fourth one-bit binary adders 22.1-22.4, first through fifth elements OR 23.1-23.5, correction node 24, hyphenation unit 25, first through fourth inputs 26-29, and first through sixth outputs 30-35 of the forward code converter 19 to the additional code; sixth, 36, fifth 37, second 38, first 39, fourth 40 and third 41

5five

0 5 0 0 5 0

5five

30 15 40 30 15 40

45 5о 45 5o

входы узла 25 формировани  переносов соответственно, выходы 42 и 43 переносов первого 20,1 и второго 20.2 узлов свертки.the inputs of the transfer formation unit 25, respectively, the outputs 42 and 43 of the transfers of the first 20.1 and the second 20.2 convolution nodes.

Узел 4 обработки знаков образуют первый 44 и второй 45 элементы запрета .Node 4 processing signs form the first 44 and the second 45 elements of the ban.

Преобразователь 19 пр мого кода в дополнительный код разр да, кроме младшего, устройства содержит с первого по третий элементы 46-48 запрета , первый элемент И 49, с четвертого по шестой элементы 50-52 запрета, второй элемент И 53, седьмой 54 и восьмой 55 элементы запрета, третий элемент И 56, с первого по п тый элементы ИЛИ 57-61.Converter 19 direct code in the additional code of the bit, except the youngest, the device contains from the first to the third elements 46-48 prohibition, the first element And 49, from the fourth to the sixth elements 50-52 ban, the second element And 53, the seventh 54 and eighth 55 prohibition elements, the third element And 56, from first to fifth elements OR 57-61.

Преобразователь 19 пр мого кода в дополнительный код младшего разр да устройства состоит из первого элемента И 62, первого 63 и второго 64 элементов запрета, второго элемента И 65, третьего 66 и четвертого 67 элементов запрета, третьего элемента И 60, с п того по восьмой элементов 69-72 запрета и первого 73 и второго 74 элементов ИЛИ.Converter 19 direct code to an additional low-order code of the device consists of the first element And 62, the first 63 and second 64 prohibition elements, the second element And 65, the third 66 and fourth 67 prohibition elements, the third element And 60, from the fifth to the eighth elements 69-72 of the ban and the first 73 and second 74 elements OR.

Узел 25 формировани  переносов содержит с первого по шестой элементы И 75-80 и первый 81 и второй 82 элементы ИЛИ, причем вход 36 узла 25 соединен с первыми входами первого элемента ИЛИ 81 и первого элемента И 75, вход 37 - с вторыми входами первого элемента ИЛИ 81 и первого элемента И 75 и первыми входами элементов И 76-78, вход 38 - с третьим входом первого элемента ИЛИ 81 и первыми входами элементов И 79 и 80, вход 39 - с четвертым входом первого элемента ИЛИ 81 и вторыми входами элементов И 76 и 79, вход 40 - с п тым входом элемента ИЛИ 81 и вторым входом элемента И 77, вход 41 - с шестым входом элемента ИЛИ 81 и вторыми входами И 78 и 82, выходы элементов И 75, 76, 78, 79, 80 соединены соответственно с первым, вторым, третьим, четвертым, п тым и шестым входами второго элемента ИЛИ 82, выход которого соединен с выходом 14 узла 25, выход первого элемента ИЛИ 81 соединен с выходом 13 узла 25„The first hyphenation unit 25 contains AND 75-80 and first 81 and second 82 OR elements, the input 36 of node 25 is connected to the first inputs of the first element OR 81 and the first element AND 75, and the input 37 to the second inputs of the first element OR 81 and the first element AND 75 and the first inputs of the elements AND 76-78, input 38 with the third input of the first element OR 81 and the first inputs of the elements AND 79 and 80, input 39 with the fourth input of the first element OR 81 and the second inputs of the AND elements 76 and 79, input 40 - with the fifth input of the element OR 81 and the second input of the element AND 77, one 41 - with the sixth input of the element OR 81 and the second inputs of And 78 and 82, the outputs of the And 75, 76, 78, 79, 80 elements are connected respectively to the first, second, third, fourth, fifth and sixth inputs of the second element OR 82, the output of which is connected to the output 14 of the node 25, the output of the first element OR 81 is connected to the output 13 of the node 25 "

Б устройстве используетс  веса дес тичных разр дов 5, 3, 2, 1. Операци  сложени  проходит за два такта. На первом такте формируетс  сумма и переносы дес тичных разр дов, а наThe device uses decimal bit weights 5, 3, 2, 1. The addition operation takes two ticks. On the first cycle, the sum and transfers of decimal places are formed, and

5. five.

втором такте - гашение переносов простым прибавлением их к значени м соответствующих сумм разр дов. При этом предусмотрен отказ от нормализованной формы представлени  дес тичных чисел и допускаетс  значение дес тичного разр да 10 или 11. Алгоритм сложени  полностью идентичен алгоритму сложени , реализованно му в прототипе,the second cycle is the cancellation of transfers by simply adding them to the values of the corresponding sums of bits. In this case, there is a rejection of the normalized form of representation of decimal numbers and a decimal place of 10 or 11 is allowed. The addition algorithm is completely identical to the addition algorithm implemented in the prototype,

Операцию вычитани  из операнда А операнда Б можно снести к сложению, преобразовав код операнда В в дополнительный код, как код отрицательног числа. Если код операнда В имеет п дес тичных разр дов (с 0-го по (п-1)-й то n-й дес тичный разр д рассматриваетс  как знаковый.The operation of subtracting from operand A of operand B can be carried to addition by converting the code of operand B into an additional code, like a code of a negative number. If the operand B code has n decimal bits (from the 0th to (n − 1) -th, then the nth decimal bit is treated as signed.

Положительные числа представл ют- с  в виде:Positive numbers are represented by:

иИAI

0 10П + В 0-10 + МП1 ,0 10P + B 0-10 + MP1,

. UO. UO

где В« 0,11 - значение 1-го дес ти ного разр да числа В.where В «0.11 is the value of the 1st decimal digit of the number B.

Дополнительный код числа есть дополнение модул  отрицательного числа до некоторого граничного значени  превосход щего максимально возможный модуль. При этом надо учитывать необходимость размещени  отрицательных чисел на положительном участке числовой оси дл  обеспечени  возможности выполнени  вычислений на сумматоре.The complementary code of the number is the complement of the modulus of a negative number up to a certain limit value exceeding the maximum possible modulus. At the same time, it is necessary to take into account the need to place negative numbers on the positive portion of the numerical axis in order to ensure the possibility of performing calculations on the adder.

Максимально возможный модуль п-The maximum possible modulus is

/В/ . 10/AT/ . ten

+ 2-ZV + 2-ZV

+ 10+ 10

Поэтому граничным числом может быть число 2 10 , но при этом возможно попадание отрицательных чисел в дополнительном коде в область положительных чисел. Во избежание этого за граничное число принимаетс  величина, равна  3 ЧОИ.Therefore, the boundary number may be the number 2 10, but it is possible that negative numbers in the additional code may fall into the region of positive numbers. In order to avoid this, a value equal to 3 FER is taken for the boundary number.

Отрицательные числа в дополнительном коде представл ютс  в виде:The negative numbers in the additional code are represented as:

миmi

3-Ю - В ЫОП + (2-10И -2Х--Ю1)3-Y - In IOP + (2-10, -2X - Yu1)

т.е. знаковому разр ду числа предварительно присваиваетс  значение 1, а дополнительный код значащей части числа получаетс  дополнением до 2-10й, т.е дополнительный код 1-го дес тичного разр да отрицательного числа получаетс  следующим образом;those. the sign bit of the number is preassigned to 1, and the additional code of the significant part of the number is obtained by adding up to 2–10, that is, the additional code of the 1st decimal digit of the negative number is obtained as follows;

Эоп пр d- 20 - d- при 1 0;Eop pr d- 20 - d- at 1 0;

df°; 18 - + при i 1,2.... где d. - значение 1-го дес тичногоdf °; 18 - + at i 1,2 .... where d. - value of the 1st decimal

т разр да пр мого кода числа; оап d- - значение 1-го дес тичногоt bit direct code number; oap d- - the value of the 1st decimal

разр да дополнительногоextra size

« "

- -

0 0

5 five

00

5five

кода числа; P. перенос из (i-1)-ro разр да.number code; P. Transfer from (i-1) -ro bit.

После приведени  дополнительного кода числа к нормализованному виду значение в знаковом разр де равно 2. После преобразовани  операнда В далее производитс  сложение кодов известным способом, указанным выше.After the additional code of the number is reduced to a normalized form, the value in the sign bit is 2. After the operand B is transformed, the codes are then added in the manner described above.

Узел 4 обработки знаков предназначен дп  формировани  знака результата и сигнала положительного переполнени  в зависимости от производимой в устройстве операции и значений сигналов переноса из старшего дес тичного разр да устройства. Он реализуетThe character processing node 4 is intended to allow the formation of the sign of the result and the positive overflow signal, depending on the operation performed in the device and the values of the transfer signals from the device's highest decimal place. It implements

следующие логические функции: сг Р,following logic functions: cr P,

СWITH

- ст Р.-О)ЗИ Г 1 ш 1- R.-O) ZI G 1 sh 1

ппф co-pf,ppf co-pf,

где C-JH знак результата;where C-JH is the sign of the result;

ПП. - сигнал положительного переполнени ;Pp - positive overflow signal;

СО 0 - если производитс  сложение операндов;CO 0 - if the addition of operands is performed;

- если производитс  вычитание операндов; - if operands are subtracted;

РСТPCT

М M

per геper ge

- соответственно значени  первого и второго переносов из старшей декады в знаковые разр ды.- respectively, the values of the first and second carries from the highest decade to sign bits.

Преобразователь 19 реализует функции ДЛЯ любого 1-го дес тичного 0 разр да, кроме младшего, и функцииConverter 19 implements the functions FOR any 1st decimal 0 bit, except the youngest, and the function

f -f ri Г6f-f ri G6

дл  младшего дес тичного разр да . Функции - значени  соответственно с первого по четвертый двоичных разр дов дополнительного кодаfor the lowest decimal place. Functions - values, respectively, from the first to the fourth binary bits of the additional code

5 соответствующего дес тичного разр да, f. - f - то же, дл  младшего дес тичного разр да, функции ., Ј4 fg- - перенос в старший разр д (возникают при нормализации дополнительного кода 5 corresponding decimal place, f. - f - the same, for the lower decimal place, functions., Ј4 fg- - transfer to the higher bit (occur when the additional code is normalized

0 соответственно 1-го,младшего дес тичных разр дов). Эти функции заданы в табл. 1.0, respectively, of the 1st, lower decimal places). These functions are given in Table. one.

Узлы 20.1-20.3 свертки предназначе- 5 ны дл  нормализации дес тичного разр да операнда, если его значение больше 9, т.е. 10 или 11.The nodes 20.1–20.3 convolutions are intended to normalize the decimal bit of the operand if its value is greater than 9, i.e. 10 or 11.

Фиббоначчи-дес тичный сумматор Представл ет собой совокупность че-Fibonacci-decimal adder is a collection of

7171

тырех одноразр дных сумматоров 22.1- 22.4, предназначенных дл  суммировани  двух Фибоначчи-дес тичных цифр операндов А и В соответственно с весами 5, 3. 2, 1, соединенных между собой цеп ми переносов на основании правил суммировани , описанных в устройстве дл  суммировани  Фибоначчи-дес тичных кодов.three one-bit adders 22.1-22.4, designed to sum two Fibonacci-decimal digits of operands A and B, respectively, with weights of 5, 3, 2, 1, interconnected by chains of hyphens based on the summation rules described in the Fibonacti summing device decimal codes.

Узел 24 коррекции предназначен дл  коррекции суммы, прошедшей нормализацию в узле 20.3 свертки с учетомCorrection unit 24 is intended to correct the amount that has passed the normalization at convolution node 20.3, taking into account

переносов Р,, и Р из предыдущего дес тичного разр да устройства Узел коррекции может быть реализован комбинационным или на основе ПЗУ, что более экономично.transfers P ,, and P from the previous decimal bit of the device. The correction node can be implemented combinational or based on ROM, which is more economical.

Карта прошивки ПЗУ приведена в табл. 2.ROM firmware card is shown in Table. 2

Узел 25 формировани  переносов предназначен дл  формировани  переносов Р, и РЈ в последующий разр д устройства в зависимости от поступающих на его входы переносов из преобразовател  19, узлов 20.1-20.3 свертки и сумматора 22.4. Это комбинационный узел, реализующий функции Р и Р, которые задаютс  следующими логическими выражени ми:The transfer generation unit 25 is designed to form the P and PЈ transfers into the subsequent device discharge, depending on the transfers arriving at its inputs from the converter 19, the convolution nodes 20.1-20.3, and the adder 22.4. This is a combinational node that implements the functions P and P, which are defined by the following logical expressions:

л, /ч/ - А Р , Т. + „ + Р, + + Рг + 7,l, / h / - AR, T. + „+ P, + + Pr + 7,

1one

Р«2 Р(P “2 P (

Л,  L,

:  :

Л, /-Л.L, / -L.

Рг +, Р, Р.Pr +, P, R.

Р Р 1 згбР Р 1 zgb

г. Чcity H

РЛRL

Г R

+ Р„Р,+ Р „Р,

Ггг6GGG6

гдеWhere

Л.L.

р„R"

р; р„ перенос из преобразовател  19 младшего разр да устройства;R; p перенос transfer from converter 19 to low-order device;

перенос из преобразовател  19 соответствующего разр да устройства,transfer from converter 19 of the corresponding bit of the device,

перенос из второго узла 20.2 свертки;transfer from the second node 20.2 convolution;

перенос из первого узла 20.1 свертки;transfer from the first node 20.1 convolution;

перенос из четвертого одноразр дного сумматора 22.4; перенос из третьего узла 20. 3,.свертки.transfer from the fourth one-bit adder 22.4; transfer from the third node 20. 3., convolutions.

Несмотр  на то, что в формировании переноса в последующий разр д участвуют шесть сигналов переноса из различных узлов соответствующего разр да , величина максимального перено- qa в следующий разр д равна 2Г Наличие одного из шести возможных переносов допускает наличие только еще одного другого переноса, исключа  полностью возникновение четырех других переносов.Despite the fact that six transfer signals from various nodes of the corresponding bit are involved in the formation of transfer in the subsequent discharge, the maximum transfer value to the next discharge is 2G. One of the six possible transfers allows only one more transfer, excluding completely the emergence of four other hyphenation.

РR

ЛР ,LR,

В табл. 3 показано,, какие из пеIn tab. 3 shows which of the ne

00

5five

5five

00

5five

00

реносов могут возникнуть одновременно .Renos can occur simultaneously.

Устройство работает следующим образом .The device works as follows.

Одновременно на входы 5 и 6 устройства поступают коды дес тичных разр дов обрабатываемых дес тичных чисел А и В На вход 7 устройства поступает нулевой сигнал, если числа А и В надо сложить, и единичный сигнал, если из числа А надо вычесть число В.At the same time, the decimal codes of the processed decimal numbers A and B are received at the inputs 5 and 6 of the device. The device 7 receives a zero signal if the numbers A and B need to be added, and a single signal if the number B is subtracted from number A

При сложении входных дес тичных чисел А и В, если любой дес тичный разр д любого из чисел А и В имеет значение 10 или 11, то узлы 20.1 и 20.2 свертки соответствующих дес тичных разр дов производ т нормализацию , в результате чего через выходы 20.1 и 20.2 узлов свертки единичные сигналы переноса поступают на соответствующие входы узла 25. Если произошла нормализаци  одноименных дес тичных разр дов сразу обоих чисел, то по вление единичного сигнала с выхода переноса сумматора 22.4 и узла 20.3 свертки соответствующего дес Q тичного разр да исключаетс . Затем нормализованный операнд А поступает на соответствующие входы одноразр дных сумматоров 22, а нормализованный операнд В через элементы ИЛИ 23 поступает на соответствующие входы одноразр дных сумматоров 22, где происходит первый такт сложени . Если в результате суммировани  на сумматоре 22.4 возникает перенос в старший дес тичный разр д, то единичный сигнал поступает на соответствующий вход узла 25. В этом случае полученна  сумма не нуждаетс  в дальнейшей нормализации. Полученна  сумма с выходов сумматоров 22 поступает на соответствующие входы узла 20.3 свертки, где в случае необходимости происходит нормализаци  результата, в результате чего через выход узла 20.3 свертки единичный сигнал переноса поступает на соответствующий вход узла 25. Затем результат поступает на узел 24 коррекции, где происходит коррекци  полученного результата с учетом переносов из младшего разр да,When adding the input decimal numbers A and B, if any decimal bit of any of the numbers A and B is 10 or 11, then the nodes 20.1 and 20.2 of the convolution of the corresponding decimal bits normalize, resulting in outputs 20.1 and 20.2 convolution nodes, single transfer signals arrive at the corresponding inputs of node 25. If the same decimal bits of both numbers normalize, then a single signal from the transfer output of adder 22.4 and convolution node 20.3 of the corresponding Q digit is excluded. Then, the normalized operand A is fed to the corresponding inputs of one-bit adders 22, and the normalized operand B through the elements OR 23 goes to the corresponding inputs of one-bit adders 22, where the first step of the addition occurs. If, as a result of the summation on the adder 22.4, a transfer to the higher decimal bit occurs, then a single signal is fed to the corresponding input of the node 25. In this case, the sum obtained does not need further normalization. The resulting amount from the outputs of adders 22 is fed to the corresponding inputs of the convolution node 20.3, where, if necessary, the result is normalized, resulting in a single transfer signal through the output of the convolution node 20.3 to the corresponding input of the node 25. Then the result goes to the correction node 24, where correction of the result obtained taking into account the carry from the lower bit,

5 формируемых узлом 25 младшего разр да .5 formed by the node 25 junior bit.

При вычитании из дес тичного операнда А дес тичного операнда В каждыйWhen subtracting from the decimal operand A the decimal operand B each

дес тичный разр д последнего поступает на входы преобразовател  19 соответствующего дес тичного разр да, где происходит преобразование исходного кода операнда В в дополнительный код. Возникаклцие при этом единичные сигналы переносов в старший разр д с выходов преобразовател  19 поступают на соответствующие входы узла 25. Допол- нительный код операнда В черет элементы ИЛИ 23 поступает на соответствующие входы одноразр дных сумматоров 22. Операнд Л поступает на узел 20.1 свертки, в котором происходитThe decimal bit of the latter is fed to the inputs of the converter 19 of the corresponding decimal place, where the source code of the operand B is converted into an additional code. The occurrence of single carry signals to the high order from the outputs of the converter 19 is fed to the corresponding inputs of node 25. The additional operand code B to the OR OR 23 elements is fed to the corresponding inputs of single-bit adders 22. Operand L arrives at the convolution node 20.1, in which happens

его нормализаци , и на соответствующие входы одноразр дных сумматороп 22 Далее аналогично, как при сложении операндов А и В.its normalization, and to the corresponding inputs of one-bit totalizers 22 Next, in the same way as when adding operands A and B.

Claims (4)

1. Устройство дл  суммировани  Фибоначчи-дес тичных кодов, содержащее в каждом разр де с первого по третий узлы свертки, с первого по четвертый одноразр дные двоичные сумматоры, первый элемент ИЛИ, узел коррекции и узел формировани  переносов , причем первые входы групп разр дов первого слагаемого устройства соединены с входами первых слагаемых первых одноразр дных двоичных сумматоров соответствующих разр дов устройства, с второго по четвертый входы групп разр дов первого слагаемого устройства соединены соответственно с первыми, вторыми и третьими входами первых узлов свертки соответствующих разр дов устройства, с первого по третий выходы результата первого узла свертки каждого разр да устройства соединены с входами первых слагаемых соответственно второго , третьего и четвертого одноразр дных двоичных сумматоров того же разр да устройства, выход переноса k-го (k 1-3) одноразр дного двоичного сумматора каждого разр да устройства соединен с входом переноса (k-H)-ro одноразр дного двоичного сумматора того же разр да устройства выходы переноса второго и третьего одноразр дных двоичных сумматоров каждого разр да устройства соединены соответственно с первым и вторым вхо дами первого элемента ИЛИ того же разр да устройства, выход первого элемента ИЛИ каждого разр да устрой1. A device for summing Fibonacci-decimal codes, containing in each bit from the first to the third convolution nodes, from the first to the fourth one-bit binary adders, the first OR element, the correction node and the formation unit of hyphens, and the first inputs of groups of bits of the first The addend device is connected to the inputs of the first addendum of the first one-bit binary adders of the corresponding device bits, the second to the fourth inputs of the groups of bits of the first term device are connected respectively to the first, The first and third inputs of the first convolution nodes of the corresponding bits of the device, the first and third outputs of the result of the first convolution node of each bit of the device are connected to the inputs of the first terms of the second, third and fourth one-bit binary adders of the same bit of the device, output transfer k- go (k 1-3) of a one-bit binary adder of each bit of the device is connected to the transfer input (kH) -ro of a one-bit binary adder of the same bit of the device; transfer outputs of the second and third o bottom binary accumulators of each bit of the device are connected respectively to the first and second inputs of the first element OR of the same bit of the device, the output of the first element OR of each bit of the device 5five 00 5 п 0 5 5 n 0 5 5five ства соединен с входом переноса первого одноразр дного двоичного сумматора того же разр да устройства, выходы суммы с второго по четвертый одноразр дных двоичных сумматоров каждого разр да устройства соединены соответственно с входами с первого по третий третьего узла свертки того же разр да устройства, выход суммы первого одноразр дного двоичного сумматора и с первого по третий выходы результата третьего узла свертки каж- horo разр да устройства соединены соответственно с информационными входами с первого по четвертый узла коррекции того же разр да устройства , выходы узлов коррекции разр дов устройства  вл ютс  группами выходов соответствующих разр дов суммы устройства, выходы переноса с первого по третий узлов свертки и выход переноса четвертого одноразр дного двоичного сумматора каждого разр да устройства соединены соответственно с входами с первого по четвертый узла формировани  переносов того же разр да устройства, первый и второй выходы узла формировани  переносов предыдущего разр да устройства соединены соответственно с первым и вторым входами задани  режима узла коррекции последующего разр да устройства, о т- личающеес  тем, что, с целью расширени  функциональных возможностей путем реализации операции вычитани  Фибоначчи-дес тичных кодов, оно содержит узел обработки знаков и в каждый разр д устройства дополнительно введены с первого по четвертый элементы И, с первого по четвертый элементы запрета, преобразователь пр мого кода в дополнительный код и с второго по п тый элементы ИЛИ, причем m-е (т 1-4) входы групп разр дов второго слагаемого устройства соединены с первыми входами га-х элементов И и с информационными входами т-х элементов запрета соответствующих разр дов устройства, вход задани  вида операции которого соединен с вторыми входами с первого по четвертый элементов И, с управл ющими входами с первого по четвертый элементов запрета каждого разр да устройства и входом задани  режима узла обработки в знаков, выходы с первого по четвертый элементов И каждого разр да устройства соединены соответственно сconnected to the transfer input of the first one-bit binary adder of the same bit of the device, the outputs of the second to fourth one-bit binary adders of each bit of the device are connected respectively to the inputs of the first to the third third convolution node of the same bit of the device, the output of the sum of the first the one-bit binary adder and the first to third outputs of the result of the third convolution node of each device device are connected respectively to the information inputs of the first to fourth correction nodes The same device bits, the outputs of the device bits correction units are the output groups of the corresponding device amount bits, the transfer outputs from the first to the third convolution nodes, and the transfer output of the fourth one-bit binary adder of each device bit are connected respectively to the first to third inputs the fourth node of the formation of transfers of the same bit of the device, the first and second outputs of the node of the formation of transfers of the previous bit of the device are connected respectively to the first and second inputs of the the mode of the node subsequent bit correction correction device, that is, in order to expand the functionality by implementing the Fibonacci-decimal codes subtraction operation, it contains the character processing node and in each bit of the device the first to fourth elements are additionally entered And, from the first to the fourth elements of the prohibition, the converter of the direct code into the additional code and from the second to the fifth elements OR, the mth (m 1-4) inputs of the groups of bits of the second term of the device are connected to the first inputs And the x-elements And with the information inputs of the prohibition elements of the corresponding device bits, the input of the operation type of which is connected to the second inputs from the first to the fourth elements And, to the control inputs from the first to the fourth elements of the prohibition of each bit of the device and the input of the setting of the processing node mode into characters, the outputs from the first to the fourth elements AND of each bit of the device are connected respectively to перв гб по четвертый входами преобразовател  пр мого кода в дополнительный код того же разр да устройства, с первого по четвертый выходы преобразовател  пр мого кода в дополнительный код каждого разр да устройства соединены с первыми входами соответственно с второго по п тый элементов ИЛИ того же разр да устройства , п тый выход преобразовател  пр мого кода в дополнительный код соединен с соответствующим входом узла формировани  переносов того же разр да устройства, шестой выход преобразовател  пр мого кода в дополнительный код младшего разр да устройства соединен с соответствующим входом узла формировани  переносов этого же разр да устройства, выход первого элемента запрета каждого разр да устройства соединен с вторым входом второго элемента ИЛИ того же разр да устройства, выходы с второго по четвертый элементов запрета каждого разр да устройства соединены соответственно с первого по третий входами второго узла свертки того же разр да устройства, с первого по третий выходы результата второго узла свертки каждого разр да устройства соединены с вторыми входами соответ- , ственно с третьего по п тый элементов ИЛИ того же разр да устройства, выходы с второго по п тый элементов ИЛИthe first GB through the fourth inputs of the direct code converter to the additional code of the same bit of the device, the first to the fourth outputs of the direct code converter to the additional code of each bit of the device are connected to the first inputs of the second to the fifth elements OR of the same bit, respectively the device, the fifth output of the direct code to additional converter is connected to the corresponding input of the transfer unit of the same bit of the device, the sixth output of the direct code converter to the additional code is m The next bit of the device is connected to the corresponding input of the node forming the transfers of the same bit of the device, the output of the first prohibition element of each bit of the device is connected to the second input of the second element OR of the same bit of the device, the outputs of the second to fourth elements of the prohibition of each bit of the device are connected respectively, the first to the third inputs of the second convolution node of the same bit of the device, the first to the third outputs of the second convolution node of each bit of the device are connected to the second inputs from the third to the fifth elements OR of the same device bit, outputs from the second to the fifth elements OR нены с входами вторых слагаемых соответственно с первого по четвертый одноразр дных двоичных сумматоров того же разр да устройства, первый и второй выходы узла формировани  перекосов старшего разр да устройства соединены соответственно с первым и вторым входами переноса узла обработки знаков , первый выход которого соединен с выходом знака устройства, второй выход узла обработки знаков соединен с выходом сигнала положительного переполнени  устройства.The first and second outputs of the device for distorting the high bit of the device are connected to the first and second inputs of the transfer of the character processing node, the first output of which is connected to the output of the character the device, the second output of the character processing unit is connected to the output of the device overflow signal. 2. Устройство по п. 1, о т л и102. The device according to claim 1, of tl and 10 1515 2020 2525 30thirty входом первого элемента запрета и информационным входом второго элем та запрета, выход которого  вл етс вторым выходом узла обработки знак второй вход переноса и первый выхо которого соединены соответственно с вторым управл ющим входом и выхо дом первого элемента запрета.the input of the first prohibition element and the information input of the second prohibition element, the output of which is the second output of the processing unit, the sign of the second transfer input and the first output of which are connected respectively to the second control input and output of the first prohibition element. 3. Устройство по п. 1, отличающеес  тем, что преобраз ватель пр мого кода в дополнительн код разр да, кроме младшего, устро ства содержит с первого по восьмой элементы запрета, первый, второй и третий элементы И, с первого по п  тый элементы ИЛИ, причем первый вх преобразовател  пр мого кода в доп нительный код соединен с первыми у равл ющими входами первого, п того и седьмого элементов запрета, упра л ющим входом шестого элемента зап та, первым информационным входом в рого элемента запрета, информацион входом четвертого элемента запрета и первыми входами первого и третье3. The device according to claim 1, characterized in that the converter of the direct code into the additional code of the discharge, except the younger one, contains from the first to the eighth prohibition elements, the first, second and third elements AND, from the first to the fifth elements OR, the first input converter direct code to the additional code is connected to the first equalizing inputs of the first, fifth and seventh prohibition elements, the control input of the sixth element, the first information input to the third prohibition element, information input of the fourth element ban and lane the inputs of the first and third элементов И, второй вход преобразо тел  пр мого кода в дополнительный код соединен с вторым управл ющим входом первого элемента запрета, уп равл ющим входом второго элемента запрета, информационными входами третьего и п того элементов запрет первым информационным входом шесто элемента запрета, вторым входомAnd elements, the second input of the direct code conversion body into the additional code is connected to the second control input of the first prohibition element, the control input of the second prohibition element, information inputs of the third and fifth prohibition elements, the first information input of the sixth prohibition element, the second input каждого разр да устройства соеди- первого элемента И и первым входомeach bit of the device connect the first element AND and the first input 4040 4545 5050 второго элемента И, третий вход пр разовател  пр мого кода в дополнит ный код соединен с вторыми информационными входами второго и шестого элементов запрета, управл ющими вхо дами третьего и четвертого элементов запрета, вторым управл ющим вхо дом п того элемента запрета, вторым входами второго и третьего элементов И, первым управл ющим входом восьмого элемента запрета, и первым инверсным входом первого элемента ИЛИ, четвертый вход преобразовател  пр мого кода в дополнительный код соединен с вторыми управл ющими вхо дами седьмого и восьмого элементов запрета, третьим входом третьего элемента И и вторым инверсным входо первого элемента ИЛИ, третий вход КОТОРОГО сординен с выходом первого элемента запрета, выход второго эле мента запрета соединен с первыми входами второго и четвертого элеменThe second element And, the third input of the direct code generator to the additional code is connected to the second information inputs of the second and six prohibition elements, the control inputs of the third and fourth prohibition elements, the second control input of the fifth prohibition element, the second inputs of the second and the third AND element, the first control input of the eighth prohibition element, and the first inverse input of the first OR element, the fourth input of the direct code to additional code converter is connected to the second control inputs of the seventh and of the seventh prohibition element, the third input of the third element AND and the second inverse input of the first element OR, the third input of which is connected with the output of the first prohibition element, the output of the second prohibition element is connected to the first inputs of the second and fourth elements чающеес  тем, что узел обработки знаков содержит первый и второй элементы запрета, причем вход задани  режима узла обработки знаков соединен с информационным входом первого элемента запрета и управл ющим входом второго элемента запрета, первый вход переноса узла обработки знаков соединен с первым управл ющимSince the character processing node contains the first and second prohibition elements, the mode setting input of the character processing node is connected to the information input of the first prohibition element and the control input of the second prohibition element, the first transfer input of the character processing node is connected to the first control 5five 00 5five 00 входом первого элемента запрета и с информационным входом второго элемента запрета, выход которого  вл етс  вторым выходом узла обработки знаков, второй вход переноса и первый выход которого соединены соответственно с вторым управл ющим входом и выходом первого элемента запрета.the input of the first prohibition element and the information input of the second prohibition element, the output of which is the second output of the character processing section, the second transfer input and the first output of which are connected respectively to the second control input and the output of the first prohibition element. 3. Устройство по п. 1, отличающеес  тем, что преобразователь пр мого кода в дополнительный код разр да, кроме младшего, устройства содержит с первого по восьмой элементы запрета, первый, второй и третий элементы И, с первого по п тый элементы ИЛИ, причем первый вход преобразовател  пр мого кода в дополнительный код соединен с первыми управл ющими входами первого, п того и седьмого элементов запрета, управл ющим входом шестого элемента запрета , первым информационным входом второго элемента запрета, информационным входом четвертого элемента запрета, и первыми входами первого и третьего3. A device according to claim 1, characterized in that the direct code converter into the additional code of the bit, except the minor one, comprises from the first to the eighth prohibition elements, the first, second and third elements AND, from the first to the fifth elements OR, the first input of the direct code to additional code converter is connected to the first control inputs of the first, fifth and seventh prohibition elements, the control input of the sixth prohibition element, the first information input of the second prohibition element, the information input of the fourth ele Enta ban, and the first inputs of the first and third элементов И, второй вход преобразовател  пр мого кода в дополнительный код соединен с вторым управл ющим входом первого элемента запрета, управл ющим входом второго элемента запрета, информационными входами третьего и п того элементов запрета, первым информационным входом шестого элемента запрета, вторым входомAnd elements, the second input of the direct code to additional code converter is connected to the second control input of the first prohibition element, the control input of the second prohibition element, information inputs of the third and fifth prohibition elements, the first information input of the sixth prohibition element, the second input 5 первого элемента И и первым входом5 of the first element And the first entrance 00 5five 00 5five второго элемента И, третий вход преобразовател  пр мого кода в дополнительный код соединен с вторыми информационными входами второго и шестого элементов запрета, управл ющими входами третьего и четвертого элементов запрета, вторым управл ющим входом п того элемента запрета, вторыми входами второго и третьего элементов И, первым управл ющим входом восьмого элемента запрета, и первым инверсным входом первого элемента ИЛИ, четвертый вход преобразовател  пр мого кода в дополнительный код соединен с вторыми управл ющими входами седьмого и восьмого элементов запрета, третьим входом третьего элемента И и вторым инверсным входом первого элемента ИЛИ, третий вход КОТОРОГО сординен с выходом первого элемента запрета, выход второго элемента запрета соединен с первыми входами второго и четвертого элементов ИЛИ, выход третьего элемента запрета соединен с вторым входом второго элемента ИЛИ, выходы первого элемента И и четвертого элемента запрета соединены соответственно с входами третьего элемента ИЛИ, выходы п того и шестого элементов запрета соединены соответственно с вторым и третьим входами четвертого элемента ИЛИ, выходы второго элемента И, седьмого и восьмого элементов запрета и третьего элемента И соединены соответственно с входами п того элемента ИЛИ, выходы с первого по п тый элементов ИЛИ  вл ютс  соответственно п тым, первым, вторым, третьим и четвертым выходами преобразовател  пр мого кода в дополнительный код.The second element And, the third input of the direct code converter to the additional code is connected to the second information inputs of the second and sixth prohibition elements, the control inputs of the third and fourth prohibition elements, the second control input of the fifth prohibition element, the second inputs of the second and third elements And the first control input of the eighth prohibition element, and the first inverse input of the first element OR, the fourth input of the direct code to additional code converter is connected to the second control inputs seven th and eighth prohibition elements, the third input of the third element AND and the second inverse input of the first element OR, the third input of which is connected to the output of the first prohibition element, the output of the second prohibition element is connected to the first inputs of the second and fourth elements OR, the output of the third prohibition element is connected to the second the input of the second element OR, the outputs of the first element And the fourth element of the ban are connected respectively to the inputs of the third element OR, the outputs of the fifth and sixth elements of the ban are connected respectively the second and third inputs of the fourth OR element, the outputs of the second element AND, the seventh and eighth prohibition elements and the third element AND are connected respectively to the inputs of the fifth OR element, the outputs from the first to the fifth OR elements are, respectively, the fifth, first, second, the third and fourth outputs of the direct code to additional code converter. 4. Устройство по п. 1, о т л и- чающе. ее   тем, что преобразователь пр мого кода в дополнительный код младшего разр да устройства содержит с первого по восьмой элементы запрета, с первого по третий элементы И, первый и второй элементы ИЛИ, причем первый вход преобразовател  пр мого кода в дополнительный код соединен с первыми входами с первого по третий элементов И, с первыми управл ющими входами первого, второг и восьмого элементов запрета и информационными входами третьего и п того элементов запрета и  вл етс  первым выходом преобразовател  пр мого кода в дополнительный код, второй вход которого соединен с вторыми входами4. The device according to claim 1, of which is inclusive. The fact that the direct code converter to the additional low-order code of the device contains from the first to the eighth prohibition elements, from the first to the third elements AND, the first and second elements OR, and the first input of the direct code to additional code converter is connected to the first inputs the first to third elements of AND, with the first control inputs of the first, second, and eighth prohibition elements and the information inputs of the third and fifth prohibition elements, and is the first output of the direct code to additional converter th code, the second input of which is connected to the second inputs 00 5five 00 5five 00 5five первого, второго и третьего элементов И, с вторыми управл ющими входами первого, второго и восьмого элементов запрета и информационными входами четвертого и шестого элементов запрета , третий вход преобразовател  пр мого кода в дополнительный код соединен с третьим входом первого элемента И, третьими управл ющими входами первого и восьмого элементов запрета, информационными входами второго и седьмого элементов запрета и управл ющими входами третьего и четвертого элементов запрета, четвертый вход преобразовател  пр мого кода в дополнительный код соединен с четвертым входом первого элемента И, четвертым управл ющим входом первого элемента запрета, управл ющими входами п того, шестого и седьмого элементов запрета и информационным входом восьмого элемента запрета, выходы второго элемента И, третьего и четвертого элементов запрета соединены соответственно с входами первого элемента ИЛИ, выходы третьего элемента И, с п того по восьмой элементов запрета соединены соответственно с входами второго элемента ИЛИ, выходы второго элемента запрета, первого и второго элементов ИЛИ, инверсный выход первого элемента И.и выход первого элемента запрета соединены соответственно с выходами с второго по шестой преобразователей пр мого кода в дополнительный код.the first, second and third elements And, with the second control inputs of the first, second and eighth prohibition elements and information inputs of the fourth and sixth elements of the prohibition, the third input of the direct code to additional code converter is connected to the third input of the first element And, the third control inputs first and eighth prohibition elements, information inputs of the second and seventh prohibition elements, and control inputs of the third and fourth prohibition elements, the fourth input of the direct code converter in the additional The user code is connected to the fourth input of the first element I, the fourth control input of the first prohibition element, the control inputs of the fifth, sixth and seventh prohibition elements and the information input of the eighth prohibition element, the outputs of the second element I, the third and fourth prohibition elements are connected respectively to the inputs the first element OR, the outputs of the third element AND, from the fifth to the eighth prohibition elements are connected respectively to the inputs of the second element OR, the outputs of the second prohibition element, the first and second el OR, the inverse output of the first element I. and the output of the first prohibition element are connected respectively to the outputs from the second to the sixth direct code to additional code converters. Т ITI Таблица 1Table 1 Таблица 2table 2 7 5.3 &37 5.3 & 3 10ten Т ТT T fc/fc / //// 4444 /f/ f 4545 ФигЗFigz 5.2 6.2 Ј5.2 6.2 5.1 6.15.1 6.1 uu УHave II Л/ L / 10ten лl 3636 Щиг.5Schig.5 $$ #.# 41,41, 8181
SU894709467A 1989-06-23 1989-06-23 Fibonacci decimal code adder SU1649535A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU894709467A SU1649535A1 (en) 1989-06-23 1989-06-23 Fibonacci decimal code adder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU894709467A SU1649535A1 (en) 1989-06-23 1989-06-23 Fibonacci decimal code adder

Publications (1)

Publication Number Publication Date
SU1649535A1 true SU1649535A1 (en) 1991-05-15

Family

ID=21456221

Family Applications (1)

Application Number Title Priority Date Filing Date
SU894709467A SU1649535A1 (en) 1989-06-23 1989-06-23 Fibonacci decimal code adder

Country Status (1)

Country Link
SU (1) SU1649535A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112787658A (en) * 2020-12-31 2021-05-11 卓尔智联(武汉)研究院有限公司 Logical operation circuit based on Fibonacci system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 945862, кп. G 06 F 7/49, 1901. Авторское свидетельство СССР по за вке № 4450608/24-24, ют. G 06 F 7/49, 1988. *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112787658A (en) * 2020-12-31 2021-05-11 卓尔智联(武汉)研究院有限公司 Logical operation circuit based on Fibonacci system

Similar Documents

Publication Publication Date Title
EP0467524B1 (en) Lookahead adder
US4623872A (en) Circuit for CSD-coding of a binary number represented in two's complement
SU1649535A1 (en) Fibonacci decimal code adder
US6546411B1 (en) High-speed radix 100 parallel adder
SU1679483A1 (en) Multi-port adder
SU1442988A1 (en) Combination adder
RU2030783C1 (en) Device for determination of number of units in binary eight-digit code
SU696450A1 (en) Device for adding in redundancy notation
SU1476460A1 (en) Redundant code adder
SU1200279A1 (en) Device for adding in redundant number system
SU627478A1 (en) Combination-type two-digit adder
SU1180880A1 (en) Parallel adder of fibonacci codes
SU1137460A1 (en) Conveyer adder
SU817700A1 (en) Device for adding n single-digit binary numbers
SU1003074A1 (en) Device for parallel algebraic adding in sign-digit number system
SU822174A1 (en) Converter of direct binary-decimal code into complementary binary-decimal one
SU1501278A1 (en) Reversible binary-decimal to binary code converter
SU991419A2 (en) Digital function converter
SU1336250A1 (en) Binary-coded decimal code-to-binary code converter
RU1797111C (en) Device for counting number of units
SU981993A1 (en) Fibonacci code adder
SU868767A1 (en) Device for computing polynomials
SU794634A1 (en) Device for multiplying series code by fractional factor
SU900282A1 (en) Device for adding n-bit decimal numbers
SU1387201A1 (en) Device for generating modulo remainders