SU1153323A1 - Translator from binary code to binary coded decimal code - Google Patents
Translator from binary code to binary coded decimal code Download PDFInfo
- Publication number
- SU1153323A1 SU1153323A1 SU833660815A SU3660815A SU1153323A1 SU 1153323 A1 SU1153323 A1 SU 1153323A1 SU 833660815 A SU833660815 A SU 833660815A SU 3660815 A SU3660815 A SU 3660815A SU 1153323 A1 SU1153323 A1 SU 1153323A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- section
- output
- binary
- converting
- Prior art date
Links
Landscapes
- Analogue/Digital Conversion (AREA)
Abstract
ПРЕОБРАЗОВАТЕЛЬ ДВОИЧНОГО КОДА В ДВОИЧНО-ДЕСЯТИЧНЫЙ КОД, содержарщй генератор импульсов и первую и втор;ло преобразующие секции, кажда из которых содержит декаду двоично-дес тичного счетчика, двоичный счетчик, дешифратор нул и элемент И, перва преобразующа секци содержит элемент ИЛИ, а втора преобразующа секци содержит элемент НЕ, выход элемента И каждой из преобразующих секций соединен со счетным входом двоичного счетчика, выходы которого соединены с входами дешифратора нул , первьм вход элемента И соединен с выходом генератора импульсов, выход дешифратора нул второй преобразующей секции через элемент НЕ соединен с вторым входом элемента И, с управл ющим входом дешифратора нул первой преобразующей снкции и с вторым входом элемента И первой преобразующей секции , выход которого соединен с установочными входами двоичного счетчика второй преобразующей секции и с первым входом элемента ИЛИ, второй вход которого соединен с выходом переполнени декады двоично-дес тичного счетчика второй преобразующей секции, а выход элемента ИЛИ первой преобразующей секции соединен со счетным входом декады двоично-дес тичного счетчика первой преобразующей секции, вькод дешифратора нул первой преобразующей секции соединен с входом сброса генератора импульсов , вход пуска которого вл етс входом пуска преобразовател . отличающийс тем, что. с целью повышени быстродействи , в (Л него введена группа из (N-3) преобразуюршх секций, аналогичньк первой преобразующей секции, и N- преобразующа секци , аналогична второй преобразующей секции,причемвтора преобразующа секци содержит элемент И.ПИ, преобразующие секции группы содержат элемент НЕ, а кажел да из введенных преобразующих секСлЭ 00 ций содержит шифратор, выходы которого соединены с установочными вхоIN3 дами двоичного счетчика соответСО ствующей преобразующей секции, выход элемента И -й (, N-1) преобразующей секции соединен с ; -ми входами шифраторов j-x (i j N ) преобразую1ч;их секций, первые входы элементов И V-x (,...,/J) преобразуюрщх секций соединены с выходом генератора импульсов, выход дешифратора нул 14-й преобразующей секции через элемент НЕ соединен с вторым входом элемента И 1с-й преобразуюBINARY CODE CONVERTER TO BINARY DECIMAL CODE, contains a pulse generator and first and second; converting sections, each of which contains a decade of a binary-decimal counter, a binary counter, a decoder zero and the element And, the first converting section contains the element OR, and the second The conversion section contains the element NOT, the output of the element AND each of the conversion sections is connected to the counting input of a binary counter, the outputs of which are connected to the inputs of the decoder zero, the first input of the element AND is connected to the output g pulse pulse, the output of the decoder zero of the second converting section is NOT connected to the second input of the element I, to the control input of the decoder zero of the first converting input and to the second input of the element And of the first converting section whose output is connected to the installation inputs of the binary counter of the second converting section and with the first input of the OR element, the second input of which is connected to the decade overflow output of the binary-decimal counter of the second conversion section, and the output of the OR element of the first conversion uyuschey section is connected to the counting input of decade of the binary coded decimal counter first transforming section vkod decoder zero first transforming section connected to the reset input of the pulse generator, the start input of which is input to the converter is started. characterized in that. in order to increase speed, a group of (N-3) transforming sections is introduced in (L), similar to the first transforming section, and an N-converting section similar to the second converting section, the second converting section contains the element I.PI, the converting sections of the group contain the element NOT, but each of the transforming secSle 00s entered contains an encoder, the outputs of which are connected to the installation inputs of the binary counter of the corresponding conversion section, the output of the element And (, N-1) conversion section with jx (ij N) converts 1h; their sections, first inputs of elements AND Vx (, ..., J) of converting sections are connected to the output of the pulse generator, the output of the decoder zero of the 14th converting section through the element connected to the second input element and transform 1c
Description
щей секг(ии, с третьим входом элемента И ()-й преобразующей сектдии и с управл юп1Им входом дешифратора нул (k-1)-и преобразующей секции, выход элемента И второй преобразующей секции соединен с первым входом элемента ИЛИ второй преобразующей секции , выход которого соединен со счетным входом декады двоично-дес тично53323with the third input of the AND () th transforming sect and the control of the input of the zero (k-1) decoder and the transforming section, the output of the element And the second converting section are connected to the first input of the element OR the second converting section, the output which is connected to the counting input of the decade binary-decimal 53323
го счетчика второй преобразующей секции, переполнени декады двоично-дес тичного счетчика k-и преобразую11ей секции соединен с вторым входом элемента Е-ШИ (|.:-1)-й преобразующей секции, выход элемента И N-и преобразующей секции соединен со счетным входом декады двоично-дес тичного счетчика данной секции.the second counter of the transforming section, the decade overflow of the binary-decimal counter of the k-conversion section is connected to the second input of the E-SHI element (|.: 1) -th conversion section, the output of the AND element of the conversion section is connected to the counting input decades of the binary-decimal counter of this section.
Изобре-тение относитс к автоматик и вьмислительной технике и может быть использовано при построении устройств переработки и преобразовани информации,The invention relates to automation and supervisory technology and can be used in the construction of devices for processing and converting information,
Известен преобразователь двоичного кода в двоично-дес тичный, содержащий генератор импульсов, группу двоичных реверсивных счетчиков, группу двоично-дес тичных реверсивных счетчиков и группу умножителей, выходы которьк соединены со счетньми входами счетчиком групп 1 1,A known converter of binary code into binary-decimal, containing a pulse generator, a group of binary reversible counters, a group of binary-decimal reversible counters and a group of multipliers, the outputs of which are connected to the counting inputs by a counter of groups 1 1,
Недостаток и звестного устройства заключаетс в его относительно большой сложности. The disadvantage of the well-known device lies in its relatively great complexity.
Наиболее близким по технической сущности к предлагаемому вл етс преобразователь двоичного кода в двоично-дес тичный код, содержащий генератор импульсов, первую и вторую преобразующие секции, кажда из которых содержит декаду двоично-дес тичного счетчика и двоичный счетчик, дешифратор нул , элемент НЕ и элемент И, выхо;; которого соединен со счетными входами счетчиков, а входы дешифратора нул соединены с выходами двоичного счетчика L21,The closest in technical essence to the present invention is a binary-to-binary-to-binary converter, comprising a pulse generator, first and second converting sections, each of which contains a decade of a binary-decimal counter and a binary counter, a decoder zero, an element and NOT And out ;; which is connected to the counting inputs of the counters, and the inputs of the zero decoder are connected to the outputs of the binary counter L21,
Недостаток известного устройства состоит в низком быстродействии, A disadvantage of the known device is low speed,
Целью изобретени вл етс повьшен е быстродействи .The aim of the invention is to increase speed.
Поставленна цель достигаетс тем, что в преобразователь двоичного кода в двоично-дес тичный код, содержащий генератор импульсов и первую и вторую преобразующие секции, кажда из которьсх содержит декаду двоично-дес тичного счетчика, двоичный счетчик, дешифратор нул и элемент И, причем перва преобразующа секци содержит элемент ШШ, а втора преобразующа секци содержит элемент НЕ выход элемента И каждой из преобразующих секций соединен со счетным входом двоичного счетчика, выходы которого соединены с входами дешифратора нул , цервьй вход элемента И соединен с выходом генератора импульсов, выход дешифратора нул второй преобразующей секции через элемент НЕ соединён с вторым входом элемента И, с управл ющим входом дешифратора, нул первой преобразующей секции и с вторым входом элемента И первой преобразующей секции, вькбд которого соединен с установочными входами двоичного счетчика второй преобразующей секции и с nepatiM входом элемента ИЛИ, второй вход которого соединен с выходом переполнени декады двоично-дес тичного счетчика второй преобразующей секции, а выход элемента ИЛИ первой преобразующей секции соединен со счетным входом декады двоично-дес тичного счетчика первой преобразующей секции, выход дешифратора нул первой преобразующей секции соединен с входом сброса генератора импульсов , вход пуска которого вл етс входом пуска преобразовател , дополнительно введена группа из (N-3) преобразующих секций, аналогичных первой преобразующей секции, и N- преобразующа секци , аналогична второй преобразуюв ей секции, причем втора преобразующа секци содержит элемент ИЛИ, преобразздащие секции группы содержат элемент -НЕ, а кажда из введенных преобразующих секций содержит шифратор, выходы которого соединены с установочными входами двоичного счетчика соответствующей преобразующей секции, выход элемента И (г-и (i Т, .. . , (N-1)) преобразующей секции соединен с i-м входами шифраторов j-x ( j . N) преобразующих секций, первые входы элементов И k-х (1с 3,. ,. ,N) преобразующих секций соединен.ы с выходом генератора импульсов, выход дешифратора нул k-й преобразующей секоди через элемент НЕ соединен с вторым входом элемента И k-й преобразующей секции, с третьим входом элемента И ()-й преобразующей секции и с управл ющим входом дешифратора нул ((.-1)-й преобразующей секцрш,; выход элемента И второй преобразующей секции соединен с первым входом элемента ИЛИ второй преобразующей секции, выход которог соединен со счетным входом декады двоично-дес тичного счетчика второй преобразующей секции, выход перепол нени декады двоично-дес тичного счетчика преобразующей секции соединен с вторым входом элемента ИЛИ (1с-1)-й преобразующей сек ции, выход элемента И N-й преобразующей секции соединен со счетным входом декады двоично-дес тичного счетчика данной секции. На чертеже изображена блок-схем предлагаемого преобразовател . Преобразователь содержит N пре образующих секций 1 ( N соответствует максимальному п-разр дному входному двоичному коду). Кажда п образующа секци 1 содержит декаду Двоично-дес тичного счетчика 2, дво ичный счетчик 3, Дешифратор 4 нул элемент И 5.. Все секции 1, кроме Младшей, содержат элемент ИДИ 6 все секции, кроме старшей, содержа элемент НЕ 7. Все преобразующие сек ций, кроме двух старших, содержат шифраторы 8. Преобразователь содерж генератор 9 импульсов и имеет вход 10 пуска. Обозначим, коэффициент пересчета двоичных счетчиков 3- через К ( ). : V : Устройство работает следующим об разом. В исходном состо нии в двоичных, счетчиках 3 О t,N) записаны числа (и, п, ..., Пр) преобразуемого двоич234 ного кода, а декады д юично-дес тичных счетчиков (,N) уст ноапены в нулевое состо ние. При этом на выходе де1ш-;фратора 4 нул по вл етс запрещающий потенциал, если в двоичном счетчике 3 записано Какое-либо число, отличное от нул . По сигналу Пуск импульсы с выхода генератора 9 поступают через элемент И 5 на счетный вход вычитани счетчитса 3, и на счетный вход сложени счетчика 2 и производ т вычитание единиц из счетчика 3 и прибавление единиц в счетчик 2 (по единице на каждый импульс) до тех пор, пока в счетчике 3, не установ тс нули. Таким обра2 . Если , то возникает единица котора поступает через переноса, ИЛИ 62 на счетньй вход счетэлемент а в счетчике 2, остаетс чика 2 го . Если (1.10, то в число счетчике 2 остаетс число . На выходе дешифратора 4 нул по вл етс разрешающий потенциал, а на выходе элемента НЕ 7 - запрещающий. Импульс с выхода генератора 9 проходит через элемент И 5. и производит вычитание единицы из счетчика 3, прибавление единицы в счетчик 2 и -через шифратор 8 установку числа 1П в счетчике 3 . На выходе дешифратора 4 снова: по вл етс запрещающий потенциал, а на выходе элемента НЕ 7, разрешающий. Следующа сери импульсов производит вычигание числа т из счетчика 3 и прибавление этого числа в счетчик 2. Если возникает при этом переполнение счетчика 2 , то единица переноса поступает через элемент ИЛИ 6 на счетный вход счетчика 2. Така последовательность действий циклически продолжаетс До тех пор, пока число из счетчика 32 не будет полностью перенесено в счетчик 2. После этого открываетс элемент И 5 следующей секции 1 и начинаетс вычитание единиц из счетчика 3 и прибавление единиц в счетчик 2 этой секции. При этом первый импульс с вмхода генератора 9 пройД через элемент И 5,- (т 2,N) шифратор 8. (,N-2), устанавливает число S-л ,. . ., м П KV -10 в двоичных счетчиках 3; .« ( i 1, N-1) соответствующих предыдущих секций В результате на выходе дешифраторов 4; (, N-1) соответThe goal is achieved by converting a binary code into a binary-decimal code containing a pulse generator and first and second converting sections, each of which contains a decade of a binary-decimal counter, a binary counter, a decoder zero and an element And the section contains an element SHIII, and the second transforming section contains an element NOT the output of the element AND each of the conversion sections is connected to a counting input of a binary counter, the outputs of which are connected to the inputs of the decoder zero, c The input element I is connected to the output of the pulse generator, the output of the decoder zero of the second conversion section is NOT connected to the second input of the element I, the control input of the decoder, the zero of the first conversion section and the second input of the element I of the first conversion section, whose QD is connected to the installation inputs of the binary counter of the second converting section and with the nepatiM input of the OR element, the second input of which is connected to the decade overflow output of the binary-decimal counter of the second converting section, the output of the OR element of the first conversion section is connected to the counting input of the decade of the binary-decimal counter of the first conversion section, the output of the decoder zero of the first conversion section is connected to the reset input of the pulse generator, the start input of which is the start input of the converter, a group of (N-3 a) conversion sections, similar to the first conversion section, and an N-conversion section, similar to the second conversion section, the second conversion section contains the element OR, the conversion Suitable groups contain -NOT section member, and each of the input converting section comprises an encoder, which outputs are connected with adjusting inputs of the binary counter corresponding to the transforming section, an output of AND (r-i (i T, ... The (N-1)) conversion section is connected to the i-th inputs of the encoder jx (j. N) conversion sections, the first inputs of the elements And the k-x (1c 3 ,.,., N) conversion sections connected to the output of the generator impulses, the output of the decoder zero of the k-th transforming secodi is NOT connected to the second input of the element AND the k-th converting section, to the third input of the element AND () -th transforming section and to the control input of the decoder zero ((.-1) - th transforming section, the output of the element AND the second transforming section is connected to the first input of the element OR the second transforming the section that is connected to the counting input of the decade of the binary-decimal counter of the second conversion section is connected to it, the output of the decade's decade of the binary-decimal conversion converter section is connected to the second input of the OR element (1s-1) -th conversion section, the output of the AND element The N-th conversion section is connected to the counting input of a decade of a binary-decimal counter of this section. The drawing shows block diagrams of the proposed converter. The converter contains N conversion sections 1 (N corresponds to the maximum n-bit input binary code). Each generator section 1 contains a decade of a binary-decimal counter 2, a binary counter 3, a decoder 4 zero element AND 5. All sections 1, except the Junior, contain the element IDN 6 all sections, except the senior, containing the element NOT 7. All The transforming sections, except for the two older ones, contain encoders 8. The converter contains a generator of 9 pulses and has a 10 start input. We denote the coefficient of recalculation of binary counters 3 through K (). : V: The device works as follows. In the initial state, in binary, 3 О t, N counters, the numbers (and, п, ..., Pr) of the binary code being converted are recorded, and the decades of the digit-decimal counters (, N) are set to zero state . In this case, the output potential of the de1b-; phrader 4 zero appears if a binary number 3 contains some non-zero number. The Start signal pulses from the output of the generator 9 through element 5 to the counting input of subtracting counting 3, and to the counting input of adding counter 2 and subtracting units from counter 3 and adding units to counter 2 (one for each pulse) to those until counter 3 is set to zero. Thus obra2. If, then there is a unit that enters through the transfer, OR 62 at the counting input counter element and in the counter 2, there remains a 2 nd chip. If (1.10, then the number 2 remains in the number of the counter. At the output of the decoder 4, a resolving potential appears, and the output of the element NOT 7 - the inhibitory. The pulse from the output of the generator 9 passes through the element 5. And subtracts the unit from the counter 3 , adding a unit to counter 2 and through the encoder 8, setting the number 1П in counter 3. The output of the decoder 4 is again: the inhibitory potential appears, and the output of the element is NOT 7 allowing the next sequence of pulses to subtract the number m from the counter 3 and adding this number to counter 2. If counter 2 overflows, the transfer unit enters through the element OR 6 to the counting input of counter 2. This sequence of actions continues cyclically until the number from counter 32 is fully transferred to counter 2. After that, AND 5 opens. the next section 1 begins the subtraction of units from counter 3 and the addition of units to counter 2 of this section, with the first impulse from the generator input 9 passing through element 5, - (t 2, N) encoder 8. (, N-2), sets the number Sl,. . ., m П KV -10 in binary meters 3; . "(I 1, N-1) of the corresponding previous sections As a result, at the output of the decoders 4; (, N-1) respectively
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU833660815A SU1153323A1 (en) | 1983-11-02 | 1983-11-02 | Translator from binary code to binary coded decimal code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU833660815A SU1153323A1 (en) | 1983-11-02 | 1983-11-02 | Translator from binary code to binary coded decimal code |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1153323A1 true SU1153323A1 (en) | 1985-04-30 |
Family
ID=21088495
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU833660815A SU1153323A1 (en) | 1983-11-02 | 1983-11-02 | Translator from binary code to binary coded decimal code |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1153323A1 (en) |
-
1983
- 1983-11-02 SU SU833660815A patent/SU1153323A1/en active
Non-Patent Citations (1)
Title |
---|
1. Авторское свидетельство СССР по за вке 1 3626723, кл. G 06 F 5/02 1983. 2. Авторское свидетельство СССР № 468236, кл. G 06 F 5/02, 1976 (прототип). * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1153323A1 (en) | Translator from binary code to binary coded decimal code | |
SU744544A1 (en) | Code converting device | |
SU1088115A1 (en) | Code-to-time interval converter | |
SU943704A1 (en) | Binary to digital pulse code converter | |
SU1174919A1 (en) | Device for comparing numbers | |
SU1200429A1 (en) | Device for converting number from residual class system code to position code | |
SU1256046A1 (en) | Analog-digital dividing device | |
SU1580564A1 (en) | Device for detecting errors in equal-weight code | |
SU1361722A1 (en) | Code converter | |
SU1367163A1 (en) | Binary serial code to unit-counting code converter | |
RU1797158C (en) | Analog-digital converter from remainder class system to code | |
SU1051528A1 (en) | Binary code/decimal code converter | |
SU1089573A1 (en) | Device for executing direct and inverse conversion of numbers from residual glass system code to binary code | |
SU1476459A1 (en) | Arithmetic unit | |
SU1487183A1 (en) | Analog converter | |
SU1741270A1 (en) | Converter of code of a number system to that of another one | |
SU1596463A1 (en) | Device for converting equilibrium binary code to full binary code | |
SU1372625A1 (en) | Code converter | |
SU1156057A1 (en) | Translator of n-bit binary code to p-bit code | |
SU900438A2 (en) | Follow-up analogue-digital converter | |
SU1319028A1 (en) | Digital pulse repetition frequency multiplier | |
SU1476461A1 (en) | Modifier of n-bit binary number | |
SU1383393A1 (en) | Device for converting by walsh functions | |
SU1709530A1 (en) | Code-to-frequency converter | |
SU754667A1 (en) | Analogue-digital converter |