SU771659A1 - Binary-to-binary-decimal code converter - Google Patents

Binary-to-binary-decimal code converter Download PDF

Info

Publication number
SU771659A1
SU771659A1 SU782655616A SU2655616A SU771659A1 SU 771659 A1 SU771659 A1 SU 771659A1 SU 782655616 A SU782655616 A SU 782655616A SU 2655616 A SU2655616 A SU 2655616A SU 771659 A1 SU771659 A1 SU 771659A1
Authority
SU
USSR - Soviet Union
Prior art keywords
binary
stage
adder
adders
bits
Prior art date
Application number
SU782655616A
Other languages
Russian (ru)
Inventor
Евгений Александрович Шурмухин
Кира Вильгельмовна Королева
Original Assignee
Предприятие П/Я В-2769
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 Предприятие П/Я В-2769 filed Critical Предприятие П/Я В-2769
Priority to SU782655616A priority Critical patent/SU771659A1/en
Application granted granted Critical
Publication of SU771659A1 publication Critical patent/SU771659A1/en

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Description

Изобретение относитс  к области автоматики и вычислительной техники и может быть использовано при построении устройств дл  преобразовани  информации. Известен преобразователь двоишого кода в двоично-дес тичный, содержащий  русы последовательно соединенных сумматоров по модулю дес ть, причем выходы сумматоров пс модулю дес ть каждого  руса соединень с входами сумматоров по модулю дес ть соседнего  руса, а выходы сумматоров по модулю дес ть младшего  руса соединены с входами преобразовател  1 . Недостаток известного преобразовател  состо ит в большом объеме оборудовани  и быстром его росте с увеличением разр дности преобразуемого кода. Наиболее близким по схемному решению и технической сущности к изобретению  вл етс  преобразователь двоичного кода в двоичнодес тичный , содержаший двоичные сумма- : торы и последовательно соединенные сумматорь по модулю дес ть, образующие два  руса, причем перва  группа входов двоичных су 5маторов соединена с входами преобразовател  2. Недостаток этого преобразовател  состоит в большом объеме аппаратурь и низкой надежности . Целью изобретен1Ш  вл етс  уменьшениз затрат аппаратуры и повышение надежности преобразовател . Это достигаетс  за счет разбиени  преобразовател  на р д ст511еней и специальной коммутацией входов и выходов сумматоров. Предлагаемый преобразователь двоичного кода в двоична-дес тичный, содержащий объединенные в ступень преобразовани  двоичные сумматоры и последовательно соед1шенные сумматоры по . модулю дес ть, образующие два  руса, причем перва  грут1па входов двоичных сумматоров соединена с информационными входами преобразовател , дополнительно содержит элемент ИЛИ и 1 п/10 ступеней преобразовани , где п - число разр дов двоичного кода, в каждую из которых введен формирователь переноса , при этом выходы разр дов двоичных сумматоров , кроме двоичного сумматора послед37 ней ступени, вес которых кратен () , i7ic а номер ступени (а 1 - | ), соединень с второй группой входов ппоичиого сумматора (а 1)-ой ступени, все выходы разр дов двоичного сумматора, за исключением двух старших разр дов, имеющие вес 2 10 (k 1 - 10), соединены с первыми входами соответствующих сумматоров по модулю дес ть первого  руса а-ой ступени, а два выхода старших разр дов, имеющие вес 2-10 , соединены, соответственно с вторым и третьим входами сумматора по модулю дес ть старшего разр да первого  руса а-ой ступени, первые выходы всех сумматоров по модулю дес ть первого  руса каждой ступени, за исключением сумматоров по модулю дес ть двух старших разр дов, соединены с первыми входами соответствующих сумматоров по модулю дес ть второго  руса, первые выходы трех сумматоров по модулю дес ть второго  руса а-ой ступени соединены с входами формировател  переноса соответствующей ступени, первые выходы сумматоров по модулю дес ть двух старших разр дов первого  руса соединены с вторым и третьим входами сумматора по модулю дес ть старшего разр да второго  руса, первый выход формировател  переноса а-ой ступени соединен с входом двоичного сумматора (а + 1)-ой ступени , первый и второй входы элемента ИЛИ соединены с выходами формировател  переноса и двоичного сумматора ст)пени соответственно , выход элемента ИЛИ, выходы сумматоров по модулю дес ть младших разр дов обоих  русов, а также вторые, третьи и четвер тые выходы формирователей переноса всех сту пеней  вл ютс  выходами преобразовател . На фиг. 1 представлена структурна  схема преобразовател  двоичного кода в двоично-дес тичный; на фиг. 2 - блок-схема формировател  переноса. Преобразователь состоит из п/Ю ступеней преобразовани , где п - количество разр дов преобразуемого двоичного числа. Кажда  ступень преобразовани  содержит двоичные сумматоры 1, а также сумматоры по модулю дес ть 2 и формирователь, переноса 3, объединенные в матричный сумматор 4. Матричный сумматор содержит семь последовательно соединенных сумматоров по модулю дес ть первого  руса и четыре сумматора по модулю дес ть второго  руса. На выходах первого  руса образуютс  шесть результатов суммировани , кратных 10, кото4 рые поступают на вход второго  руса, и четыре младших разр да ;111оичмо-дсс тичнп1 о числа (2, 2 2-), , 2°-10 , поступающие на выход преобразовател . Младшии разр д двоичного числа 2 в преобразовании не участвует . На выходах второго  руса образуютс  три результата суммировани , кратных , которые поступают на входы формировател  переноса , и четыре последующих разр да двоичнодес тичного числа (2, 2 2), , поступающие на выход преобразовател . На выходе формировател  переноса образуютс  разр ды двоично-дес тичного числа (2, 2, 2) , поступающие на выход преобразовател , и перенос , поступающий на двоичнь е сумматоры 1 старшей ступени. Выход двоичных сумматоров, кратный 2° 10, и один выход формировател  переноса последней ступени через элемент ИЛИ 5 подключены к выходам преобразовател . ФормТйрователь переноса 3 содержит (см.фиг.2) п ть элементов И-ЫЕ 6-10, анализирующих входные сигналы, и два элемента ИЛИ-НЕ 11, 12, формирующих выходные сигналы. Причем пр мые входы элементов И-НЕ  вл ютс  входами формировате.п  переноса, выход элемента И-НЕ 6 соединен с инверсивными входами элементов И-НЕ 8, 10 и ИЛИ-НЁ И, 12, выход элемента И-НЕ 7 соединен с инверсивными входами элементов И-НЕ 6, 9, 10 и ИЛИ-НЕ 11, выход элемента И-НЕ 9 соединен с вторым входом элемента ИЛИ-НЕ 12, выходы элементов И-НЕ 8, 10 и ИЛИ-НЕ И, 12  вл ютс  выходами формировател  переноса. Преобразование двоичного кода в двоичнодес тичный осуществл етс  следующим образом. Веса поступающих на вход преобразовател  входных разр дов можно -выразить следующим соотнощением: Р 2 -10 (1-10 разр ды); Р-10 + К гИюз + ( (11-20 разр ды); PIO-.K .10 Н-.(.Ш Ч + (2 оНк-з) + . 10° (21-30 разр ды ) , где 1 К 10. Рассмотрим.-работу преобразовател  при условии , что количество разр дов преобразуемого числа п 20. , Веса 20 двоичных разр дов и разложени  их приведены в табл. 1.The invention relates to the field of automation and computer technology and can be used in the construction of devices for information conversion. A known converter of a double code into a binary-decimal, containing two serially connected adders modulo ten, with the outputs of adders pc modular ten each rus connected to the inputs of adders modulo ten neighboring rus, and the outputs of adders modulo ten younger rus are connected with converter inputs 1. A disadvantage of the known converter is a large amount of equipment and its rapid growth with an increase in the size of the code being converted. The closest in terms of circuit design and technical essence to the invention is a binary-to-binary binary code converter, containing binary sum-: tori and modular ten modulators connected in series, forming two rus, with the first group of binary inputs of the 5mators connected to the converter 2 inputs The disadvantage of this converter is the large amount of hardware and low reliability. The purpose of the inventive device is to reduce the cost of the equipment and increase the reliability of the converter. This is achieved by dividing the converter into a series of cells and by special switching of the inputs and outputs of the adders. The proposed binary-to-decimal binary code converter containing the binary converters combined into a step and successively connected summators of. the module consists of ten, forming two Russ, the first group of inputs of binary adders connected to the information inputs of the converter, additionally contains the element OR and 1 p / 10 conversion stages, where n is the number of bits of the binary code, in each of which the transfer former is entered In this case, the outputs of bits of binary adders, except the binary adder of the last stage, whose weight is multiple (), i7ic and the number of the stage (a 1 - |), are connected to the second group of inputs of the adder adder (a 1) -th stage, all the outputs of the bits binary an adder, with the exception of two high-order bits, having a weight of 2 10 (k 1 - 10), are connected to the first inputs of the corresponding adders modulo ten first rus of the a-th stage, and two high-end outputs having a weight of 2-10, connected, respectively, with the second and third inputs of the adder modulo ten most significant bit of the first tier a-th stage; the first outputs of all adders modulo ten of the first tier of each stage, except for modulators ten and two most significant bits, are connected to the first inputs of the corresponding summator modulo ten second Russian, the first outputs of three adders modulo ten second Russian a-th stage connected to the inputs of the transfer generator corresponding to the stage, the first outputs of adders modulo ten two senior bits of the first Russian connected to the second and third inputs of the adder modulo ten of the highest bit of the second rus, the first output of the a-th stage transfer former is connected to the input of the binary adder (a + 1) -th stage, the first and second inputs of the OR element are connected to the outputs of the transfer former and two respectively, the output of the OR element, the outputs of the adders modulo the ten least significant bits of both Rus, and also the second, third, and fourth outputs of the transfer drivers of all stages of the converter are outputs of the converter. FIG. 1 shows a block diagram of a binary-to-binary converter; in fig. 2 is a block diagram of a transfer driver. The transducer consists of n / th conversion steps, where n is the number of bits of the binary number to be converted. Each stage of conversion contains binary adders 1, as well as modulo ten adders and a shaper, transfer 3, combined into a matrix adder 4. Matrix adder contains seven consecutively connected modulators of ten first Russian and four modulo ten of the second Russian . At the outputs of the first rusa, six summation results are obtained, multiples of 10, which arrive at the input of the second rus, and four lower digits; 111oichmo-dss tichnn1 o number (2, 2 2-), 2 ° -10, arriving at the output of the converter . The younger bit of the binary number 2 is not involved in the conversion. At the outputs of the second rusa, three summation results are formed, multiples of which are fed to the inputs of the transfer generator, and four subsequent bits of the binary number (2, 2 2), that arrive at the output of the converter. At the output of the transfer former, bits of a binary-decimal number (2, 2, 2) are formed, arriving at the output of the transducer, and transfer arriving at the binary 1-higher-level adders. The output of binary adders, a multiple of 2 ° 10, and one output of the transfer driver of the last stage through the element OR 5 are connected to the outputs of the converter. The transfer form factor 3 contains (see Fig. 2) five elements AND-BU 6-10 analyzing the input signals and two elements OR-11, 12 that form the output signals. Moreover, the direct inputs of the NAND elements are the inputs of the transfer form, the output of the NAND element 6 is connected to the inverse inputs of the NAND elements 8, 10 and OR NII, 12, the output of the NAND element 7 is connected to the inverse the inputs of the elements AND-NO 6, 9, 10 and OR-NOT 11, the output of the element AND-NO 9 is connected to the second input of the element OR-NO 12, the outputs of the elements AND-NO 8, 10 and OR-NO AND 12 are outputs transfer driver. The conversion of a binary code to a binary one is carried out as follows. The weights of the input bits entering the converter can be expressed as follows: P 2 -10 (1-10 bits); Р-10 + К gIyuz + ((11-20 bits); PIO-.K .10 Н -. (. W × + (2 kNC-3) +. 10 ° (21-30 bits), where 1 10. Consider the operation of the converter, provided that the number of bits of the number to be converted is n 20. The weights of 20 binary bits and their decomposition are given in Table 1.

1-а  ступень преобразовани  содержит следующие двоичные сумматоры: сумматор весов, равных 8 (2 8), осуществл ющий суммирование четвертого разр да двоичного кода и части разложени  одиннадцатого разр да двоичного кода, имеющей вес 8; Б 16, осуществл ющий суммирование п того разр да двоичного кода, частей разложени  одиннадцатого и двенадцатого разр дов двоичного кода, имеющих вес 16, и переноса из 28; сумматоры весов 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, осуществл ющие суммирование соответствующих разр дов двоичного числа и соответствующих частей разложени  разр дов. В результате суммировани  вновь получаютс  веса 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192 и вес 16384. Числа 1024, 2048, 4096, 8192, 16384 раскладываютс  в соответствии с табл. 1. При этом числа , кратные 10 - 1000, 2000, 4000, 8000, 16000, поступают на входы двоичных сумматоров второй ступени преобразовани , а числа 8, 16, 32, 64, 128, 256 вновь суммируютс  с ранее полученными результатами. Наибольшее число, которое может получитьс  в результате этого суммировани , 1024. Оно раскладываетс  на 1000 + 16 t 8. Число 1000 поступает на вход двоичного сумматора вторЬй ступени, а числа 16, 8 вновь суммируютс  с полученными ранее результатами. В результате последнегоThe 1-st conversion stage contains the following binary adders: a weight adder equal to 8 (2 8), performing the summation of the fourth bit of the binary code and the decomposition part of the eleventh bit of the binary code having weight 8; B16, which performs summation of the fifth bit of the binary code, parts of the decomposition of the eleventh and twelfth bits of the binary code, having a weight of 16, and the transfer of 28; weight adders 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, performing summation of the corresponding bits of the binary number and the corresponding parts of the decomposition of the bits. As a result of the summation, weights of 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192 and weight of 16384 are obtained. The numbers 1024, 2048, 4096, 8192, 16384 are laid out in accordance with the table. 1. In this case, multiples of 10-1000, 2000, 4000, 8000, 16000 are fed to the inputs of the binary second-stage conversion adders, and the numbers 8, 16, 32, 64, 128, 256 are again added to the previously obtained results. The largest number that can be obtained as a result of this summation is 1024. It is expanded by 1000 + 16 t 8. The number 1000 is fed to the input of the second-stage binary adder, and the numbers 16, 8 are again added to the previously obtained results. As a result of the latter

суммировани  пол чаютс  веса 8, 16, 32, 64, . 128, 256, 512, которые вместе с младшими . разр дами двоичного числа, имеющими вес 2,4,summations are weights of 8, 16, 32, 64,. 128, 256, 512, which together with the younger ones. binary digits having a weight of 2.4,

поступают на сумматоры 2 по модулю дес ть первого  руса матричного сумматора 4. Сумматоры по модулю дес ть 2; 2 осуществл ют преобразование полученных в результате двоичного суммировани  весов двоичных разр дов 2,arrive at adders 2 modulo ten of the first rus of the matrix adder 4. Modulo ten adders 2; 2 converts the resulting binary sum of the weights of the binary bits 2,

4, 8, 16, 32, 64, 128, 256, 512 в двоично-дес тичный код. Младший разр д двоичного числа, имеющий вес 1, в преобразовании не участвует .4, 8, 16, 32, 64, 128, 256, 512 in binary-decimal code. The least significant bit of a binary number having a weight of 1 does not participate in the conversion.

Преобразование .осзществл етс  следующимThe transformation is as follows.

образом....Jway .... j

На сумматор по модулю дес ть 2i поступают трн старших разр да преобразуемого двоичного кода, а именно 512, 256, 128. На его входах могут возникнуть следующие комбинацииThe modulo ten 2i receives trn high-order convertible binary code, namely 512, 256, 128. The following combinations may occur at its inputs

преобразуемых разр дов; 512, 256, 128; 512, 256; 512, 128; 256, 128; 128; 256; 512.convertible bits; 512, 256, 128; 512, 256; 512, 128; 256, 128; 128; 256; 512.

Сумматор по модулю дес ть 2i осуществл ет преобразование поступающих на его вход разр дов двоичного числа в величину, кратнуюModulo ten 2i converts the bits of a binary number arriving at its input into a multiple of

10 , где m - номер  руса, в котором размещен сумматор. Образующиес  при этом остатки имеют значени , равные весам следующих за старшим разр дов двоичного кода.10, where m is the number of the rus in which the adder is located. The resulting residues have values equal to the weights of the next binary bits.

Сумматор 2i осуществл ет следующие преобразовани , представленные в табл. 2.The adder 2i performs the following transformations, presented in Table. 2

Сочетани  разр дов на входах сумматора 2JCombination bits at the inputs of the adder 2J

512, 256, 512, 256,

512, 256512, 256

512, 128512, 128

256, 128256, 128

128128

256256

512512

ТаблицаTable

Сочетани  выходных сигналовOutput Combinations

/ сумматора 2jadder 2j

640+ 256 + 2640+ 256 + 2

640+ 128 10 - 2640+ 128 10 - 2

640 10640 10

256+ 128 2256+ 128 2

128 2128 2

256 2256 2

256+ 128+ 128 2 + 2 + 256+ 128+ 128 2 + 2 +

Выходной сигнал сумматора по модулю дес ть 2), кратный 10, поступаетна сумматор по модулю дес ть 2 второго  руса, а образующиес  остатки поступают на входы суммато- jjThe output of the modulo ten ad 2), a multiple of 10, the modulo ten 2 adder of the second rus, and the resulting residues are fed to the inputs of the adder jj

; pa 22 первого  руса. На вход сумматора 22 поступает также последующий седьмой .разр д преобразуемого числа. На выходе последнего сумматора 2-J первого  руса формируютс  сигналы; pa 22 of the first rus. The input of the adder 22 also receives the subsequent seventh bit of the converted number. At the output of the last adder 2-J of the first rus, signals are generated

2- 10 10, 2. 10° и 2° 10, которые  в- j л ютс  выходными сигналами преобразовател . Шесть выходных сигналов сумматоров по моду 2-10 10, 2. 10 ° and 2 ° 10, which are output from the converter signals. Six output modulator mode

лю дес ть первого  руса, кратных 10, (640, 320, 160, 80, 40, 20) поступают на сумматор по модулю дес ть второго  руса. ПреобразоваAny ten first Russian multiples of 10, (640, 320, 160, 80, 40, 20) go to the modulo ten second Russian adder. Transform

ние на втором  русе осуществл етс  аналогично Преобразованию на первом  русе. На йыхо- дах сумматоров по модулю дес ть второго  р) са формируютс  результаты суммировани , кра ные 10. и оста,тк,кратнь1е Ю . The second rune is implemented in the same way as the first run transform. At the yields of adders modulo ten of the second p) sa, the results of summation, edges 10. and ost, mk, a multiple of Yu, are formed.

