[go: up one dir, main page]

SU809152A1 - Device for bcd-to-binary conversion - Google Patents

Device for bcd-to-binary conversion Download PDF

Info

Publication number
SU809152A1
SU809152A1 SU792730328A SU2730328A SU809152A1 SU 809152 A1 SU809152 A1 SU 809152A1 SU 792730328 A SU792730328 A SU 792730328A SU 2730328 A SU2730328 A SU 2730328A SU 809152 A1 SU809152 A1 SU 809152A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
additional
adder
inputs
Prior art date
Application number
SU792730328A
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 SU792730328A priority Critical patent/SU809152A1/en
Application granted granted Critical
Publication of SU809152A1 publication Critical patent/SU809152A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Description

(54) УСТРОЙСТВО ДЛЯ ПРЕОБРАЗОВАНИЯ ДВОИЧНОДЕСЯТИЧНБ1Х ЧИСЕЛ В ДВОИЧНЫЕ(54) DEVICE FOR TRANSFORMING BINARY-TO-DENIAL NUMBER TO BINARY

исходного двоично-дес тичного числа на число 1010 и в передаче полученного результата от входа к выходу вспомогательного п-разр дного сдвигового регистра. При этом п тактов тратитс  на ввод двоично-дес тичного числа в устройство.the initial binary-decimal number by the number 1010 and in the transfer of the result obtained from the input to the output of the auxiliary n-bit shift register. In this case, clock cycles are spent on inputting a binary-decimal number into the device.

Наиболее близким техническим решением к предлагаемому  вл етс  устройство дл  преобразовани  двоично-дес тичных чисел в двоичные, содержащее распределитель, информационный вход которого соединен с .первой управл ющей шиной устройства, установочный вход - с шиной сброса устройства и нулевым входом триггера, единичный вход которого подключен к выходу первого элемента И, а единичный выход - к первому входу второго элемента И и через первый элемент НЕ к первому входу третьего элемента И, выход которого соединен с первым входом первого элемента ИЛИ, выход которого подключен к выходной шине устройства , а второй вход - к выходу сумматора и входу элемента задержки, выход которого соединен с первым входом сумматора, второй вход которого подключен к выходу второго элемента И, при этом разр дные выходы распределител  с первого по четвертый соединены со входами второго элемента ИЛИ, выход которого подключен к первому входу четвертого элемента И, разр дные выходы распределител  с п того по восьмой соединены со входами третьего элемента ИЛИ, выход-которого подключен к первому входу п того элемента И, разр дные выходы распределител  с дев того по двенадцатый соединены со входами четвертого элемента ИЛИ, выход которого подключен к первому входу шестого элемента И, разр дные выходы распределител  с тринадцатого по п тнадцатый соединены со входами п того элемента ИЛИ, выход которого подключен к первому входу седьмого элемента И, шестнадцатый разр дный выход распределител  соединен с первым входом первого элемента И, второй вход которого подключен ко входной информационной шине устройства и ко вторым входам четвертого , п того, шестого и седьмого элементов И, а также восьмой элемент И, первый вход которого соединен со второй управл ющей шиной устройства и через второй элемент НЕ с первым входом дев того элемента И 3.The closest technical solution to the present invention is a device for converting binary-decimal numbers into binary ones, containing a distributor, whose information input is connected to the first control bus of the device, the setup input - with the device reset bus and zero trigger input, the single input of which is connected to the output of the first element And, and the single output to the first input of the second element And through the first element NOT to the first input of the third element And, the output of which is connected to the first input of the first e OR, whose output is connected to the output bus of the device, and the second input to the output of the adder and input of the delay element, the output of which is connected to the first input of the adder, the second input of which is connected to the output of the second AND element, while the distributor outputs from first to the fourth is connected to the inputs of the second OR element, the output of which is connected to the first input of the fourth element AND, the bit outputs of the distributor from the fifth to the eighth are connected to the inputs of the third OR element, the output of which is connected to the first the input of the fifth element And, the bit outputs of the distributor from ninth to twelfth are connected to the inputs of the fourth element OR, the output of which is connected to the first input of the sixth element And, the bit outputs of the distributor from the thirteenth to the fifteenth are connected to the inputs of the fifth element OR, the output which is connected to the first input of the seventh element And, the sixteenth discharge output of the distributor is connected to the first input of the first element And, the second input of which is connected to the input information bus of the device and to the second input The fourth, fifth, sixth and seventh elements I, and also the eighth element I, the first input of which is connected to the second control bus of the device and through the second element NOT to the first input of the ninth element I 3.

К недостаткам известного устройства относитс  низкое быстродействие, так как дл  преобразовани  двоично-дес тичных чисел в двоичные требуетс  не менее 5п тактов. Это вызвано тем, что дл  формировани  п-разр дного результата требуетс  п циклов, а каждый цикл состоит из сдвига (умножение на два) двоично-дес тичного числа и корректирующего шага. Корректирующий щаг определ ют те т.трады, дл  которых имеет место условие 4-2. , где М -двоична  цифра (О или 1), а р - номер двоичного разр да двоично-дес тичной тетрады . В случае, когда удовлетвор етс  это условие , корректирующий шаг заключаетс  в посылке корректирующего кода ООП на сум матор, где осуществл етс  сложение содержимого этих тетрад с кодом, коррекции. Это компенсирует ощибку, образующуюс  в результате последующего едвига двоично-дес тичного числа. Здесь, как и в выше рассмотренных случа х, п тактов тратитс  на ввод двоично-дес тичного числа в устройство .The disadvantages of the known device are low speed, since converting binary-decimal numbers to binary requires at least 5 steps. This is because n cycles are required to form an n-bit result, and each cycle consists of a shift (multiplication by two) of a binary-decimal number and a correction step. Corrective chips are defined as those trades for which condition 4-2 holds. where M is a binary number (O or 1), and p is the number of binary bits of the binary-decimal tetrad. In the case when this condition is satisfied, the corrective step consists in sending the corrective OOP code to the summator, where the contents of these tetrads are combined with the correction code. This compensates for the error resulting from the subsequent binary digits. Here, as in the above cases, n clock cycles are spent on entering a binary-decimal number into the device.

