SU1160562A1 - Forward-backward counter - Google Patents

Forward-backward counter Download PDF

Info

Publication number
SU1160562A1
SU1160562A1 SU833646393A SU3646393A SU1160562A1 SU 1160562 A1 SU1160562 A1 SU 1160562A1 SU 833646393 A SU833646393 A SU 833646393A SU 3646393 A SU3646393 A SU 3646393A SU 1160562 A1 SU1160562 A1 SU 1160562A1
Authority
SU
USSR - Soviet Union
Prior art keywords
ternary
summing
input
inputs
elements
Prior art date
Application number
SU833646393A
Other languages
Russian (ru)
Inventor
Sergej I Sharovatov
Original Assignee
Sharovatov Sergej
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 Sharovatov Sergej filed Critical Sharovatov Sergej
Priority to SU833646393A priority Critical patent/SU1160562A1/en
Application granted granted Critical
Publication of SU1160562A1 publication Critical patent/SU1160562A1/en

Links

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Description

Изобретение.относится к импульсной технике и может быть использовано при проектировании реверсивных счетчиков -цифровых вычислительных устройств с двоичной системой счисления. , 5The invention relates to a pulse technique and can be used in the design of reversible counters, digital computing devices with a binary number system. , five

Известен реверсивный счетчик импульсов, содержащий входную шину и П+1 разрядов, каждый из которых содержит три троичных элемента [1Д .Known reversible pulse counter containing the input bus and P + 1 bits, each of which contains three ternary elements [1D.

Недостатком такого устройства 10 является относительно низкое быстродействие, так как1)+1 разрядное число с И числовыми разрядами формируется за 207+1) фазу тактового питания.The disadvantage of such a device 10 is a relatively low speed, since 1) +1 bit number with AND numeric discharges is formed during 207 + 1) phase of the clock supply.

Известен реверсивный счетчик им- 15 пульсов, содержащий входную шину и Н разрядов, каждый из которых содержит шесть троичных элементов, первый суммирующий вход первого троичного элемента соединен с первым 20 суммирующим входом второго троичного элемента, выход которого соединен с первым и вторым вычитающими входами третьего троичного элемента и с первым суммирующим входом четвер- 25 того троичного элемента, первый вычитающий вход которого соединен с выходом первого троичного элемента и с первым и вторым суммирующими входами третьего троичного элемента, зо выход которого соединен с первыми суммирующими входами пятого и шестого троичных элементов, выходы которых соединены соответственно с первыми вычитающими входами первого и второго троичных элементов, в каждом разряде, кроме первого, первый суммирующий вход первого троичного элемента соединен с выходом четвертого троичного элемента предыдущего разря-д^ да, первый суммирующий вход первого троичного элемента первого разряда соединен с входной шиной, в каждом разряде выходы пятого и шестого троичных элементов соединены сооответст-45 венно с вторыми суммирующим и вычитающим входами четвертого троичного элемента, выход которого соединен с вторыми суммирующими входами пятого и шестого троичных элементов {2} .Known reversible pulse counter, containing the input bus and H bits, each of which contains six ternary elements, the first summing input of the first ternary element is connected to the first 20 summing input of the second ternary element, the output of which is connected to the first and second subtractive inputs of the third ternary element and with the first summing input of the fourth and third ternary element, the first subtractive input of which is connected to the output of the first ternary element and with the first and second summing inputs of the third trio element, whose output is connected to the first summing inputs of the fifth and sixth ternary elements, the outputs of which are connected respectively to the first subtractive inputs of the first and second ternary elements, in each digit except the first, the first summing input of the first ternary element is connected to the output of the fourth ternary element the previous discharge-yes, the first summing input of the first ternary element of the first discharge is connected to the input bus; in each discharge, the outputs of the fifth and sixth ternary elements are connected in accordance with the second summing and subtracting inputs of the fourth ternary element, the output of which is connected to the second summing inputs of the fifth and sixth ternary elements {2}.

Известный счетчик имеет ограниченную область применения из-за использования в нем малораспространенной троичной системы счисления и низкую 55 надежность, поскольку каждый разряд содержит шестнадцать межэлементных связей.The well-known counter has a limited scope due to the use in it of an uncommon ternary number system and low reliability, since each digit contains sixteen inter-element connections.