Так сумматор 2 осуществл ет следующие преобразовани , представленные в табл. 3.So adder 2 performs the following transformations, presented in Table. 3

Таблица 3 Выходные сигналы сумматора 2i, кратные И), поступают на входы сумматора 2 этого же  руса. На вход сумматора 2i поступает также последующий разр д с сумматора 2 первого  руса. На выходе последнего сумматора24 второго  руса формируютс  сигналы 2« 10 , 2 0 2-10 и 2°-10,  вл ющиес  выходными сигналами преобразовател . Три выходных сигнала сумматоров второго  руса, кратные 10, (200,Table 3 The output signals of the adder 2i, multiples of AND), are fed to the inputs of the adder 2 of the same rus. The next bit from the adder 2 of the first rus also arrives at the input of the adder 2i. At the output of the last adder 24 of the second Rus, signals of 2 "10, 2 0 2-10 and 2 ° -10 are formed, which are the output signals of the converter. Three output signals of adders of the second Russian, multiples of 10, (200,

Сочетани  входных разр дов формировател  переносаCombinations of the input bits of the transfer mapper

800, 400, 200800, 400, 200

800, 400800, 400

800, 200800, 200

400, 200400, 200

200200

400400

800800

Таким образом, сигнал переноса формируетс  в том случае, если сумма весов, поступающих на вход разр дов устройства, больше или равна 10. Thus, the transfer signal is generated if the sum of the weights arriving at the input of the bits of the device is greater than or equal to 10.