Цель изобретени  - повышение быстродействи  устройства дл  преобразовани  двоично-дес тичных чисел в двоичные.The purpose of the invention is to increase the speed of the device for converting binary-decimal numbers into binary ones.

Указанна  цель достигаетс  за счет того , что в устройстве дл  преобразовани  двоично-дес тичных чисел в двоичные, содержашем распределитель, информационный вход которого соединен с первой управл ющей шиной устройства, установочный входс шиной сброса устройства и нулевым входом триггера, единичный вход которого подключен к выходу первого элемента И, а единичный выход - к первому входу второго элемента И и через первый элемент НЕ - к первому входу третьего элемента И, выход которого соединен с первым входом первого элемента ИЛИ, выход которого подключен к выходной шине устройства, а второй вход - к выходу сумматора и входу элемента задержки , выход которого соединен с первым входом сумматора, второй вход которогоThis goal is achieved due to the fact that in the device for converting binary-decimal numbers into binary ones, contains a distributor, whose information input is connected to the first control bus of the device, the installation input is the device reset bus and the zero input of the trigger, the single input of which is connected to the output The first element is AND, and the unit output is to the first input of the second element AND, and through the first element is NOT to the first input of the third element AND, the output of which is connected to the first input of the first element OR, the output otorrhea connected to the output device bus and the second input - to the output of the adder and the input of delay element whose output is connected to a first input of an adder, whose second input

0 подключен к выходу второго элемента И, при этом разр дные выходы распределител  с первого по четвертый соединены со входами второго элемента ИЛИ, выход которого подключен к первому входу четвертого элемента И, разр дные выходы распределител 0 is connected to the output of the second element AND, while the first and fourth distributor bit outputs are connected to the inputs of the second OR element, the output of which is connected to the first input of the fourth AND element, the binary outputs of the distributor

