SU1229966A1 - Reversible converter of binary code to binary-coded decimal code - Google Patents
Reversible converter of binary code to binary-coded decimal code Download PDFInfo
- Publication number
- SU1229966A1 SU1229966A1 SU823490706A SU3490706A SU1229966A1 SU 1229966 A1 SU1229966 A1 SU 1229966A1 SU 823490706 A SU823490706 A SU 823490706A SU 3490706 A SU3490706 A SU 3490706A SU 1229966 A1 SU1229966 A1 SU 1229966A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- binary
- input
- inputs
- trigger
- decimal
- Prior art date
Links
Abstract
Изобретение относитс к цифровой вычислительной технике и может быть использовано в устройствах преобразовани информации. Целью изобретени вл етс упрощение и расширение области устойчивой работы преобразовател . Поставленна цель достигаетс тем, что в преобразователе , поЬтроенном на реверсивных счетчиках, индикатором окончани преобразовани вл ютс сигналы заема и тем, что в него введены входной коммутатор дл переключени тактовых сигналов, блок; прив зки управл ющих сигналов к тактовой частоте и триггер коррекции ошибки. 1 ил.The invention relates to digital computing and can be used in information converting devices. The aim of the invention is to simplify and expand the range of stable operation of the converter. The goal is achieved by the fact that in the converter, mounted on reversible counters, the indicator of the end of the conversion is the loan signals and the fact that an input switch for switching the clock signals is entered into it, a block; bindings of control signals to the clock frequency and error correction trigger. 1 il.
Description
Изобретение относитс к цифровой вычислительной технике и может быть использовано в устройствах, предназначенных дл преобразовани информации .The invention relates to digital computing and can be used in devices designed to convert information.
Целью изобретени вл етс упрощение преобразовател и распшрение области его устойчивой работы.The aim of the invention is to simplify the converter and spread its stable operation area.
На чертеже приведена блок-схема предлагаемого преобразовател .The drawing shows the block diagram of the proposed Converter.
Преобразователь содержит элементы ЗИ-НЕ 1 и 2, элементы 2И-НЕ 3 и 4, элементы НЕ 5-7, реверсивный двоично-дес тичный счетчик 8, реверсивный двоичный счетчик 9, формирователь 10 импульсов, элемент И 11, триггеры 12-14, элемент И 15, вход 16 режима работы преобразовател , вход 17 пуска преобразовател тактовый вход 18 преобразовател , входы двоично-дес тичного кода 19, выходыThe converter contains elements ZI-NOT 1 and 2, elements 2I-NOT 3 and 4, elements NOT 5-7, reversible binary-decimal counter 8, reversible binary counter 9, shaper 10 pulses, element 11, triggers 12-14, element 15, input 16 of the operating mode of the converter, input 17 of the start of the converter, clock input 18 of the converter, inputs of the binary-decimal code 19, outputs
20двоично-дес тичного кода, входы20 binary decimal inputs
21двоичного кода, выходы 22 двоичного кода, вход 23 логического нул преобразовател .21 binary code, outputs 22 binary code, input 23 of the logic zero of the converter.
Преобразователь работает следующим образом.The Converter operates as follows.
Если требуетс выполнить преобразование двоично-дес тичного кода в i двоичный, то на информационные входы двоично-дес тичного счетчика 8 по входам 19 подаютс тетраДы двоично- дес тичного кода, а на входе 16 устанавливаетс нулевой логический уровень.If a conversion of a binary-decimal code to an i-binary is required, then the information inputs of the binary-decimal counter 8 are fed to the inputs 19 of the binary-decimal code, and a zero logic level is set at input 16.
Процесс преобразовани начинаетс с приходом сигнала, поступакнцего на вход 17. При этом по его фронту (переход из нулевого логического уровн в единичный) устанавливаетс в исходное (нулевое состо ние) счетчики 8 и 9, а также триггер 12, на R-вход которого в этот момент приходит нулевой логический уровень с выхода эле10The conversion process begins with the arrival of the signal received at input 17. At this, on its front (transition from a zero logical level to a single level), counters 8 and 9 are set to the initial (zero state), and also trigger 12, to the R input of which this moment comes zero logical level with the output of ele10
1515
2020
прохождение последующих тактирующих импульсов через элемент И 15.the passage of subsequent clock pulses through the element And 15.
Таким образом, благодар триггеру 13 начало процесса преобразовани синхронизируетс с моментом такти- рующих импульсов, что обеспечивает прохождение через элемент И 15 только одинаковых по длительности импульсов. Кром того, переключение триггера 13 приводит к изменению информации на D-входе триггера 14. До тех пор, пока триггер 14 находитс в нулевом состо нии , прохождение тактовых импульсов через элементы ЗИ-НЕ 1 и 2 на входы пр мого счета реверсивных счетчиков 8 и 9 блокируетс При этом нулевой логический уровень со входа 16 запрещает поступление тактирующих импульсов через элемент 2И-НЕ 4 на вход обратного счета реверсивного двоичного счетчика 9 и дублирует запрет их прохождени через элемент ЗИ-НЕ 1 на вход пр мого счета реверсивного двоично-дес тичного счетчи- к-а 8.Thus, due to the trigger 13, the start of the conversion process is synchronized with the moment of the clock pulses, which ensures that only the pulses of the same duration pass through the AND 15 element. In addition, the switching of the trigger 13 leads to a change in the information on the D input of the trigger 14. As long as the trigger 14 is in the zero state, the passage of the clock pulses through the NE-NE elements 1 and 2 to the direct count inputs of the reversible counters 8 and 9 is blocked. At the same time, the zero logic level from input 16 prohibits clocking pulses through element 2И-НЕ 4 to the input of the reverse counting of the reversible binary counter 9 and duplicates the prohibition of their passage through the element ЗИ-НЕ 1 to the input of the direct counting of the reverse binary decimal th to the counters, and 8.
Это приводит к тому, что первый с выхода элемента И 15 тактирующий импульс поступает через элемент 2И-НЕ 3 в реверсивный двоично-дес тичный счетчик 8 и вычитает из него единицу , но двоичным счетчиком 9 не суммируетс , так как блокируетс его поступление через элемент 2И-НЕ 2 нулевым логическим уровнем с выхода 35 триггера 14. Кроме того, по окончании данного тактирующего импульса переключаетс в единичное состо ние триггер 14 (на D-входе логическа единица) с выхода триггера 13, что разрещает прохождение всех последующих импульсов с выхода элемента 15 через элемент ЗИ-НЕ 2 на суммирование в реверсивный двоичный счетчик 9.This leads to the fact that the first clocking pulse from the output of the AND element 15 goes through the element 2I-NO 3 to the reversible binary-decimal counter 8 and subtracts one from it, but the binary counter 9 does not add up, since its receipt is blocked -NON 2 zero logic level from output 35 of trigger 14. In addition, at the end of this clocking pulse, trigger 14 (at the D input of logical unit) from the output of trigger 13 switches to one state, which permits the passage of all subsequent pulses from the output element that 15 through the element ZI-NOT 2 for summation into a reversible binary counter 9.
2525
30thirty
4040
1one
Таким образом, благодар триггемента НЕ 6. По спаду сигнала, пришед- ру 14, в двоичный счетчик 9 поступашего на вход 17 (переход из единичного логического уровн в нулевой), запускаетс формирователь 10 импульсов , сигнал с выхода которого записывает значени тетрад в реверсивный двоично-дес тичный счетчик 8 и устанавливает в единичное состо ние триггер 12. Это приводит к тому, что по окончании ближайшего тактирующего импульса, поступившего через элемент НЕ 7 на С-входы триггеров 13 и 14, устанавливаетс в единичное состо ние триггер 13, который разрешаетThus, due to the NOT 6 trigger, the signal decay, arriving 14, enters binary input 9 at input 17 (transition from a single logic level to zero), the pulse shaper 10 is triggered, the output signal of which records the values of the tetrads into the reversing binary -particular counter 8 and sets in one state trigger 12. This leads to the fact that at the end of the nearest clock pulse received through the element NOT 7 on the C-inputs of the triggers 13 and 14, the trigger 13 is set to one resolves
ет на один импульс меньше, чем в двоично-дес тичный счетчик 8. Данную операцию необходимо произвести, так как в качестве сигналов окончани em is one pulse less than in binary-decimal counter 8. This operation must be performed, since as the signals of the termination
50 преобразовани используютс импульсы обратного переноса, которые вырабатываютс в счетчиках 8 и 9 при поступлении (т+1) -го тактирующего импульса, где Гч - количество тактирующих им-50 transformations use reverse transfer pulses, which are generated in counters 8 and 9 upon receipt of a (t + 1) -th clock pulse, where Hh is the number of clock pulses
55 пульсов, необходимое дл считывани преобразуемого кода из счетчиков 8 или 9. Поскольку (т+1)-й импульс будет поступать дл суммировани в55 pulses required to read the converted code from counters 8 or 9. Since (t + 1) -th pulse will be sent to sum up to
5five
00
прохождение последующих тактирующих импульсов через элемент И 15.the passage of subsequent clock pulses through the element And 15.
Таким образом, благодар триггеру 13 начало процесса преобразовани синхронизируетс с моментом такти- рующих импульсов, что обеспечивает прохождение через элемент И 15 только одинаковых по длительности импульсов. Кром того, переключение триггера 13 приводит к изменению информации на D-входе триггера 14. До тех пор, пока триггер 14 находитс в нулевом состо нии , прохождение тактовых импульсов через элементы ЗИ-НЕ 1 и 2 на входы пр мого счета реверсивных счетчиков 8 и 9 блокируетс При этом нулевой логический уровень со входа 16 запрещает поступление тактирующих импульсов через элемент 2И-НЕ 4 на вход обратного счета реверсивного двоичного счетчика 9 и дублирует запрет их прохождени через элемент ЗИ-НЕ 1 на вход пр мого счета реверсивного двоично-дес тичного счетчи- к-а 8.Thus, due to the trigger 13, the start of the conversion process is synchronized with the moment of the clock pulses, which ensures that only the pulses of the same duration pass through the AND 15 element. In addition, the switching of the trigger 13 leads to a change in the information on the D input of the trigger 14. As long as the trigger 14 is in the zero state, the passage of the clock pulses through the NE-NE elements 1 and 2 to the direct count inputs of the reversible counters 8 and 9 is blocked. At the same time, the zero logic level from input 16 prohibits clocking pulses through element 2И-НЕ 4 to the input of the reverse counting of the reversible binary counter 9 and duplicates the prohibition of their passage through the element ЗИ-НЕ 1 to the input of the direct counting of the reverse binary decimal th to the counters, and 8.
Это приводит к тому, что первый с выхода элемента И 15 тактирующий импульс поступает через элемент 2И-НЕ 3 в реверсивный двоично-дес тичный счетчик 8 и вычитает из него единицу , но двоичным счетчиком 9 не суммируетс , так как блокируетс его поступление через элемент 2И-НЕ 2 нулевым логическим уровнем с выхода 5 триггера 14. Кроме того, по окончании данного тактирующего импульса переключаетс в единичное состо ние триггер 14 (на D-входе логическа единица) с выхода триггера 13, что разрещает прохождение всех последующих импульсов с выхода элемента 15 через элемент ЗИ-НЕ 2 на суммирование в реверсивный двоичный счетчик 9.This leads to the fact that the first clocking pulse from the output of the AND element 15 goes through the element 2I-NO 3 to the reversible binary-decimal counter 8 and subtracts one from it, but the binary counter 9 does not add up, since its receipt is blocked -NON 2 zero logic level from output 5 of trigger 14. In addition, at the end of this clocking pulse, trigger 14 (at the D input of logical unit) from the output of trigger 13 switches to one state, which permits all subsequent pulses to pass from the output and 15 through the NOT element ZI-2 summation on the reversible binary counter 9.
5five
00
00
1one
Таким образом, благодар тригге ру 14, в двоичный счетчик 9 поступает на один импульс меньше, чем в двоично-дес тичный счетчик 8. Данную операцию необходимо произвести, так как в качестве сигналов окончани Thus, thanks to trigger 14, binary counter 9 is fed one less pulse than binary to decimal counter 8. This operation must be performed, since as the end signals
преобразовани используютс импульсы обратного переноса, которые вырабатываютс в счетчиках 8 и 9 при поступлении (т+1) -го тактирующего импульса, где Гч - количество тактирующих им-transformations use reverse transfer pulses, which are generated in counters 8 and 9 upon receipt of a (t + 1) -th clock pulse, where Hh is the number of clock pulses
пульсов, необходимое дл считывани преобразуемого кода из счетчиков 8 или 9. Поскольку (т+1)-й импульс будет поступать дл суммировани вpulses needed to read the converted code from counters 8 or 9. Because (t + 1) -th pulse will be sent to sum up to
реверсивный двоичный счетчик 9, то блокировка триггером 14 первого из тактирующих импульсов на входе пр мого счета двоичного счетчика 9 позволит зафиксировать в нем п импульсов и, следовательно, получить преобразованный код без искажени .reversing binary counter 9, then blocking the first of the clock pulses at the input of the direct count of binary counter 9 with a trigger 14 will allow fixing n pulses in it and, therefore, receive the converted code without distortion.
По окончании (tn+1)-ro тактирующего импульса, поступающего с выхода двоично-дес тичного счетчика 8 через элемент 11 2И (выполн ющий роль элемента ИЛИ дл логического нелей) на С-вход триггера 11, сбрасываетс в нуль триггер 12 (на D-вход логический нуль). Одновременно нулевой ло- гкческий уровень с выхода триггера сбрасывает в нуль и триггеры 13 и 14, что запрещает прохождение после- дукщих тактирующих импульсов через элемент 15. На этом процесс преобра- зовани двоично-дес тичного кода в двоичный заканчиваетс , а код, полученный на выходных информационных выходах 22, вл етс его результатомAt the end of (tn + 1) -ro clocking pulse, coming from the output of the binary-decimal counter 8 through the element 11 2I (playing the role of the OR element for logical neli) to the C input of the trigger 11, the trigger 12 (on D input logic zero). At the same time, the zero logic level from the trigger output resets to zero and the triggers 13 and 14, which prohibits the passage of the following clock pulses through the element 15. At this point, the process of converting the binary-decimal code to the binary ends, and the code received on output information output 22 is its result
Если на выходе 16 устанавливает- с единичный логический уровень, то устройство может выполн ть преобра- зование двоичного кода в двоично- дес тичный. Работа преобразовател этом режиме аналогична описанной дл режима преобразовани двоично- дес тичного кода в двоичный, за исключением того, что преобразуемое число записьгеаетс в реверсивный двоичный счетчик 9, первый тактирующий импульс с выхода элемента 15 блокируетс на входе пр мого счета реверсивного двоично-дес тичного счетчика 8, а результатом преобразовани вл етс код, полученный на выходах 20 реверсивного двоично-дес тичного счетчика 8.If output 16 is set to a single logic level, then the device can convert the binary code to binary-decimal. The operation of the converter in this mode is similar to that described for the conversion of a binary-decimal code into a binary one, except that the number to be converted is written into a reversible binary counter 9, the first clocking pulse from the output of element 15 is blocked at the input of the direct account of the reversing binary-decimal counter 8, and the result of the conversion is the code obtained at the outputs 20 of the reversible binary-decimal counter 8.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU823490706A SU1229966A1 (en) | 1982-09-03 | 1982-09-03 | Reversible converter of binary code to binary-coded decimal code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU823490706A SU1229966A1 (en) | 1982-09-03 | 1982-09-03 | Reversible converter of binary code to binary-coded decimal code |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1229966A1 true SU1229966A1 (en) | 1986-05-07 |
Family
ID=21028910
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU823490706A SU1229966A1 (en) | 1982-09-03 | 1982-09-03 | Reversible converter of binary code to binary-coded decimal code |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1229966A1 (en) |
-
1982
- 1982-09-03 SU SU823490706A patent/SU1229966A1/en active
Non-Patent Citations (1)
Title |
---|
Приборы и техника эксперимента, № 2, 1982, с. 76-78. I Авторское свидетельство СССР № 756401, кл. G 06 F 5/02, 1976. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1229966A1 (en) | Reversible converter of binary code to binary-coded decimal code | |
SU1174919A1 (en) | Device for comparing numbers | |
SU1667254A1 (en) | Number-to-time converter | |
SU1545330A1 (en) | Device for monitoring fibonacci p-codes | |
SU1728975A1 (en) | Channel selector | |
SU1441402A1 (en) | Apparatus for majority selection of signals | |
SU1624701A1 (en) | Device for checking p - codes | |
SU1193672A1 (en) | Unit-counting square-law function generator | |
SU1695389A1 (en) | Device for shifting pulses | |
SU1631509A1 (en) | Multicycle recirculating time-to-number converter | |
SU1156057A1 (en) | Translator of n-bit binary code to p-bit code | |
SU1075254A1 (en) | Device for direct and inverse translating of residual class system code to binary code | |
SU1130860A1 (en) | Dividing device | |
SU1383330A1 (en) | Data input device | |
SU1713104A1 (en) | Converter of binary code to numeric-pulse code | |
SU993245A1 (en) | Series binary code-to-unit counting code converter | |
SU1172020A1 (en) | Device for converting alphanumeric codes | |
SU1078428A1 (en) | Pulse-position square-law function generator | |
SU1735884A1 (en) | Data i/o adaptive device | |
SU1115225A1 (en) | Code-to-time interval converter | |
SU1005031A1 (en) | Device for comparing numbers | |
SU530466A1 (en) | Pulse counting counter | |
SU1215109A2 (en) | Subtracting device | |
SU1566317A1 (en) | Apparatus for phase correction of sequence of time signals | |
SU1338093A1 (en) | Device for tracking code sequence delay |