В ф.ормирователе 3-элемент И-НЕ 7 анализИг рует наличие первого () и третьего (2. входных сигналов. При одновременном присутствии этих сигналов с. выхода элемента И-НЕ 7 поступает запрещающий потенциал на инверсивные входы элементов И-НЕ 6, 9, 10 и разрещающий потенциал на элемент .ИЛИ-НЕ 11. На выход, формировател  переноса с выхода элемента ИЛИ-НЕ 11 поступает сигнал, имеющий вес 2 10.In the form regulator, the 3-element AND-HE 7 analyzes the presence of the first () and third (2. input signals. If these signals of the output of the AND-7 element are simultaneously present, the inhibitory potential is fed to the inverse inputs of the AND-NE elements 6, 9, 10 and the resolving potential on the element .OR-NOT 11. To the output, the transfer former, from the output of the element OR-NOT 11, receives a signal having a weight of 2 10.

Элемент И-НЕ 6 анализирует наличие первого (2л10) и второго () входных сигналов . При одновременном наличии этик скгналов и отсутствии запрещающего потенциала с выхода элемента И-НЕ 7 (третий входной сигнал отсутствует) с выхода элемента И-НЕ 6 поступает запрещающий потенциал на инверсивные входы элементов И-НЁ 8, 10 и разрешающие потенциалы на элементы ИЛИ-НЕ 11, 12 На выход формировател -переноса с выходов элементов ИЛИ-НЕ II, 12 поступают сигналы, имеющие вес 2°.10 и 2-10The element AND-NOT 6 analyzes the presence of the first (2-10) and second () input signals. With the simultaneous presence of these signals and the absence of a prohibiting potential from the output of the element AND-NOT 7 (the third input signal is absent) from the output of the element AND-NOT 6, the prohibiting potential arrives at the inverse inputs of the elements AND-НЁ 8, 10 and the resolving potentials of the elements OR-NOT 11, 12 Signals that have a weight of 2 ° .10 and 2-10 are received at the output of the transfer shaper from the outputs of the elements OR-NOT II; 12

Выходные сигналы формировател  переносаShaper output signals

1000 + 400 2° 101000 + 400 2 ° 10

1000 + 200 2°- 10 + 2 -101000 + 200 2 ° - 10 + 2 -10

1000 2. 101000 2. 10

400 + 200 + 210400 + 200 + 210

200 2-10200 2-10

400 2 . 10400 2. ten

800 2 10800 2 10

При наличии только первого разр да входного сигнала () с выходов элементов И-НЕ 6, 7 поступают разрешающие потенциалы на инверсивные входы элемента И-НЕ 10. На выход формировател  переноса с выхода элемента И-НЕ 10 поступает сигнал, имеющий вес 2,-10. При наличии только второго входного сигнала ( 10) на инверсивный вход элемента И-НЕ 8 с выхода элемента И-НЕ 6 поступает разрешающий потенциал. С выхода элемента И-НЕ 8 на выход формировател  переноса поступает сигнал, имеющий вес 210. При наличии только третьего входного сигнала (2. 10) на инверсивный вход элемента И-НЕ 9 поступает разрешающий потенциал с выхода элемента И-НЕ 7. Сигнал, имеющий вес 2 10 с выхода элемента И-НЕ 9 поступает на вход элемента ИЛИ-НЕ 12, а с его выхода на выход формировател  переноса.If there is only the first bit of the input signal () from the outputs of the AND-NE 6, 7 elements, the resolving potentials are fed to the inverse inputs of the AND-10 element. The output of the transfer former from the output of the AND-10 element is a signal having a weight of 2, - ten. If there is only a second input signal (10), the invert potential of the IS-HE element 8 is output from the AND-HE element 6 input. From the output of the element AND-NE 8, the output of the transfer former receives a signal having a weight of 210. If there is only a third input signal (2. 10), the inverse input of the element IS-NOT 9 receives the resolving potential from the output of the element IS-NOT 7. The signal having a weight of 2 to 10 from the output of the element AND-NO 9 is fed to the input of the element OR-NOT 12, and from its output to the output of the transfer former.

Claims (2)

При одновременном наличии второго (2 10) и третьего () входных сигналов выходные сигналы, имеющие вес 10 и 10, формируютс  аналогично рассмотренным выше случа м наличи  только одного второго или одного третьего входного сигнала. При одновременном наличии всех трех вход400 , 800) поступают на формирователь переноса 3, который формирует выходной сигнал, р вный 2°10, поступающий на вход двоичного сумматора второй ступени, и три выходных сигнала, кратные 10 (200, 400, 800), поступающие на выход преобразовател . Работа формировател  переноса характеризуетс  табл. 4. Таблица 4 ных сигналов запрещающий потенциал с элемен та И-НЕ 7 поступает на инверсивные входы элементов И-НЕ 6, 9, 10. Разрешающий потенци ал с выхода элемента И-НЕ 7 поступает на вхо элемента ИЛИ-НЕ 11, а разрещающий потенциал с выхода элемента И-НЕ 6 - на инверсивный вход элемента И-НЕ 8. На выход формировател  переноса поступают сигналы с выходов элементов ИЛИ-НЕ 11 и И-НЕ 8, имеющие вес 2°10 и 2.10 соответственно. Втора  -ступень преобразовани  осуществл ет авоичное суммирование частей разложени  разр дов преобразуемого двоичного числа, кратных 10. и результатов суммировани  первой ступени кратных 10. Она содержит двоичные сумматоры дл  сложени следуюших величин: 1 тыс. 2, 4, 8, 16, 32, 64, 128, 256, 512 тыс. Наибольщее число , которое может получитьс  в результате суммировани , равно 1024 тыс. Оно раскладываетс  на 1024 ТЫС.-1МЛН. + 16 тыс. + 8 тыс. Число 1 млн. поступает на элемент ИЛИ 5, а числа 16 ть1С., 8 тыс. суммируютс  с полученными ранее результатами суммировани . В результате этого суммировани  получаютс  веса 1 тыс., 2, 8. 16, 32, 64, 128, 256, 512 тыс., ко торые поступают на матричный сумматор 4 вто рой ступени, осуществл ющий преобразование весов двоичнь1х разр дов в двоично-дес тйчньй код., Преобразование аналогично описанному дл  первой ступени, только веса преобразуемых разр дов увеличиваетс  в 10 раз (512, 256, 1 128 тыс. вместо 512, 256, 128 соответственно). На выходе -матричного сумматора 4 второй ступени формируютс  сигналы (2, 2, 2) 10 (2«, 2, 22)10 (2°, 2S 2).10 В преобразователе-прототипе дл  п 30 необходимо 9  русов преобразова- 3 ни , содержащих (п-3) + (п--6) + (п-9) + + () + (п-15) + (п-18) + (п-21) + + (п-24) -(- (п-27) 135 сумматоров по мод лю дес ть. В предлагаемом преобразователе дл  необходимо три ступени преобразовани , содержащие 45 четырехразр дных двоичных сумматоров и 12x3 36 сумматоров по модулю дес ть . Так как дес тичный;сумматор:на микросхемах серии 133 содержит 2,5 корпуса, а дво ичный четырехразр дный сумматор - 1 корпус предлагаемый преобразователь позвол ет снизить аппаратурные затраты приблизительно в 2,5 раза. Формула изобретен.и   Преобразователь двоичного кода в двоичнодес тичный , содержащий объединенные в ступень преобразовани  двоичные сумматоры и последовательно соединенньш сумматоры по модулю дес ть, образующие два  руса, причем перва  группа входов двоичных сумматоров соединена с информационными входами преобразовател , отличающийс  тем, что, с целью уменьщени  затрат аппаратуры, он содержит элемент ИЛИ и п/10( ступеней преобразовани , где п - число разр дов двоичного кода, в .каждую из которых введен формирователь переноса, причем выходы разр дов двоичных сумматоров, кроме двоичного сумматора последней ступени, вес которых кратен 10 , где а - номер ступени, а 1 ; , соединены с второй группой входов двоичного сумматора (а+1)-ой ступени, все выходы разр дов двоичного сумматора, за исключением двух старпшх разр дов, имеющие вес 2 (k 1-10), соединены с первыми входами соответствующих сумматоров по модулю дес ть первого  руса а-ой ступени, а два выхода старших разр дов , имеющие вес 2-10 , соединены соответственно с вторым и третьим входами сумматора по молулю дес ть старщего разр да первого  руса а-ой ступени, первые выходы всех сумматоров по модулю дес ть первого  руса каждой ступени, за исключением сумматоров по модулю дес ть двзХ старших разр дов, соединены с первыми входами соответствующих сумматоров по модулю дес ть второго  руса, первые выходы трех сумматоров по модулю дес ть второго  руса а-ой ст)шени соединены с входами формировател  переноса соответствующей ступени, первые выходы сумматоров по модулю дес ть двух старших разр дов первого  руса соединены соответственно с вторым и третьим входами сумматора по модулю дес ть старшего разр да второго  руса, первь1й выход формировател  переноса а-ой ступени соединен с входом двоичного сумматора (а+1)-ой ступени, первый и второй входы элемента ИЛИ соединены с выходами формировател  переноса и довичного сумматора .1-ой CTjoieHH соответс венно, выход элемента ИЛИ и выходы сумматоров по модулю дес ть младших разр дов обоих  русов , а также вторые, третьи и четвертые выходы формирователей переноса всех ступеней  вл ютс  выходами преобразовател . Источники информации, прин тые во внимание при экспертизе 1,Патент США № 3638001, кл. 235-155, опублик. 1975. With the simultaneous presence of the second (2 10) and third () input signals, output signals having a weight of 10 and 10 are formed in a manner similar to the cases discussed above with only one second or one third input signal. With the simultaneous presence of all three inputs400, 800), they are fed to the transfer conditioner 3, which forms an output signal, p 2 10 10, arriving at the input of a second-stage binary adder, and three output signals, multiples of 10 (200, 400, 800), to the output of the converter. The operation of the transfer agent is characterized by the table. 4. Table 4 of the signal signals, the inhibitory potential from the element AND-NOT 7 is fed to the inverse inputs of the elements AND-NOT 6, 9, 10. The resolving potential from the output of the element AND-NOT 7 goes to the input of the element OR-NOT 11, and the resolving potential potential from the output of the element AND-NOT 6 - to the inverse input of the element AND-NOT 8. The output of the transfer former receives signals from the outputs of the elements OR-HE 11 and AND-NE 8, having a weight of 2 ° 10 and 2.10, respectively. The second conversion step performs the automatic summation of parts of the decomposition of the bits of the converted binary number, multiples of 10. and the results of the summation of the first stage of multiples of 10. It contains binary adders for adding the following values: 1 thousand 2, 4, 8, 16, 32, 64 , 128, 256, 512 thousand. The largest number that can be obtained as a result of summation is 1024 thousand. It is decomposed by 1024 thousand TYS. -1MLN. + 16 thousand + 8 thousand. The number 1 million arrives at the element OR 5, and the numbers 16 TB, 8 thousand are added to the previously obtained results of the summation. As a result of this summing, the weights are 1 thousand, 2, 8. 16, 32, 64, 128, 256, 512 thousand, which are fed to the second-stage matrix adder 4 of the second stage, which converts the weights of binary digits to Volume code. Conversion is similar to that described for the first stage, only the weights of the converted bits are increased 10-fold (512, 256, 1 128 thousand instead of 512, 256, 128, respectively). At the output of the second-stage matrix adder 4, signals (2, 2, 2) 10 (2 ", 2, 22) 10 (2 °, 2S 2) are formed. 10 In the prototype converter, for n 30 you need 9 transform levels containing (p-3) + (p - 6) + (p-9) + + () + (p-15) + (p-18) + (p-21) + + (p-24) - (- (p-27) 135 adders mod ten. The proposed converter requires three conversion stages containing 45 four-bit binary adders and 12x3 36 modulo ten adders. Since it is decimal; adder: on 133 series microcircuits contains 2.5 cases, and a dual four-bit adder - 1 case The proposed converter allows you to reduce hardware costs by approximately 2.5 times. The formula of the invention and the binary-to-binary converter, containing combined binary converters in the conversion stage, and modulo ten consecutively adders, forming two rus, the first group of binary inputs adders connected to the information inputs of the Converter, characterized in that, in order to reduce the cost of equipment, it contains the element OR and p / 10 (conversion stages, g de n is the number of bits of the binary code, into each of which the transfer driver is entered, the outputs of the bits of binary adders, except the binary adder of the last stage, whose weight is a multiple of 10, where a is the number of the stage and 1; connected to the second group of inputs of the binary adder (a + 1) -th stage, all the outputs of the bits of the binary adder, with the exception of two star bits, having a weight of 2 (k 1-10), are connected to the first inputs of the corresponding adders modulo dec The first rusa of the a-th stage, and the two outputs of the higher bits, having a weight of 2-10, are connected respectively to the second and third inputs of the adder at the mol ten of the most significant discharge of the first rus of the a-th stage, the first outputs of all adders modulo dec the first russa of each step, except for the sum modulators of ten high-order bits are connected to the first inputs of the corresponding adders modulo ten of the second rus, the first outputs of the three adders modulo ten of the second russa a-th stage are connected to the inputs of the transfer former of the corresponding level, the first outputs of the adders modulo ten two leading bits of the first rus are connected respectively to the second and third inputs of the adder modulo ten most significant bits of the second rus, the first 1 output of the a-o stage transfer driver is connected to the binary input the adder (a + 1) -th stage, the first and second inputs of the OR element are connected to the outputs of the transfer former and the final adder of the 1st CTjoieHH respectively, the output of the OR element and the outputs of the adders modulo ten least significant bits of both rus, and also the second, third and fourth outputs of the transfer drivers of all stages are the outputs of the converter. Sources of information taken into account in examination 1, US Patent No. 3638001, cl. 235-155, published. 1975. 2.За вка Н° 2505621/18-24, кл. G 06 F 5/02, 1977, °по которой прин то положительное рещение .2. For backing H ° 2505621 / 18-24, cl. G 06 F 5/02, 1977, ° on which a positive decision is made. ;; h-i h-hi h- -d r fbsMwfi-M-W jMf/ -d r fbsMwfi-M-W jMf / II -1-one iziz . ( ЖЖПда «//jH Sv -.y r«i.A. /.. л1| . . л ( fff.lS-fiM-t ( f,r.P.l)-4 .;./. (ЖЖПда «// jH Sv -.y r« i.A. / .. л1 |.. Л (fff.lS-fiM-t (f, r.P.l) -4.; ./
SU782655616A 1978-07-11 1978-07-11 Binary-to-binary-decimal code converter SU771659A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU782655616A SU771659A1 (en) 1978-07-11 1978-07-11 Binary-to-binary-decimal code converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU782655616A SU771659A1 (en) 1978-07-11 1978-07-11 Binary-to-binary-decimal code converter

Publications (1)

Publication Number Publication Date
SU771659A1 true SU771659A1 (en) 1980-10-15

Family

ID=20781705

Family Applications (1)

Application Number Title Priority Date Filing Date
SU782655616A SU771659A1 (en) 1978-07-11 1978-07-11 Binary-to-binary-decimal code converter

Country Status (1)

Country Link
SU (1) SU771659A1 (en)

Similar Documents

Publication Publication Date Title
US4813008A (en) Multiplier circuit suitable for obtaining a negative product of a multiplier and a multiplicand
US4598382A (en) Multiplying circuit
US5111422A (en) Circuit arrangement for calculating product sums
SU771659A1 (en) Binary-to-binary-decimal code converter
JPH07191951A (en) Neural network circuit
JP4290203B2 (en) Reduction array apparatus and method
SU779998A1 (en) Code converter
SU1083185A1 (en) Matrix calculator
SU1193663A1 (en) Adder for compressed codes
RU2131618C1 (en) Device for module addition of n integers
SU1229757A1 (en) Multiplying device
SU1670685A1 (en) Multiplier unit
SU1073771A1 (en) Device for multiplying binary-coded decimal digits
SU890386A1 (en) Decoder
SU1501278A1 (en) Reversible binary-decimal to binary code converter
SU1124284A1 (en) Matrix computing device
RU2081512C1 (en) Code converter
SU1381717A1 (en) Code converter
SU1116427A1 (en) Multiplying device
SU1136153A1 (en) Device for calculating value of function x = square root of sum of two squared numbers
SU1160399A1 (en) Device for multiplying numbers in redundant quaternary notation
JPH03214233A (en) Multiplier
SU883892A1 (en) Gray-to-positional code converter
SU1405054A1 (en) Squaring device
SU826341A1 (en) Multiplier