"Цель изобретения - расширение области применения за счет использования двоично-симметричного кода и повышение надежности счетчика."The purpose of the invention is to expand the scope by using a binary-symmetric code and increase the reliability of the counter.

Поставленная цель достигается тем, что в реверсивном счетчике импульсов, содержащем входную шину и и разрядов, каждый из которых содержит шесть троичных элементов, первый суммирующий вход первого троичного элемента соединен с первым суммирующим входом второго троичного элемента, выход которого соединен с первым и вторым вычитающими входами третьего троичного элемента и с первым суммирующим входом четвертого троичного элемента, первый вычитающий вход которого соединен с выходом первого троичного элемента и с первым ивторим суммирующими входами третьего троичного элемента, выход которого соединен с первыми суммирующими Входами пятого и шестого троичных элементов, выходы которых соединены соответственно с первыми вычитающими входами первого и второго троичных элементов, в каждом разряде, кроме первого, первый суммирующий вход первого троичного элемента соединен с выходом четвертого троичного эле- мента предыдущего разряда, первый суммирующий вход первого троичного элемента первого разряда соединен с входной шиной, в каждом, разряде первый суммирующий вход первого троичного элемента соединен с вторыми суммирующим и вычитающим входами четвертого троичного элемента.This goal is achieved by the fact that in a reversible pulse counter containing the input bus and and discharges, each of which contains six ternary elements, the first summing input of the first ternary element is connected to the first summing input of the second ternary element, the output of which is connected to the first and second subtractive inputs the third ternary element and the first summing input of the fourth ternary element, the first subtractive input of which is connected to the output of the first ternary element and the first and the second summing mi inputs of the third ternary element, the output of which is connected to the first summing inputs of the fifth and sixth ternary elements, the outputs of which are connected respectively to the first subtractive inputs of the first and second ternary elements, in each category, except the first, the first summing input of the first ternary element is connected to the fourth output ternary element of the previous discharge, the first summing input of the first ternary element of the first discharge is connected to the input bus, in each discharge the first summing input of the first ternary element is connected to the second summing and subtracting inputs of the fourth ternary element.

На фиг. 1 представлена схема реверсивного двухразрядного счетчика импульсов; на фиг. 2 — временная диаграмма работы счетчика с условными обозначениями. 'FIG. 1 shows a diagram of a reverse two-digit pulse counter; in fig. 2 - timing diagram of the counter with the legend. '

Счетчик (фиг. 1) содержит троичные элементы 1-6 первого разряда, троичные- элементы 7—12 второго разряда, входную шину 13.The counter (Fig. 1) contains ternary elements 1-6 of the first discharge, ternary elements 7-12 of the second discharge, the input bus 13.

. Первые суммирующие входа троичных элементов 1 и 7 соединены соответственно с первыми суммирующими входами троичных элементов 2 и 8, выходы которых соединены с первыми вычитающими входами троичных элементов 3 и 9, с вторыми вычитающими входами троичных элементов 3 и 9 и , . е первыми суммирующими входами элементов 4 и 10, первые вычитающие входы которых соединены соответствен3 1160562 4. The first summing inputs of the ternary elements 1 and 7 are connected respectively to the first summing inputs of the ternary elements 2 and 8, the outputs of which are connected to the first subtractive inputs of the ternary elements 3 and 9, to the second subtractive inputs of the ternary elements 3 and 9 and,. e the first summing inputs of elements 4 and 10, the first subtractive inputs of which are connected respectively 3 1160562 4

ио с выходами троичных элементов 1 и 7, с первыми суммирующими входами троичных элементов 3 и 9 , и с вторыми суммирующими входами троичных элементов 3 и 9, выходы которых''соедине- 5 ны с первыми суммирующими входами троичных элементов 5 и 11 и с первыми суммирующими входами троичных элементов 6 и 12, выходы которых соединены соответственно с первыми вычи- 10 тающими входами троичных элементов 2 и 8; выходы троичных элементов 5 и 11 соединены 'соответственно с первыми вычитающими входами троичных . элементов 1 и 7; входная шина 13 15io with the outputs of ternary elements 1 and 7, with the first summing inputs of the ternary elements 3 and 9, and with the second summing inputs of the ternary elements 3 and 9, the outputs of which are connected to the first summing inputs of the ternary elements 5 and 11 and with the first the summing inputs of ternary elements 6 and 12, the outputs of which are connected respectively to the first subtractive inputs of the ternary elements 2 and 8; the outputs of the ternary elements 5 and 11 are connected, respectively, with the first subtractive inputs of the ternary. elements 1 and 7; input bus 13 15