5 с п того по восьмой соединены со входами третьего элемента ИЛИ, выход которого подключен к первому входу п того элемента И, разр дные выходы распределител  с дев того по двенадцатый соединены со входами четвертого элемента ИЛИ, выход которого подключен к первому входу шестого элемента И, разр дные выходы распределители с тринадцатого по п тнадцатый соединены со входами п того элемента ИЛИ, выход которого подключен к первому входу седьмого элемента И, шестнадцатый разр дный выход распределител  соединен с первым входом первого элемента И, второй вход которого подключен ко входной информационной шине устройства и ко вторым входам четвертого , п того, шестого и седьмого элементов И, а также восьмой элемент И, первый вход которого соединен со второй управл ющей шиной устройства и через второй элемент НЕ с первым входом дев того элемента И, введены блок умножени , дополнительный элемент ИЛИ, дополнительные сумматоры и дополнительные элементы задержки , при этом выход четвертого элемента И через дев титактный дополнительный элемент задержки соединен с первым входом первого дополнительного сумматора, выход которого соединен со вторыми входами восьмого и дев того элементов И, выход п того элемента И через первый шеститактный д ополнительный элеме,чт задержки подключен к первому входу второго дополнительного сумматора, выход которого соединен с первым входом третьего дополнительного сумматора и через первый двухтактный дополнительный элемент задержки со вторым входом третьего дополнительного сумматора, выход которого подключен ко второму входу первого дополнительного сумматора, выход шестого элемента И через трехтактный допол нительный элемент задержки соединен с первым входом четвертого дополнительного сумматора, вь1ход которого подключен к первому входу п того дополнительного сумматора и через второй двухтактный дополнительный элемент задержки ко второму входу п того дополнительного сумматора, выход которого соединен со вторым входом второго дополнительного сумматора, выход седьмого элемента И соединен с первым входом шестого дополнительного сумматора и через третий двухтактный дополнительный элемент задержки со вторым входом шестого дополнительного сумматора, выход которого подключен ко второму входу четвертого дополнительного сумматора, выход дев того элемента И через второй шеститактный дополнительный элемент задержки подключен к первому входу дополнительного элемента ИЛИ, второй вход которого через блок умножени  соединен с выходом восьмого элемента И при этом выход дополнительного элемента ИЛИ подключен ко вторым входам .второго и третьего элементов И. На фиг. 1 представлена функциональна  схема устройства дл  преобразовани  двоично-дес тичных чисел в двоичные; на фиг. 2 и 3 - временные диаграммы. Устройство содержит распределитель 1, информационный вход которого соединен с первой управл ющей шиной 2, установочный вход - с шиной 3 сброса и нулевым входом триггера 4, единичный вход которого подключен к выходу первого элемента И 5; а единичный выход - к первому входу второго элемента И 6 и через первый элемент НЕ 7 к первому входу третьего элемента И 8, выход которого соединен с первым входом первого элемента ИЛИ 9, выход которого подключен к выходной шине 10, а второй вход - к выходу сумматора 11 и входу элемента 12 задержки, выход которого соединен с первым входом сумматора 11, второй вход которого подключен к выходу второго элемента И 6, разр дные выходы распределител  1 с первого по четвертый соединены со входами второго элемента ИЛИ 13, выход которого подключен к первому входу четвертого элемента И 14, разр дные выходы распределител  1 с п того по восьмой соединены со входами третьего элемента ИЛИ 15, выход которого подключен к первому входу п того элемента И 16, разр дные выходы распределител  1 с дев того по двенадцатый соединены со входами четвертого элемента ИЛИ 17, выход которого подключен к первому входу шестого .элемента И 18, -разр дные выходы распределител  1 с тринадцатого по п тнадцатый соединены со входами п того элемента ИЛИ 19, выход которого подключен к первому входу седьмого элемента И 20, шестнадцатый разр дный выход распределитеЛЯ 1 соединен с первым входом первого э емента И 5, второй вход которого подключен ко входной информационной шине 21 и ко вторым входам четвертого, п того, шестого и седьмого элементов И 14, 16, 18 и 20, 22 - восьмой элемент И, первый вход которого соединен со второй управл юшей шиной 23 и через второй элемент НЕ 24 с первым входом дев того элемента И 25, выход четвертого элемента И 14 через дев титактный дополнительный элемент 26 задержки соединен с первым входом первого дополнительного сумматора 27, выход которого соединен со вторыми входами восьмого и дев того элементов И 22 и 25, выход п того элемента И 16 через первый шеститактный дополнительный элемент 28 задержки подключен к первому входу второго дополнительного сумматора 29, выход которого соединен с первым входом третьего дополнительного сумматора 30 и через.первый двухтактный дополнительный элемент задержки 31 со вторым входом третьего дополнительного сумматора 30, выход которого подключен ко второму входу первого дополнительного сумматора 27 выход шестого элемента И 18 через трехтактный дополнительный элемент 32 задержки соединен с первым входом четвертого дополнительного сумматора 33, выход которого подключен к первому входу п того дополнительного сумматора 34 и через второй двухтактный дополнительный элемент 35 задержки ко второму входу п того дополнительного сумматора 34, выход которого соединен со вторым входом второго дополнительного сумматора 29, выход седьмого элемента И соединен с первым входом шестого дополнительного сумматора 36 и через третий двухтактный дополнительный элемент 37 задержки со вторым входом шестого дополнительного сумматора 33, выход дев того элемента И 25 через второй шеститактный дополнительный элемент 38 задержки подключен к первому входу дополнительного элемента ИЛИ 39, второй вход которого через блок 40 умножени  соединен с выходом восьмого элемента И 22, выход дополнит- льного элемента ИЛИ 39 подключен ко вторым входам второго и третьего элементов И 6 и 8, 41 - сумматоры, 42 - однотактные элементы задержки , 43 - двухтактные элементы задержки , 44 - четыре.чтактный элемент задержки . На фиг. 2 и 3 представлены временные диаграммы функционировани  устройства дл  преобразовани  двоично-дес тичных чисел в двоичные, гд 45 - код двоично-дес тичного числа, подаваемого на входную информационную шину 21; 46, 47, 48, 49 - соответственно логические уровни на первом, втором, третьем и п 16-ом разр дных выходах распределител  1; 50-логическИе уровни на выходе элемента ИЛИ 13, 51-логические уровни на выходе элемента ИЛИ 19, 52 - логические уровни на выходе элемента И 20, 53 - логические уровни на выходе элемента 37 задержки, 54 - логические уровни на выходе сумматора 36, 55 - логические уровни на выходе элемента 32 задержки , 56 - логические уровни на выходе сумматора 33, 57 - логические уровни на выходе элемента 35 задержки, 58 - логические уровни на выходе сумматора 34, 59 - логические уровни на выходе элемента 28 задержки, 60 :- логические уровни на выходе сумматора 29, 61 - логические уровни на выходе элемента 31 задержки, 62 - логические уровни на выходе сумматора 30, 63 - логические уровни на выходе элемента 26 задержки, 64 - логические уровни на выходе сумматора 27, 65 - код результата, 66 - логические уровни на управл ющей шине 23, 67 - логические уровни на выходе элемента И 5, 68 - логические уровни на выходе элемента ИЛИ 39. Функционирование устройства дл  преобразовани  двоично-дес тичных чисел в двоичные дл  случа  шестнадцатиразр дных чисел, в которых знак содержитс  в последнем разр де, осуществл етс  следующим образом . В исходном состо нии при помощи единичного логического уровн , подаваемого по шине сброса 3, триггер 4 и распределитель 1 устанавливаютс  в нулевое состо ние. На первом такте на управл ющую шину 2 подаетс  импульс, который за 16 тактов в виде единичных логических уровней распредел етс  по разр дным выходам распределител  1 (см. фиг. 2 и 3 эпюры 46-49). Начина  с первого такта на входную информационную щину 21 подаетс  код двоичнодес тичного числа (см. фиг. 2 и 3 эпюру 45) начина  с младших разр дов. Единичный логический уровень с выхода элемента ИЛИ 13 (см. фиг. 2 и 3 эпюру 50) с первого по четвертый такты разблокирует элементы И 14, в результате чего в течение указанных тактов перва  тетрада исходного двоично-дес тичного числа подаетс  на вход элемента задержки 26, который осуществл ет задержку указанной тетрады на дев ть тактов (см. фиг. 2 и 3 эпюру 63). Аналогично , втора  тетрада исходного двоично-дес тичного числа с п того по восьмой такты подаетс  на вход элемента 28 задержки, который осуществл ет задержку этой тетрады на щесть тактов (см. эпюру 59). Аналогич52 но, с дев того по двенадцатый такты на вход элемента 32 задержки подаетс  треть  тетрада исходного двоично-дес тичногр числа, котора  снимаетс  с выхода указанного элемента задержки, задержанной на 3 такта (см. эпюру 55). Единичный логический уровень с выхода элемента ИЛИ 19 (см. эпюру 51) с тринадцатого по п тнадцатый такты, разблокирует элемент И 20 (см. эпюру 52) в результате чего с выхода элемента И 20 в течение указанных тактов снимаетс  последн   (четверта ) неполна  тетрада исходного двоично-дес тичного числа. На элементе 37 задержки осуществл етс  задержка четвертой тетрады на два такта (см. эпюру 53). Вследствие этого на выходе сумматора 36 образуетс  результат умножени  четвертой тетрады на 1010 (см. эпюру 54), который на су.мматоре 33 (см. эпюру 56) складываетс  с третьей тетрадой, подаваемой с элемента 32 задержки. Полученный результат при помощи элемента 35 задержки (см. эпюру 57) и сумматора 34 (см. эпюру 58) умножаетс  на 1010 и на сумматоре 29 (см. эпюру 60) складываетс  со второй тетрадой, подаваемой с выхода элемента 28 задержки. Этот последний результат при помощи элемента 31 задержки ( см. эпюру 61) и сумматора 30 (см. эпюру 62) также умножаетс  на 1010 и на сумматоре 27 (см. эпюру 64) складываетс  с первой тетрадой, подаваемой с выхода элемента 26 задержки. JB случае преобразовани  двоично-дес тичных кодов целых чисел снимаемый с выхода сумматора 27 двоичный код  вл етс  результатом преобразовани , который из-за наличи  на управл ющей щине 23 (см. фиг. 2 эпюру 66) нулевого логического уровн  через элемент И 25 и элемент 38 задержки подаетс  на вход элемента ИЛИ 38. На шестнадцатом такте с выхода элемента И 5 снимаетс  логический уровень, соответствующий знаку преобразуемого двоично-дес тичного числа (см. эпюру 67), который фиксируетс  в триггере 4. Если исходное двоично-дес тичное гчисло отрицательно, т.е. триггер 4 находитс  в единично.м состо нии, элемент И 6 разблокирован и результат преобразовани  с выхода элемента ИЛИ 39 подаетс  на вход сумматора 11. Этот последний в совокупности с элементом 12 задержки переводит результат преобразовани  в дополнительный код, который через элел1ент ИЛИ 9 подаетс  на выходную шину 10 (см. эпюру 65). В случае, если исходное двоично-дес тичное число положительное, триггер 4 находитс  в нулевом состо нии, вследствие чего результат преобразовани  с выхода элемента ИЛИ 39 через элементы И 8 и ИЛИ 9 попадает на выходную щину 10 (см. эпюру 65) На фиг. 2 рассмотрен случай преобразовани  двоично-дес тичного кода целого числа O.llllOOlOOlOOlOi в двоичный код 0,001111011110101, выдача которого осуществл етс  с шестнадцатого по тридцать первый такт. Таким образом, предлагаемое устройство осуществл ет преобразование двоично-дес тичных кодов целых чисел в двоичные за менее 2 тактов, т.е.  вл етс  в 2,5 раза быстродействующим по сравнению с известными устройствами дл  преобразовани  двоично-дес тичных чисел в двоичные .5 from the fifth to the eighth are connected to the inputs of the third element OR, the output of which is connected to the first input of the fifth element AND, the bit outputs of the distributor from ninth to twelfth are connected to the inputs of the fourth element OR, the output of which is connected to the first input of the sixth element And, the bit outputs of the distributors from the thirteenth to the fifteenth are connected to the inputs of the fifth OR element, the output of which is connected to the first input of the seventh element And, the sixteenth discharge output of the distributor is connected to the first input of the first ele And the second input of which is connected to the input information bus of the device and to the second inputs of the fourth, fifth, sixth and seventh elements of AND, as well as the eighth element of AND, the first input of which is connected to the second control bus of the device and through the second element NOT to the first the input of the ninth AND element, the multiplication unit, the additional OR element, the additional adders and the additional delay elements are introduced, while the output of the fourth AND element is connected to the first input through the nine titact additional delay element m of the first additional adder, the output of which is connected to the second inputs of the eighth and ninth elements And, the output of the fifth element And through the first six-stroke additional element, that the delay is connected to the first input of the second additional adder, the output of which is connected to the first input of the third additional adder and through the first push-pull additional delay element with the second input of the third additional adder, the output of which is connected to the second input of the first additional adder, the output pole And through the three-stroke additional delay element is connected to the first input of the fourth additional adder, whose input is connected to the first input of the fifth additional adder and through the second two-stroke additional delay element to the second input of the fifth additional adder, the output of which is connected to the second input of the second additional adder, the output of the seventh element And is connected to the first input of the sixth additional adder and through the third push-pull additional element delay ki with the second input of the sixth additional adder, the output of which is connected to the second input of the fourth additional adder, the output of the ninth element And through the second six-stroke additional delay element connected to the first input of the additional element OR, the second input of which is connected to the output of the eighth element I at In this case, the output of the additional element OR is connected to the second inputs of the second and third elements I. In FIG. 1 is a functional block diagram of a device for converting binary-decimal numbers to binary ones; in fig. 2 and 3 - time diagrams. The device contains a distributor 1, the information input of which is connected to the first control bus 2, the installation input - to the reset bus 3 and the zero input of the trigger 4, whose single input is connected to the output of the first element 5; and a single output to the first input of the second element AND 6 and through the first element NOT 7 to the first input of the third element AND 8, the output of which is connected to the first input of the first element OR 9, the output of which is connected to the output bus 10, and the second input to the output the adder 11 and the input of the delay element 12, the output of which is connected to the first input of the adder 11, the second input of which is connected to the output of the second element AND 6, the bit outputs of the distributor 1 from the first to the fourth are connected to the inputs of the second element OR 13, the output of which is connected to the first at one of the fourth element And 14, the bit outputs of the distributor 1 from the fifth to the eighth are connected to the inputs of the third element OR 15, the output of which is connected to the first input of the fifth element And 16, the bit outputs of the distributor 1 from the ninth to the twelfth are connected to the inputs of the fourth element OR 17, the output of which is connected to the first input of the sixth element AND 18, the discharge outputs of the distributor 1 from the thirteenth to the fifteenth are connected to the inputs of the fifth element OR 19, the output of which is connected to the first input of the seventh element AND 20, sixth The tenth bit output of the distributor 1 is connected to the first input of the first element I 5, the second input of which is connected to the input data bus 21 and to the second inputs of the fourth, fifth, sixth and seventh elements 14, 16, 18 and 20, 22 - the eighth the element I, the first input of which is connected to the second control bus 23 and through the second element NOT 24 to the first input of the ninth element AND 25, the output of the fourth element AND 14 through the nine additional additional delay element 26 is connected to the first input of the first additional adder 27, output whom connected to the second inputs of the eighth and ninth elements And 22 and 25, the output of the fifth element And 16 through the first six-stroke additional delay element 28 is connected to the first input of the second additional adder 29, the output of which is connected to the first input of the third additional adder 30 and through the first push-pull additional delay element 31 with the second input of the third additional adder 30, the output of which is connected to the second input of the first additional adder 27 output of the sixth element I 18 through a three-stroke d Additional delay element 32 is connected to the first input of the fourth additional adder 33, the output of which is connected to the first input of the fifth additional adder 34 and through the second two-stroke additional delay element 35 to the second input of the fifth additional adder 34 whose output is connected to the second input of the second additional adder 29, the output of the seventh element And is connected to the first input of the sixth additional adder 36 and through the third push-pull additional delay element 37 to the second input w additional adder 33, the output of the ninth element AND 25 through the second six-stroke additional delay element 38 is connected to the first input of the additional element OR 39, the second input of which through the multiplication unit 40 is connected to the output of the eighth element And 22, the output of the additional element OR 39 is connected And the second inputs of the second and third elements And 6 and 8, 41 - adders, 42 - one-step delay elements, 43 - push-pull delay elements, 44 - four-stroke delay element. FIG. Figures 2 and 3 show the timing diagrams of the operation of the device for converting binary-decimal numbers to binary, where 45 is the code of the binary-decimal number supplied to the input information bus 21; 46, 47, 48, 49 — logical levels at the first, second, third, and n 16th gaps of the distributor 1, respectively; 50-logical levels at the output of the element OR 13, 51-logical levels at the output of the element OR 19, 52 - logical levels at the output of the element AND 20, 53 - logical levels at the output of the delay element 37, 54 - logical levels at the output of the adder 36, 55 - logical levels at the output of the element 32 delay, 56 - logical levels at the output of the adder 33, 57 - logical levels at the output of the element 35 delay, 58 - logical levels at the output of the adder 34, 59 - logical levels at the output of the element 28 delay, 60: - logical levels at the output of the adder 29, 61 - logical levels on the output of the delay element 31, 62 - logical levels at the output of the adder 30, 63 - logical levels at the output of the delay element 26, 64 - logical levels at the output of the adder 27, 65 - result code, 66 - logical levels on the control bus 23, 67 - logical levels at the output of the element AND 5, 68 — logical levels at the output of the element OR 39. The operation of the device for converting binary-decimal numbers to binary for the case of sixteen-bit numbers, in which the sign is contained in the last digit, is implemented as follows. In the initial state, by means of a single logic level supplied via the reset bus 3, the trigger 4 and the distributor 1 are set to the zero state. In the first cycle, a pulse is applied to the control bus 2, which is distributed in 16 clock cycles as single logical levels over the discharge outputs of the distributor 1 (see Fig. 2 and 3 plots 46-49). Starting from the first clock to the input information bus 21, the binary number code (see Fig. 2 and 3 plot 45) is supplied starting from the lower order bits. The unit logic level from the output of the element OR 13 (see Fig. 2 and 3 plot 50) unlocks the elements I 14 from the first to the fourth cycles, with the result that during the indicated cycles the first tetrad of the initial binary-decimal number is fed to the input of the delay element 26 which delays the indicated tetrad by nine cycles (see Figs. 2 and 3, plot 63). Similarly, the second tetrad of the initial binary-decimal number from the fifth to the eighth cycle is fed to the input of the delay element 28, which delays this tetrad by a fraction of the clock (see plot 59). Similarly, from the ninth to the twelfth clock cycles, a third tetrad of the original binary-tenth number is fed to the input of the delay element 32, which is removed from the output of the specified delay element delayed by 3 cycles (see plot 55). The unit logic level from the output of the element OR 19 (see plot 51) from the thirteenth to the fifteenth clock cycles unlocks the AND 20 element (see plot of 52), with the result that the last (fourth) incomplete tetrad is removed from the output of the element 20 and 20 source binary-decimal number. On the delay element 37, the fourth tetrad is delayed by two cycles (see plot 53). As a consequence, the output of the adder 36 results in the multiplication of the fourth tetrad by 1010 (see plot 54), which is added to the third tetrada supplied from the delay element 32 at the summator 33 (see plot 56). The result obtained with the help of delay element 35 (see plot 57) and adder 34 (see plot 58) is multiplied by 1010 and added to the second tetrad fed from output of delay block 28 on adder 29 (see plot 60). This latter result, using delay element 31 (see plot 61) and adder 30 (see plot 62), is also multiplied by 1010 and added to the first tetrads from output of delay block 26 on adder 27 (see plot 64). JB in the case of converting binary-decimal codes of integers, the binary code removed from the output of the adder 27 is the result of the conversion, which, due to the presence on the control bus 23 (see Fig. 2 plot 66) of zero logic level through the AND 25 element and the element 38 delays are fed to the input of the element OR 38. At the sixteenth clock cycle from the output of element 5, a logical level is recorded corresponding to the sign of the binary-decimal number being converted (see plot 67), which is fixed in trigger 4. If the initial binary-decimal number is negative , Ie trigger 4 is in the unit state. The AND 6 element is unlocked and the conversion result from the output of the OR 39 element is fed to the input of the adder 11. This latter, together with the delay element 12, translates the conversion result into an additional code that through the electronic OR 9 output bus 10 (see plot 65). In case the initial binary-decimal number is positive, trigger 4 is in the zero state, as a result of which the result of the conversion from the output of the element OR 39 through the elements AND 8 and OR 9 falls on the output strip 10 (see plot 65). In FIG. 2 considers the case of converting a binary-decimal code of an integer O.llllOOlOOlOOlOi into a binary code 0.001111011110101, which is issued from the sixteenth to the thirty-first clock cycle. Thus, the proposed device performs the conversion of binary-decimal codes of integers into binary ones in less than 2 cycles, i.e. is 2.5 times faster than the known devices for converting binary-decimal numbers to binary ones.

