SU1285605A1 - Code converter - Google Patents

Code converter Download PDF

Info

Publication number
SU1285605A1
SU1285605A1 SU853864116A SU3864116A SU1285605A1 SU 1285605 A1 SU1285605 A1 SU 1285605A1 SU 853864116 A SU853864116 A SU 853864116A SU 3864116 A SU3864116 A SU 3864116A SU 1285605 A1 SU1285605 A1 SU 1285605A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
inputs
counter
output
shift register
Prior art date
Application number
SU853864116A
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 SU853864116A priority Critical patent/SU1285605A1/en
Application granted granted Critical
Publication of SU1285605A1 publication Critical patent/SU1285605A1/en

Links

Abstract

Изобретение относитс  к автоматике и вычислительной технике. Его использование в ЦВМ и дискретных автоматах позвол ет повысить быстродействие преобразовани . Кодовый преобразователь содержит счетчик, триггеры , регистр сдвига, формирователь импульсов , генератор импульсов, элементы И, элемент задержки и блоки ключей . Введение элемента ИЛИ и элемента НЕ, а также организаци  реверсивной работы счетчика и регистра сдвига , выполненного кольцевым, обеспечивает сокращение времени, за которое счетчик успевает обнулитьс . Ко- довый-преобразователь имеет более простое выполнение,чем решающий ту же задачу дешифратор, дл  шести и более разр дных входных кодов. 1 ил. (ЛThis invention relates to automation and computing. Its use in digital computers and discrete automata allows to increase the conversion speed. The code converter contains a counter, triggers, shift register, pulse shaper, pulse generator, AND elements, delay element, and key blocks. The introduction of the OR element and the NOT element, as well as the organization of the reverse operation of the counter and the shift register, made circular, provides a reduction in the time it takes for the counter to reset. The code converter has a simpler execution than the decoder solving the same problem for six or more bit input codes. 1 il. (L

Description

превьшающее половину ег котора  равна 2 , где п в ,пиthe half of which is equal to 2, where n in, pi

1one

Изобретение относитс  к автоматике и .вычислительной технике и может быть использовано в цифровых вычислительных машинах и автоматах дискретного действи .The invention relates to automation and computing technology and can be used in digital computers and machines of discrete action.

Цель изобретени  - повышение быстродействи .The purpose of the invention is to increase speed.

На чертеже представлена функциональна  схема кодового преобразовател  .The drawing shows the functional diagram of the code Converter.

Кодовый преобразователь содержит счетчик 1, элемент ИЛИ 2, генератор 3 импульсов, первый триггер 4, первый 5 и второй 6 элементы И, N-раз- р дный регистр 7 сдвига, первый 8 и второй 9 блоки, ключей, третий 10 и четвертый 11 элементы И, второй 12 и третий 13 триггеры, элемент ИЕ 14, элемент 15 задержки, формирователь 16 1мпульсов. Кроме того, обозначены входы 17, первые 18 и вторые 19 выходы.The code converter contains counter 1, the OR element 2, the generator of 3 pulses, the first trigger 4, the first 5 and the second 6 elements AND, the N-shift shift register 7, the first 8 and second 9 blocks, the keys, the third 10 and the fourth 11 the elements And, the second 12 and the third 13 triggers, the element IE 14, the element 15 delay, the driver 16 1 pulses. In addition, inputs 17, first 18 and second 19 outputs are marked.

Регистр 7 сдвига выполнен кольцевым , причем в исходном состо нии в его нулевом разр де записана единица , в остальных - нуль. The shift register 7 is made ringed, and in the initial state in its zero position one is written, in the others - zero.

Кодовый преобразователь работает следующим образом.Code Converter works as follows.

С входов 17 информаци  (двоичный код) подаетс  в  чейки счетчика 1. При по влении информации в  чейках реверсивного счетчика на соответствующих выходах счетчика по вл ютс  единич1Ц|1е сигналы. Эти сигналы чере -элемент ИЛИ 2 поступают на генерато 3 импульсов, что приводит к включению последнего. Единичные импульсы с выхода генератора 3 поступают на первые входы первого 5 и второго 6 элементов И. Если в счетчике 1 записано число, емкости,From the inputs 17, the information (binary code) is fed into the cells of the counter 1. When information appears in the cells of the reversible counter, the single outputs of the counter appear one-to-one | 1e signals. These signals through the element OR 2 are sent to the generator 3 pulses, which leads to the inclusion of the latter. Single pulses from the output of the generator 3 are fed to the first inputs of the first 5 and second 6 elements I. If the counter 1 records the number, capacitance,

число  чеек счетчика, т.е. если счетчике записано число больше 2 (а это возможно, когда заполнена поледн    чейка счетчика 1), то на выходе последней  чейки счетчика 1 им . етс  единичный сигнал. Этот единич- ный сигнал приводит к срабатыванию первого триггера 4. Единичньй сигна с пр мого выхода триггера 4 поступает на второй вход первого элемента И 5, и импульсы с выхода генератора 3 поступают на суммирующий вход счечика . При ЭТОМ происходит наполне ние счетчика I (счетчик работает на суммирование). Окончательное наполнние счетчика 1 происходит, когда воthe number of counter cells, i.e. if the counter contains a number greater than 2 (and this is possible when the full cell of counter 1 is filled), then the output of the last cell of counter 1 is named after it. single signal. This single signal triggers the first trigger 4. A single signal from the direct output of the trigger 4 is fed to the second input of the first element 5, and the pulses from the output of the generator 3 are fed to the summing input of the meter. At THIS, meter I is filled (the meter is running for summation). The final filling of counter 1 occurs when

всех его  чейках записано по единичному сигналу. Следующий импульс, приход щий с генератора 3, приводит к переполнению счетчика 1, т.е. во всех его  чейках по вл ютс  нулевые сигналы , при этом генератор 3 отключаетс .all its cells are recorded by a single signal. The next pulse coming from generator 3 leads to overflow of counter 1, i.e. in all its cells, zero signals appear, while generator 3 is turned off.

5five

00

5five

00

5five

00

5five

00

Импульсы с выхода первого элемента И 5 поступают также на вход второго триггера 12 и на вход пр мого сдвига кольцевого регистра 7 сдвига. Будем условно считать, что при поступлении импульсов с элемента 5 сдвиг в кольцевом регистре 7- происходит вправо, а при поступлении импульсов с элемента 6 - влево. После окончани  поступлени  импульсов на вход кольцевого регистра 7 сдвига, т.е. при отключении генератора 3, единичный сигнал устанавливаетс  в одной из  чеек регистра 7. Нулевой сигнал с выхода элемента ИЛИ 2, проход  через элемент НЕ 14, поступает в виде единичного сигнала на первый вход третьего элемента И 10. На второй вход элемента И 10 поступает единичный сигнал с пр мого выхода триггера 12. Следовательно , на выходе элемента И 10 также единичный сигнал, который поступает на управл ющий вход первого блока 8 ключей. Это позвол ет единичному сиг -:алу из кольцевого регистра 7 сдвига поступить на один из первых выходов 18. После по влени  нулевого сигнала на выходе элемента ИЛИ 2 единичный сигнал с выхода элемента НЕ 14 поступает на элемент 15 задержки и формирователь 16. Элемент 15 задержки устанавливает длительность времени нахождени  единичного сигнала . на выходе кодового преобразовател .The pulses from the output of the first element And 5 are also fed to the input of the second trigger 12 and to the input of the direct shift of the ring register 7 of the shift. We will conditionally assume that when pulses are received from element 5, the shift in the ring register 7- occurs to the right, and when pulses are received from element 6 - to the left. After the arrival of pulses at the input of the ring register 7 shift, i.e. when the generator 3 is turned off, a single signal is set in one of the cells of register 7. The zero signal from the output of the element OR 2, the passage through the element NOT 14, arrives as a single signal at the first input of the third element AND 10. At the second input of the element 10 it receives a single the signal from the direct output of the trigger 12. Therefore, at the output of the element And 10 there is also a single signal, which is fed to the control input of the first block of 8 keys. This allows a single sig -: alu from the ring shift register 7 to arrive at one of the first outputs 18. After the zero signal appears at the output of the OR 2 element, a single signal from the output of the NOT element 14 is fed to the delay element 15 and the driver 16. Delay element 15 sets the duration of a single signal. at the output of the code converter.

Если в реверсивном счетчике 1 записано число, меньше 2 , то в последней  чейке счетчика 1 единичный сигнал отсутствует, т.е. первый триггер 4 не срабатывает. При этом единичный сигнал с выхода триггера 4 поступает на вход второго логического элемента И 6 и счетчик 1 работает на вычитание. При таком режиме работы счетчика 1 наступает момент, когда во всех  чейках счетчика 1 будут нулевые сигналы. В результате проис- ходит отключение генератора 3. При работе счетчика на вычитание единичный сигнал в кольцевом регистре 7 смещае.тс  влево, а после отключени  генератора 3 на выходе второго блокаIf a number less than 2 is written in the reversible counter 1, then in the last cell of counter 1 there is no single signal, i.e. The first trigger 4 does not work. While a single signal from the output of the trigger 4 is fed to the input of the second logic element And 6 and the counter 1 is working on the subtraction. With this mode of operation of the counter 1, there comes a time when all the cells of the counter 1 will have zero signals. As a result, the generator 3 is turned off. When the counter is working on subtracting a single signal in the ring register 7, the offset is left from the left, and after the generator 3 is turned off at the output of the second unit

9 ключей по вл етс  выходной сигнал кодового преобразовател .9 keys the output of the code converter appears.

Таким образом, благодар  реверсивной работе счетчика 1 и регистра 7 преобразование двоичного кода в единичный позиционный ( из , п) происходит за врем , пропорциоо Thus, due to the reverse operation of counter 1 and register 7, the conversion of a binary code to a single positional one (from, n) occurs in time proportional to

нальное / т 4 Ibulk / t 4 I

Предлагаемый преобразователь пред- почтительнее использовать при разр дности входного кода не ниже 6, тогда дп  его выполнени  требуетс  меньшее в пересчете на элементы И количество The proposed converter is preferable to use when the input code is not lower than 6, then its execution requires less in terms of elements AND the number

- -

логических элементов, ных дешифраторов.logical elements, data decoders.

чем дл  известwhat dl known

Claims (1)

Формула изобретени Invention Formula Кодовый преобразователь, содержа- щий счетчик, N-разр дный регистр сдвига, где N 2 , п - разр дность входного кода, триггеры, генератор импульсов, формирователь импульсов, элементы И, элемент задержки и блоки ключей, отличающийс  тем, что, с целью повышени  быстродействи , в него введены элемент ИЛИ и элемент НЕ, регистр сдвига выполнен кольцевьм, выход элемента ИЛИ соединен с входом элемента НЕ и управл ющим входом генератора импульсов; выход которого подключен к первым входам первого и второго элементов И, выходы счетчика соединены с соответствующими входами элемента ИЛИ, выход старшего разр да счетчика подключен к входу установки в единицу первого триггера, пр мой и инверсньй выA code converter containing a counter, an N-bit shift register, where N 2, n is the input code width, triggers, pulse generator, pulse shaper, AND elements, delay element, and key blocks, characterized in that speed increase, the OR element and the NOT element are entered into it, the shift register is made ringed, the OR element output is connected to the element input NOT and the control input of the pulse generator; the output of which is connected to the first inputs of the first and second elements AND, the outputs of the counter are connected to the corresponding inputs of the OR element, the output of the most significant bit of the counter is connected to the input of the installation in the unit of the first trigger, direct and inverse you 5 five О  ABOUT 1515 2525 0 300 30 3535 ходы которого соединены с вторыми- входами соответственно первого и второго элементов И, выход первого элемента И подключен к суммирующему входу счетчика, входу установки в единицу второго триггера и входу пр мого сдвига регистра сдвига, выход второго элемента И подьслючен к вычитающему входу счетчика, входу установки в единицу третьего триггера и входу обратного сдвига регистра сдвига, выход элемента НЕ соединен с первыми входами третьего и четвертого элементов И и через элемент задержки с входом формировател  импульсов , выход которого подключен к входам установки регистра сдвига и входам установки в нуль триггеров, инверсные выходы второго и третьего триггеров соединены с вторыми входами соответственно третьего и четвертого элементов И, выходы которых соединены с управл ющими входами соответственно первого и второго блоков ключей, выходы разр дов регистра сдвига с первого по (Ы-2)-й соединены с соответствующими информационными входами блоков ключей, выход (N-1)-го-разр да регистра сдвига подключен к соответствующему информационному входу первого блока ключей, входы счетчика  вл ютс  соответствующими входами преобразовател , выходы первого блока ключей  вл ютс  соответствующими первыми выходами преобразовател , выход N-ro разр да регистра сдвига и выходы второго блока ключей - соответствующими вторыми выходами преобразовател .the strokes of which are connected to the second inputs of the first and second elements AND, the output of the first element AND are connected to the summing input of the counter, the installation input to the unit of the second trigger and the direct shift input of the shift register, the output of the second element AND to the subtracting input of the counter, the installation input into the unit of the third trigger and the input of the reverse shift of the shift register, the output of the element is NOT connected to the first inputs of the third and fourth elements AND, and through the delay element to the input of the pulse former, the output cat It is connected to the inputs of the installation of the shift register and the inputs for setting the flip-flops to zero, the inverse outputs of the second and third flip-flops are connected to the second inputs of the third and fourth And elements, the outputs of which are connected to the control inputs of the first and second key blocks, respectively; from the first to (Ы-2) -th are connected to the corresponding information inputs of the key blocks, the output of the (N-1) -th bit of the shift register is connected to the corresponding information input of the first block of the key whose counter inputs are the corresponding converter inputs, the outputs of the first key block are the corresponding first outputs of the converter, the output of the N-ro shift register and the outputs of the second key block are the corresponding second outputs of the converter. 1717 ././ r I I ir i i i
SU853864116A 1985-03-11 1985-03-11 Code converter SU1285605A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU853864116A SU1285605A1 (en) 1985-03-11 1985-03-11 Code converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU853864116A SU1285605A1 (en) 1985-03-11 1985-03-11 Code converter

Publications (1)

Publication Number Publication Date
SU1285605A1 true SU1285605A1 (en) 1987-01-23

Family

ID=21165866

Family Applications (1)

Application Number Title Priority Date Filing Date
SU853864116A SU1285605A1 (en) 1985-03-11 1985-03-11 Code converter

Country Status (1)

Country Link
SU (1) SU1285605A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Сухомлинов М.МГ, Выхованец В.И. Преобразователи кодов чисел. - Киев, Техника, 1965, с.68, рис.14. Авторское свидетельство СССР № 152126, кл. Н 03 М 7/12, 08.03.62. *

Similar Documents

Publication Publication Date Title
SU1285605A1 (en) Code converter
SU1310822A1 (en) Device for determining the most significant digit position
SU1264170A1 (en) Differentiating device
SU1201855A1 (en) Device for comparing binary numbers
SU1322256A1 (en) Device for sorting information
SU1206820A1 (en) Stochastic piece-linear interpolator
SU1149243A1 (en) Reversible binary code-to-binary coded decimal code translator
SU1032448A1 (en) Direct code-to-reverse one converter
SU1221757A1 (en) Binary code-to-binary-coded decimal code translator
SU911623A1 (en) Storage
SU1037258A1 (en) Device for determination of number of ones in binary code
SU1367163A1 (en) Binary serial code to unit-counting code converter
SU1383321A1 (en) Smooth periodic function generator
SU567208A2 (en) Multidigit decade counter
SU1182685A1 (en) Unit-counting code-to-parallel binary code translator
SU1394239A1 (en) Logical storage device
SU1076950A1 (en) Shift register
SU1290517A1 (en) Counting device
SU1037309A1 (en) Displacement to parallel converter
RU2007861C1 (en) Reverse binary counter
SU1580563A1 (en) Device for checking equal-weight code
RU1784963C (en) Code translator from gray to parallel binary one
SU1181155A1 (en) Serial code-to-parallel code converter
SU1264157A1 (en) Device for generating combinations
SU1075255A1 (en) Parallel binary code/unit-counting code translator