соединена с первым суммирующим входом троичного элемента 1 и с вторыми суммирующим и вычитающим входами троичного элемента 4, выход которого соединен с первым суммирующим входом 20 троичного элемента 7 и с вторыми суммирующим и вычитающим входами троичного элемента 10.connected to the first summing input of the ternary element 1 and to the second summing and subtracting inputs of the ternary element 4, the output of which is connected to the first summing input 20 of the ternary element 7 and to the second summing and subtractive inputs of the ternary element 10.

На фиг. 2 обозначены: временные диаграммы 14-16 соответственно пер- 25 вой, второй и третьей фаз тактового питания; временная диаграмма 17 импульсов на шине 13; временные диаграммы 1.8-29 импульсов соответственно на выходах элементов 1 — 12. 30FIG. 2 denotes: time diagrams 14-16, respectively, of the first, second and third phases of the clock supply; timing diagram of 17 pulses on bus 13; timing diagram 1.8-29 pulses, respectively, at the outputs of the elements 1 - 12. 30

Система тактового питания, счетчика трехфазная. Тактовым импульсом первой фазы поступают положительные и отрицательные импульсы на шину 13, а также считывается информацияс эле-35 ментов 5-8; тактовыми импульсами второй и третьей фаз считывается соответственно информация с элементов 1,2, 9, 10 и 3,' 4, 11, 12.The system of clock power, the counter three-phase. A first phase clock pulse received positive and negative pulses on the bus 13, and element 35 is read informatsiyas cops 5-8; clock pulses of the second and third phases, respectively, read information from the elements 1,2, 9, 10 and 3, 4, 11, 12.

Каждый следующий разряд слагаемого 40 (вычитаемого) поступает на шину 13 через три фазы (один такт) передачи информации по элементам счетчика.Each subsequent discharge of the addendum 40 (deductible) enters the bus 13 through three phases (one clock cycle) of transmitting information on the counter elements.

Счетчик выполнен на троичных элементах, которые выполняют операции, описываемые таблицей. Следует отметить, что первый и второй суммирующие входы (первый и второй вычитающие входы) эквивалентны между собой,The counter is made on ternary elements that perform the operations described by the table. It should be noted that the first and second summing inputs (the first and second subtractive inputs) are equivalent to each other,

На элементах 1(7), 3(9) и 5(11) формируются импульсы состояния "+1", а на элементах 2(8), 3(9) и 6(12) импульсы состояния "-1" первого (второго) разряда счетчика. На эле- 55 менте 4(10) формируется импульс переноса первого (второго) разряда. Следует отметить, что выход элемента 10 не используется во втором (стар· • шем) разряде счетчика.On elements 1 (7), 3 (9) and 5 (11), pulses of state “+1” are formed, and on elements 2 (8), 3 (9) and 6 (12) pulses of state “-1” of the first (second) a) discharge counter. At element 4 (10), a transfer pulse of the first (second) discharge is formed. It should be noted that the output of the element 10 is not used in the second (· · · ·)) discharge of the counter.

Для представления чисел в счётчике используется двоичная система счисления с цифрами 1, 0, Т, где знак числа определяется знаком старшего разряда.To represent the numbers in the meter, the binary number system is used with the numbers 1, 0, T, where the sign of the number is determined by the sign of the most significant digit.