В случае преобразовани  двоично-дес тичных кодов дробных чисел в двоичные на управл ющую щину 23 подаетс  единичный логический уровень (см. фиг. 3 эпюру 66). В результате выход сумматора 27 через элемент И 22 оказываетс  подключенным ко входу блока 40 умножени . Так как исходное дробное двоично-дес тичное число принимаетс  за целое, блок 40 осуществл ет умножение результата преобразовани , снимаемого с сумматора 27, на число 1/2 где m - разр дность преобразуемого дес тичного числа. Таким образом в рассматриваемом случае т 4 и блок 40 умножает результат преобразовани  на число 1/10000. С целью получени  точности преобразовани  дл  максимальной ошибки пор дка щестнадцатый разр д искомого двоичного кода преобразуемого двоично-дес тичного числа , блок 40, согласно фиг. 1, осуществл ет умножение на число 0.00000000000001101000110111. Полученный результат с выхода блока 40 умножени  подаетс  на вход элемента ИЛИ 39 (см. эпюру 68 на фиг. 3). Далее устройство функционирует аналогично рассмотренному, и результат снимаетс  с выходной щины 10 (см. фиг. 3 эпюру 65) с 21-го по 36-ой такты.In the case of converting binary-decimal codes of fractional numbers into binary ones, a single logical level is applied to the control pad 23 (see Fig. 3, plot 66). As a result, the output of the adder 27 through the element And 22 is connected to the input of the multiplication unit 40. Since the initial fractional binary-decimal number is taken as an integer, block 40 multiplies the conversion result taken from adder 27 by 1/2 where m is the size of the decimal number being converted. Thus, in this case, m 4 and block 40 multiplies the result of the conversion by the number 1/10000. In order to obtain conversion accuracy for the maximum error of the order of the sixteenth bit of the desired binary code of the converted binary-decimal number, block 40, according to FIG. 1, multiplies by the number 0.00000000000001101000110111. The result obtained from the output of multiplication unit 40 is fed to the input of the element OR 39 (see plot 68 in FIG. 3). Further, the device functions similarly to that considered, and the result is removed from the output slit 10 (see Fig. 3 plot 65) from the 21st to the 36th cycle.

На фиг. 3 рассмотрен случай преобразовани  двоично-дес тичного кода дробного числа 1.101001101000010 в двоичный код 1.011101110011111. Таким образом, данное устройство осуществл ет преобразование двоично-дес тичных кодов дробных чисел в двоичные за 2п + 4 такта, т.е.  вл етс  приблизительно в 2,2 раза быстродействующим по сравнению с известными устройствами дл  преобразовани  двоично-дес тичных чисел в двоичные.FIG. 3, the case of converting a binary-decimal code of a fractional number 1.101001101000010 into a binary code 1.011101110011111 is considered. Thus, this device performs the conversion of binary-decimal codes of fractional numbers into binary ones in 2n + 4 cycles, i.e. is approximately 2.2 times faster than conventional devices for converting binary-decimal numbers to binary ones.

Таким образом, в данном изобретении достигаетс  повышение быстродействи  преобразовани  двоично-дес тичных кодов целых чисел в двоичные в 2,5 раза и двоичнодес тичных кодов дробных чисел в двоичные в 2,2 раза по сравнению с известными устройствами.Thus, the present invention achieves a speed increase of converting binary-decimal codes of integers to binary 2.5 times and binary fractional codes of binary numbers 2.2 times compared to known devices.

Формула изобретени Invention Formula