Поступление положительного импульса ("+1")*на счетную шину 13 прибавляет к содержимому.счетчика положительную единицу, поступление отрицательного импульса ("-1") прибавляет отрицательную единицу. Если счетчик находится в нулевом·состоянии, первый положительный импульс устанавливает его в состояние "+1”, второй переводит его в состояние "0", а пройдя через выход переноса (положительный импульс с элемента 4) в следующий (второй) разряд, устанавливает его в состояние "+1" и т.д. Поступление.отрицательных импульсов на счетную шину 13 вызывает последовательное убывание накопленного в нем положительного числа, а затем после перехода через нуль накапливание отрицательного числа. Наличие обратной связи позволяет . хранить результат сложения (вычитания) , т.е. обеспечивает хранение состояния ”+1" ("-1”) разряда счетчика в виде генерации импульсов положительной (отрицательной) полярности на его выходах. Состояние "+1" первого (второго) разряда счетчика снимается с выхода элемента 5 (11), а состояние ”-1” - с выхода элемента 6 ( 1 2 ) .The arrival of a positive impulse ("+1") * on the counting bus 13 adds a positive unit to the contents of the counter. The arrival of a negative impulse ("-1") adds a negative one. If the counter is in the zero · state, the first positive impulse sets it to the "+1" state, the second translates it to the "0" state, and passing through the transfer output (positive impulse from element 4) to the next (second) digit, sets it in the state of "+1", etc. Admission. negative pulses on the counting bus 13 causes a consecutive decrease of the positive number accumulated in it, and then after zero crossing, the accumulation of a negative number. The presence of feedback allows you to store the result of the addition ( Readings), i.e., provides storage of the state "+1" ("-1") of the counter discharge in the form of generation of pulses of positive (negative) polarity at its outputs. The state "+1" of the first (second) discharge of the counter is removed from the output of the element 5 (11), and the state "-1" - from the output of the element 6 (1 2).

Для обнуления счетчика необходимо ввести шину обнуления, подключенную ° к вторым вычитающим входам элементов 5, 6, 11 и 12, при поступлении на которую импульса происходит компенсация импульсов состояния разрядов счетчика, т.е. обнуление.To reset the counter, it is necessary to enter a zeroing bus connected ° to the second subtractive inputs of elements 5, 6, 11 and 12, when a pulse arrives at which the pulse of the state of the counter discharges is compensated, i.e. zeroing.

При записи кода некоторого числа необходимо ввести в каждый разряд счетчика установочную шину., соединенную' с вторыми суммирующими входами первого и второго троичных элементов, на которую подаются значения разрядов записываемого числа.When recording a code of a certain number, it is necessary to enter an installation bus into each digit of the counter connected to the second summing inputs of the first and second ternary elements, to which the values of the digits of the record number are fed.

На фиг. 2 показана временная диаграмма для случая прямого счета · с Оад до 3 (с 00г до 11^) и обратного счета_импульсов с 34С) до - 3^FIG. 2 shows a timing diagram for the case of direct counting · from Oad to 3 1a (from 00g to 11 ^) and the counting back_pulses from 3 4С) to - 3 ^

(с 11Ζ до 1Т^).(from 11 to Ζ ^ 1T).

Устройство работает следующим образом.The device works as follows.

.1160562.1160562

При поступлении первого импульса по счетной шине 13 тактовым импульсом первой фазы первого такта согласно логике работы элемента, записанной в таблице, положительный импульс передается на первый суммирующий вход элемента 1 и второй суммирующий вход элемента 4; импульсом второй фазы положительный импульс с элемента 1 передается на первый суммирующий вход элемента 3 и второй вычитаю,щий вход элемента 4; импульсом третьей фазы положительный импульс с элемента 3 передается на первый суммирующий вход элемента 5.When the first pulse arrives on the counting bus 13, the clock pulse of the first phase of the first clock cycle, according to the logic of the element recorded in the table, is transmitted to the first summing input of the element 1 and the second summing input of the element 4; the pulse of the second phase positive pulse from element 1 is transmitted to the first summing input of element 3 and the second subtracting the input of element 4; the third phase pulse positive pulse from element 3 is transmitted to the first summing input element 5.

Импульсом первой фазы второго такта положительный импульс с элемента 5 передается на первый вычитающий вход элемента 1 и выходит из счетчика, образуя первый разряд.The pulse of the first phase of the second clock cycle positive pulse from element 5 is transmitted to the first subtractive input of element 1 and exits the counter, forming the first digit.

Результирующее состояние выходов счетчика 01 .The resulting state of the outputs of the counter 01.

При поступлении второго импульса по шине 13 тактовым Импульсом первой фазы второго такта положительный импульс передается на первый суммирующий вход элемента 1, импульсом третьей фазы положительный импульс с элемента 4 передается на первый суммирующий вход элемента 7 и второй суммирующий вход элемента 10.When the second pulse arrives on the bus 13 with a clock pulse of the first phase of the second cycle, a positive pulse is transmitted to the first summing input of element 1, the third phase pulse sends a positive pulse from element 4 to the first summing input of element 7 and the second summing input of element 10.

Импульсом первой фазы третьего такта положительный импульс с элемента 7 передается на первый суммирующий вход элемента 9 и первый вычитающий вход элемента 10, импульсом второй фазы положительный импульс с элемента 9 передается на пёрвый суммирующий вход элемента 11, импульсом третьей фазы положительный импульс с элемента 11 выходит из счетчика, образуя второй разряд.The positive impulse from element 7 is transmitted to the first summing input of element 9 and the first subtractive input of element 10 by the impulse of the first phase of the third cycle, the positive impulse from element 9 is transmitted to the first summing input of element 11 by the second phase pulse, and the positive impulse from element 11 goes out of the third phase counter, forming the second digit.

Результирующее состояние выходов счетчика 10.The resulting state of the outputs of the counter 10.

При поступлении последующих импульсов по счетной шине 13 счетчик работает аналогично.Upon receipt of subsequent pulses on the counting bus 13, the counter operates in a similar way.

Использование предлагаемого счетчика обеспечивает по сравнению с известным расширение области применения за счет представления чисел в счетчике в двоичной системе счисления (в известном счетчике применяется троичная система счисления, имеющая ограниченную область применения); повышение надежности за счет упрощения каждого разряда счетчика на две межэлементные связи (в счетном разряде предлагаемого счетчика имеется четырнадцать межэлементных связей, в известном - шестнадцать межэлементных связей), а также за счет отсутствия необходимости использования четвертого троичного элемента с четырьмя межэлементными связями в последнем разряде счетчика, на котором формируется перенос.The use of the proposed counter provides in comparison with the known extension of the scope by representing the numbers in the counter in the binary number system (in the well-known counter, a three-fold number system is used, which has a limited scope); increasing the reliability by simplifying each digit of the counter into two inter-element links (the counting discharge of the proposed counter has fourteen inter-element bonds, in the well-known sixteen inter-element bonds), and also due to the absence of the need to use the fourth ternary element with four inter-element bonds in the last discharge of the counter, on which the transfer is formed.

Количество импульсов (±1), поступающих на входы Number of pulses (± 1) entering the inputs Состояние выхода элемента condition output element Суммирующие Вычитающие Adders Subtractors 1,2 1.2 | 1,2 | 1.2 0 0 0 0 0 0 1 one 1 one 0 0 2 2 2 2 0 0 0 0 1,2 1.2 -1 -one 1 one 2 2 -1 -one 1,2 1.2 0 0 + 1 + 1 2 2 1 one + 1 + 1

11605621160562

11605621160562

К-' 15K- '15

/ДЖ Гамв Такте Такт? Такте Такай/ DJ Gamv Tact Tact? Takte Takai

444-11 ή444-11

Ϊ.——-ι 1- . > »-Д / . /У”"?. 'а — .——- ι 1-. >"-D /. / Y "" ?. 'and

,. ΜΜΠφιΓΊψ, ΙφιΓΊψ

ТактЮTaktu