Устройство дл  преобразовани  двоично-дес тичных чисел в двоичные, содержащее распределитель, информационный вход которого соединен с первой управл ющей щиной устройства, установочный вход - с щиной сброса устройства и нулевым входом триггера, единичный вход которого подключен к выходу первого элемента И, а единичный выход - к первому входу второго элемента И и через первый элемент НЕ к первому входу третьего элемента И, выход которого соединен с первым входом первого элемента ИЛИ, выход которого подключен к выходной щине устройства, а второй вход - к выходу сумматора и входу элемента задержки, выход которого соединен с первым входом сумматора, второй вход которого подключен к выходу второго элемента И, при этом разр дные выходы распределител  с первого по четвертый соединены со входами второго элемента ИЛИ, выход которого подключен к первому входу четвертого элемента И, разр дные выходы распределител  с п того по восьмой соеди0 иены со входами третьего элемента ИЛИ, выход которого подключен к первому входуп того элемента И, разр дные выходы распределител  с дев того по двенадцатый соединены со входами четвертого элемента ИЛИ, выход которого подключен к первомуA device for converting binary-decimal numbers into binary ones, containing a distributor, whose information input is connected to the first control unit of the device, the installation input - with a device resetting device and a zero trigger input, the single input of which is connected to the output of the first And element, and the single output - to the first input of the second element I and through the first element NOT to the first input of the third element I, the output of which is connected to the first input of the first element OR, the output of which is connected to the device output bar, the second input to the output of the adder and the input of the delay element, the output of which is connected to the first input of the adder, the second input of which is connected to the output of the second AND element, while the bit outputs of the distributor from the first to the fourth are connected to the inputs of the second OR element, the output of which is connected to the first input of the fourth element AND, the bit outputs of the distributor from the fifth to the eighth connection of the yen with the inputs of the third element OR, the output of which is connected to the first input of the second element AND, the bit outputs of the distributor from nine tons second through twelfth connected to the inputs of a fourth OR gate, whose output is connected to the first

5 входу шестого элемента И, разр дные выходы распределител  с тринадцатого по п тнадцатый соединены со входами п того элемента ИЛИ, выход которого подключен к первому входу седьмого элемента И, щестнадцатый разр дный выход распределител  соединен с первым входом первого элемента И, второй вход которого подключен ко входной информационной шине устройства и ко вторым входам четвертого, п того, шестого и седьмого элементов И, а также восьмой элемент И, первый вход которого соединен со второй управл ющей шиной устройства и через второй элемент НЕ с первым входом дев того элемента И, отличающеес  тем, что, с целью повышени  быстродействи , в него введены блок умножени ,5 to the input of the sixth element And, the bit outputs of the distributor from the thirteenth to the fifteenth are connected to the inputs of the fifth OR element, the output of which is connected to the first input of the seventh element And, the sixteenth bit output of the distributor is connected to the first input of the first element And, the second input of which is connected to the input information bus of the device and to the second inputs of the fourth, fifth, sixth and seventh elements And, as well as the eighth element And, the first input of which is connected to the second control bus of the device and through the second the element is NOT with the first input of the ninth element AND, characterized in that, in order to improve speed, a multiplication unit is inserted into it,