(Д-4-4—л иимцШЖЗш(D-4-4 — l iimscShZhZsh

I I 1 I ι 1 I I ! И 1 ГТ"’ 1 т 1 Ί Т 1 7 14-)..14.1 14. П. ^-1. ,Ц I Ι χ I Я I иII 1 I ι 1 II! And 1 GT "'1 t 1 Ί T 1 7 14 -) .. 14.1 14. P. ^ -1., C I Ι χ I I I and

к импульсы трехфазного источника питания «X. запись+ГThree-phase power supply impulses “X. record + g

запись,гГ -у- считывание ,,-Г —считыбание„0*write, rg -u read ,, -G — read „0 *

Считывание +ГRead + G

Фи г. 2Phi 2

Claims (1)

РЕВЕРСИВНЫЙ СЧЕТЧИК ИМПУЛЬСОВ, содержащий входную шину и η разрядов, каждый из которых содержит шесть, троичных элементов, первый суммирующий вход первого троичного элемента соединен с первым суммирующим входом второго троичного элемента, выход которого соединен с первым и вторым вычитающими входами третьего троичного элемента и с первым суммирующим входом четвертого троичного элемента, первый вычитающий вход которого соединен с выходом первогоREVERSIBLE COUNTERS PULSES containing the input bus and η bits, each of which contains six, ternary elements, the first summing input of the first ternary element is connected to the first summing input of the second ternary element, the output of which is connected to the first and second subtractive inputs of the third ternary element and the first summing the input of the fourth ternary element, the first subtractive input of which is connected to the output of the first троичного элемента и с первым, и вто·* · рым. суммирующими входами третьего троичного элемента,, выход которого соединен с первыми суммирующими входами пятого и шестого троичных элементов, выходы которых соединены соответственно с первыми вычитающими входами первого и второго троичных элементов, в каждом разряде, кроме первого, первый суммирующий вход первого троичного элемента соединен с выходом четвертого троичного элемента предыдущего разряда, первый суммирующий вход первого троичного элемента первого разряда соединен с входной шиной, отличающийся 5ternary element and the first and second · * · eye. summing inputs of the third ternary element, the output of which is connected to the first summing inputs of the fifth and sixth ternary elements, the outputs of which are connected respectively to the first subtractive inputs of the first and second ternary elements, in each digit except the first, the first summing input of the first threefold element is connected to the output the fourth ternary element of the previous discharge, the first summing input of the first ternary element of the first discharge is connected to the input bus, which differs 5 тем, что, с целью расширения области > применения и повышения надежности, Vthe fact that, in order to expand the scope> application and increase reliability в каждом разряде первый суммирующий Г вход первого троичного элемента соединен с вторыми суммирующим и вычи- о 2 тающим входами четвертого троичного' * элемента. *in each digit, the first summing G is the input of the first ternary element connected to the second summing and calculating 2 melting inputs of the fourth ternary '* element. * о: about : СПSP ОдOd N0N0 1 1160562 21 1160562 2
SU833646393A 1983-09-28 1983-09-28 Forward-backward counter SU1160562A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU833646393A SU1160562A1 (en) 1983-09-28 1983-09-28 Forward-backward counter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU833646393A SU1160562A1 (en) 1983-09-28 1983-09-28 Forward-backward counter

Publications (1)

Publication Number Publication Date
SU1160562A1 true SU1160562A1 (en) 1985-06-07

Family

ID=21083291

Family Applications (1)

Application Number Title Priority Date Filing Date
SU833646393A SU1160562A1 (en) 1983-09-28 1983-09-28 Forward-backward counter

Country Status (1)

Country Link
SU (1) SU1160562A1 (en)

Similar Documents

Publication Publication Date Title
SU1160562A1 (en) Forward-backward counter
SU1557685A1 (en) Code converter
SU1324109A1 (en) Reversible pulse counter
SU1160561A1 (en) Ternary forward-backward counter
SU1403357A1 (en) Digital time discriminator
SU1495783A1 (en) Device for multiplication of ternary code by two
SU807492A1 (en) Terniary reversible n-digit pulse counter
SU1043639A1 (en) One-bit binary subtractor
SU733109A1 (en) Reversible ternary n-bit pulse counter
SU782166A1 (en) Binary n-digit pulse counter
SU1398092A1 (en) Count-down device
SU678675A1 (en) Binary n-digit pulse counter
SU1120322A1 (en) Digital function generator
SU1383496A1 (en) Reversible pulse counter
SU553588A1 (en) Digital center for square video pulses
SU705689A1 (en) Counter
SU521565A1 (en) Device for converting binary to decimal
SU1587495A1 (en) Device for multiplying ternary code by two
SU1266000A1 (en) Forward-backward pulse counter
SU1591192A1 (en) Code checking device
SU440795A1 (en) Reversible binary counter
SU1348997A1 (en) Two-way pulse counter
SU395989A1 (en) Accumulating Binary Meter
SU1689944A1 (en) Device for multiplication of ternary code by two
SU1405110A1 (en) Reversible pulse counter