0 дополнительный элемент ИЛИ, дополнительные сумматоры и дополнительные элементы задержки, при этом выход четвертого элемента И через дев титактный дополнительный элемент задержки соединен с первым входом первого дополнительного сумматора, выход которого соединен со вторыми входами восьмого и дев того элементов И, выход п того элемента И через первый шеститактный дополнительный элемент задержки подключен к первому входу второго дополнительного сумматора, выход которого соединен с первым входом третьего дополнительного сумматора и через первый двухтактный дополнительный элемент задержки со вторым входом третьего дополнительного сумматора , выход которого подключен к второму входу первого дополнительного сумматора , выход шестого элемента И через трехтактный дополнительный, элемент задержки соединен с первым входом четвертого дополнительного сумматора, выход которого подключен к первому входу п того дополнительного сумматора и через второй двухтактный дополнительный элемент задержки - ко второму входу п того допол штельного сумматора выход которого соединен со вторым входом второго дополнительного сумматора, выход седьмого элемента И соединен с первым входом шестого дополнительного сумматора и через третий двухтактный дополнительный элемент задержки со вторым входом шестого дополнительного сумматора, выход которого подключен ко второму входу четвертого дополнительного сумматора, выход дев того элемента И через второй шеститактный дополнительный элемент задержки подключен к первому входу дополнительного элемента ИЛИ, второй вход которого через блок умножени  соединен с выходом восьмого элемента И, при этом выход дополнительного элемента ИЛИ подключен ко вторым входам второго и третьего элементов И/0 an additional OR element, additional adders and additional delay elements, while the output of the fourth AND element is through nine additional extra delay elements connected to the first input of the first additional adder, the output of which is connected to the second inputs of the eighth and ninth elements AND, the output of the fifth element AND through the first six-stroke additional delay element is connected to the first input of the second additional adder, the output of which is connected to the first input of the third additional totalizer Pa and through the first push-pull additional delay element with the second input of the third additional adder, the output of which is connected to the second input of the first additional adder, the output of the sixth element And through the three-stroke additional, delay element connected to the first input of the fourth additional adder, the output of which is connected to the first input addition adder and through the second push-pull additional delay element - to the second input of the fifth addition of the accumulator adder whose output is Connected with the second input of the second additional adder, the output of the seventh element And connected to the first input of the sixth additional adder and through the third push-pull additional delay element with the second input of the sixth additional adder, the output of which is connected to the second input of the fourth additional adder, the output of the ninth element And through the second a six-stroke additional delay element is connected to the first input of an additional OR element, the second input of which is connected to Exit eighth AND gate, the output of an additional OR gate connected to the second inputs of the second and third elements, and /

Источники информации, прин тые во внимание при экспертизеSources of information taken into account in the examination

1.Карцев М. А. Арифметика цифровых машин. М., «Наука, 1969, с. 543, рис. 5-7.1.Kartsev M.A. Arithmetic of digital machines. M., “Science, 1969, p. 543, fig. 5-7.

2.Авторское свидетельство СССР № 269598, кл. G 06 F 5/02, 28.03.69.2. USSR author's certificate number 269598, cl. G 06 F 5/02, 28.03.69.

3.Авторское свидетельство СССР3. USSR author's certificate

№ 404077, кл. G 06 F 5/02, 07.10.71 (прототип ).No. 404077, cl. G 06 F 5/02, 07.10.71 (prototype).

Г I 3 Ч 5 6 П П П GI 3 Ch 5 6 P P P

77

ПP

f8f8

ПP

эuh

5454

5555

5S5s

5757

5858

5555

еоeo

SISI

6262

33

П ПA

П П гтгп птпGtgp ptp

SfSf

е5 9еe5 9e

S7S7

ПP

ИAND

ППPP

ПP

ПP

ГП П ГПGPP GP

m mm m

m ГПm GP

гтгп гтгпgtgp gtgp

П П I I I I I I I I I I 789 Ю111Z 121f15iein81320ZTZZZ32f25ZSZ728293031 П MillI P I I I I I I I I I I 789 U111Z 121f15iein81320ZTZZZ32f25ZSZ728293031 P Mill

Claims (1)

Формула изобретенияClaim Устройство для преобразования двоично-десятичных чисел в двоичные, содержа щее распределитель, информационный вход которого соединен с первой управляющей шиной устройства, установочный вход — с шиной сброса устройства и нулевым входом триггера, единичный вход которого подключен к выходу первого элемента И, а единичный выход — к первому входу второго элемента И и через первый элемент НЕ к первому входу третьего элемента' И, выход которого соединен с первым входом первого элемента ИЛИ, выход которого подключен к выходной шине устройства, а второй вход — к выходу сумматора и входу элемента задержки, выход которого соединен с первым входом сумматора, второй вход которого подключен к выходу второго элемента И, при этом разрядные выходы распределителя с первого по четвертый соединены со входами второго элемента ИЛИ, выход которого подключен к первому входу четвертого элемента И, разрядные выходы распределителя с пятого по восьмой соединены со входами третьего элемента ИЛИ, выход которого подключен к первому входупятого элемента И, разрядные выходы распределителя с девятого по двенадцатый соединены со входами четвертого элемента ИЛИ, выход которого подключен к первому входу шестого элемента И, разрядные выходы распределителя с тринадцатого по пятнадцатый соединены со входами пятого элемента ИЛИ, выход которого подключен к первому входу седьмого элемента И, шестнадцатый разрядный выход распределителя соединен с первым входом первого элемента И, второй вход которого подключен ко входной информационной шине устройства и ко вторым входам четвертого, пятого, шестого и седьмого элементов И, а также восьмой элемент И, первый вход которого соединен со второй управляющей шиной устройства и через второй элемент НЕ с первым входом девятого элемента И, отличающееся тем, что, с целью повышения быстродействия, в него введены блок умножения, дополнительный элемент ИЛИ, дополнительные сумматоры и дополнительные элементы задержки, при этом выход четвертого элемента И через девятитактный дополнительный элемент задержки соединен с первым входом первого дополнительного сумматора, выход которого соединен со вторыми входами восьмого и девятого элементов И, выход пятого элемента И через первый шеститактный дополнительный элемент задержки подключен к первому входу второго дополнительного сумматора, выход которого соединен с первым входом третьего дополнительного сумматора и через первый двухтактный дополнительный элемент задержки со вторым входом третьего дополнительного сумматора, выход которого подключен κρ второму входу первого дополнительного сумматора, выход шестого элемента И через трехтактный дополнительный элемент задержки соединен с первым входом четвер того дополнительного сумматора, выход которого подключен к первому входу пятого дополнительного сумматора и через второй двухтактный дополнительный элемент задержки — ко второму входу пятого дополнительного сумматора выход которого сое- $ динен со вторым входом второго дополнительного сумматора, выход седьмого элемента И соединен с первым входом шестого дополнительного сумматора и через третий двухтактный дополнительный элемент задержки со вторым входом шестого допол- 10 нительного сумматора, выход которого подключен ко второму входу четвертого дополнительного сумматора, выход девятого элемента И через второй шеститактный дополни тельный элемент задержки подключен к первому входу дополнительного элемента ИЛИ, второй вход которого через блок умножения соединен с выходом восьмого элемента И, при этом выход дополнительного элемента ИЛИ подключен ко вторым входам второго и третьего элементов И.'A device for converting binary decimal numbers to binary, containing a distributor, the information input of which is connected to the first control bus of the device, the installation input is to the reset bus of the device and the zero input of the trigger, a single input of which is connected to the output of the first element And, and a single output to the first input of the second AND element and through the first element NOT to the first input of the third AND element, the output of which is connected to the first input of the first OR element, the output of which is connected to the output bus of the device, and the second input is to the output of the adder and the input of the delay element, the output of which is connected to the first input of the adder, the second input of which is connected to the output of the second AND element, while the discharge outputs of the distributor from the first to the fourth are connected to the inputs of the second OR element, the output of which is connected to the first input of the fourth AND element, the bit outputs of the distributor from the fifth to the eighth are connected to the inputs of the third OR element, the output of which is connected to the first input of the fifth AND element, the bit outputs of the distributor from the ninth twelfth connected to the inputs of the fourth OR element, the output of which is connected to the first input of the sixth AND element, the bit outputs of the distributor from the thirteenth to the fifteenth are connected to the inputs of the fifth OR element, the output of which is connected to the first input of the seventh element AND, the sixteenth bit output of the distributor is connected to the first the input of the first element And, the second input of which is connected to the input information bus of the device and to the second inputs of the fourth, fifth, sixth and seventh elements of And, as well as the eighth ele ment And, the first input of which is connected to the second control bus of the device and through the second element NOT to the first input of the ninth element And, characterized in that, in order to improve performance, a multiplication block, an additional OR element, additional adders and additional delay elements are introduced into it wherein the output of the fourth element And through a nine-stroke additional delay element is connected to the first input of the first additional adder, the output of which is connected to the second inputs of the eighth and ninth elements And , the output of the fifth element And through the first six-stroke additional delay element is connected to the first input of the second additional adder, the output of which is connected to the first input of the third additional adder and through the first push-pull additional delay element with the second input of the third additional adder, the output of which is connected κρ to the second input of the first additional the adder, the output of the sixth element And through a three-stroke additional delay element is connected to the first input of the fourth additional adder whose output is connected to the first input of the fifth additional adder and through the second push-pull additional delay element to the second input of the fifth additional adder whose output is connected to the second input of the second additional adder, the output of the seventh element And is connected to the first input of the sixth additional adder and through the third push-pull additional delay element with the second input of the sixth additional 10 adder, the output of which is connected to the second input of the fourth additional body adder, the output of the ninth AND element through the second six-stroke additional delay element is connected to the first input of the additional OR element, the second input of which through the multiplication unit is connected to the output of the eighth AND element, while the output of the additional OR element is connected to the second inputs of the second and third AND elements . '
SU792730328A 1979-03-14 1979-03-14 Device for bcd-to-binary conversion SU809152A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU792730328A SU809152A1 (en) 1979-03-14 1979-03-14 Device for bcd-to-binary conversion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU792730328A SU809152A1 (en) 1979-03-14 1979-03-14 Device for bcd-to-binary conversion

Publications (1)

Publication Number Publication Date
SU809152A1 true SU809152A1 (en) 1981-02-28

Family

ID=20812532

Family Applications (1)

Application Number Title Priority Date Filing Date
SU792730328A SU809152A1 (en) 1979-03-14 1979-03-14 Device for bcd-to-binary conversion

Country Status (1)

Country Link
SU (1) SU809152A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5445509A (en) * 1990-10-17 1995-08-29 J & M Laboratories, Inc. Meltblowing die

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5445509A (en) * 1990-10-17 1995-08-29 J & M Laboratories, Inc. Meltblowing die

Similar Documents

Publication Publication Date Title
SU809152A1 (en) Device for bcd-to-binary conversion
SU809153A1 (en) Device for bcd-to-binary conversion
RU2148270C1 (en) Device for multiplication
SU723567A1 (en) Binary-decimal- to-binary code converter
SU651341A1 (en) Multiplying arrangement
SU1141403A1 (en) Dividing device
SU1545215A1 (en) Computing device
SU1179322A1 (en) Device for multiplying two numbers
RU2248094C2 (en) Device for transforming numbers from decimal to binary notation scale
SU842796A1 (en) Device for computing fractional rational function
SU851395A1 (en) Converter of binary to complementary code
RU1817091C (en) Device for multiplying numbers
SU132434A1 (en) The method of converting binary code to decimal and device for its implementation
SU1667259A1 (en) Binary-to-binary-coded-decimal converter
SU1432506A1 (en) Multiplication device
SU717755A1 (en) Arrangement for converting binary-to-decimal code and vice versa for floating-point numbers
SU1086427A1 (en) Dividing device
SU868751A1 (en) Multiplier
SU734682A1 (en) Divider
SU822174A1 (en) Converter of direct binary-decimal code into complementary binary-decimal one
SU1621182A1 (en) Reversible binary and binary-decimal code converter
SU1437857A1 (en) Device for dividing binary numbers in auxiliary code
SU815726A1 (en) Digital integrator
SU849205A1 (en) Conveyer device for performing arithmetic operations upon a set of numbers
SU860064A2 (en) Device for addition in binary system with redundancy