SU1651302A1 - Reversible counter - Google Patents

Reversible counter Download PDF

Info

Publication number
SU1651302A1
SU1651302A1 SU884622110A SU4622110A SU1651302A1 SU 1651302 A1 SU1651302 A1 SU 1651302A1 SU 884622110 A SU884622110 A SU 884622110A SU 4622110 A SU4622110 A SU 4622110A SU 1651302 A1 SU1651302 A1 SU 1651302A1
Authority
SU
USSR - Soviet Union
Prior art keywords
counting
input
bits
bit
output
Prior art date
Application number
SU884622110A
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 SU884622110A priority Critical patent/SU1651302A1/en
Application granted granted Critical
Publication of SU1651302A1 publication Critical patent/SU1651302A1/en

Links

Landscapes

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

Description

Фиг. 1FIG. one

Изобретение относитс  к устройст-. вам разностного счета (пр мого, обратного или реверсивного) и может быть использовано в системах подсче- та сигналов от датчиков дл  автоматического контрол  при недвоичном коэф- цициенте пересчета.The invention relates to apparatus. You need a differential account (direct, reverse, or reverse) and can be used in the systems of counting signals from sensors for automatic control at a non-binary conversion factor.

Цель изобретени  - упрощение устройства ,The purpose of the invention is to simplify the device,

На фиг.1 показана структурна  схема устройства; на фиг.2 - примеры выполнени  счетных разр дов дл  случа , когда используютс  триггеры с инверсными выходами; на фиг.З - то же, дл  случа , когда используютс  триггеры с пр мыми выходами.Figure 1 shows the block diagram of the device; Fig. 2 shows examples of the implementation of counting bits for the case when triggers with inverse outputs are used; Fig. 3 is the same for the case when triggers with direct outputs are used.

На фиг,1-3 прин ты следующие обо-, значени : 1 - перва  входна  шина или первый датчик; 2 - втора  входна  ши- на или второй датчик; 3 - счетный узел, содержащий счетные разр ды по модулю 21 4-1:4-п.In Figs 1-3, the following definitions are accepted: 1 — first input bus or first sensor; 2 - second input bus or second sensor; 3 - counting node containing counting bits modulo 21 4-1: 4-p.

Реврсивное счетное устройство содержит первый 1 и второй 2 датчики и реверсивный счетный узел 3, каждый разр д 4-1...4-п которого содержит счетный триггер 5-1..,5-п, элементы И 6-1...6-п, элементы ИЛИ 7-1...7-п. Выход элемента ИЛИ 7-i соединен с первым входом элемента ИЛИ 7-(i+) следующего разр да, второй вход элемента ИЛИ 7-i соединен с выходом И 6-i .данного разр да 4-i, первый и второй входы которого соединены соответственно с выходом первого датчика 1 и выходом счетного триггера 5-i данного разр да, счетный вход которого соединен с первым входом элемента ИЛИ 7-i данного разр да, который в первом разр де 4-1 соединен с выходом второго датчика 2.The revolving counting device contains the first 1 and second 2 sensors and the reversing counting node 3, each bit 4-1 ... 4-n of which contains a counting trigger 5-1 .., 5-n, And 6-1 elements ... 6-p, elements OR 7-1 ... 7-p. The output of the element OR 7-i is connected to the first input of the element OR 7- (i +) of the next bit, the second input of the element OR 7-i is connected to the output AND 6-i of this bit 4-i, the first and second inputs of which are connected respectively with the output of the first sensor 1 and the output of the counting trigger 5-i of the given bit, the counting input of which is connected to the first input of the element OR 7-i of the given bit, which in the first bit 4-1 is connected to the output of the second sensor 2.

Выходы датчиков 1 и 2 представл ют собой шины частичного 8 и полного 9The outputs of sensors 1 and 2 are partial buses 8 and full 9

5 five

0 0

5 Q 5 Q

00

5five

старшего m-го (5-го 4-5) соединены с введенными третьими входами части из первых К () младших разр дов этой группы, а именно с введением третьими входами элементов И 6-1 и 6-3 соответственно первого 4-1 и третьего 4-3 разр дов. При этом коэффициент пересчета такой группы разр дов равен 22.the older mth (5th 4-5) are connected with the entered third inputs of a part of the first K () low-order bits of this group, namely with the introduction of the third inputs of the AND 6-1 and 6-3 elements of the first 4-1 and third 4-3 bits. In this case, the conversion factor of such a group of bits is equal to 22.

Число m разр дов, необходимое дл  реализации коэффициента пересчета 21 (где 1 - нечетное число), в общем случае выбираетс  по ближайшей большей степени числа 2. Например, дл  нашего случа , когда 21 22, ближайша  цела  степень числа 2 равна 32. Следовательно, потребное число разр дов равно 5, так как 32 25.The number of m bits required to realize a conversion factor of 21 (where 1 is an odd number) is generally chosen at the nearest greater degree of the number 2. For example, for our case when 21 is 22, the nearest integer of the number 2 is 32. Therefore The required number of bits is 5, since 32 25.

Младшие разр ды, на введенные третьи входы элементов И которых организуетс  обратна  св зь с выхода элемента ИЛИ m-ro разр да, определ етс  по разности , переведенной в двоичный код. Обратна  св зь организуетс  на те разр ды разности , представленной в двоичном коде, которые содержат 1, например, дл  нашего случа  когда , a 5. Число 5, переведенное в двоичный код, записываетс  как 101 (2° 1,2 0, 2 1). Следовательно, обратна  св зь организуетс  на введенные входы элементов И разр дов 4-1 (2°) и 4-3 (2 ).The least significant bits, at the input of the third inputs of the elements And of which feedback is organized from the output of the element OR m-ro of the discharge, are determined by the difference converted into binary code. The feedback is organized into those bits of the difference represented in binary code that contain 1, for example, for our case, a 5. The number 5 translated into binary code is recorded as 101 (2 ° 1.2 0, 2 1 ). Consequently, the feedback is organized at the input inputs of the elements AND bits 4-1 (2 °) and 4-3 (2).

Не следует забывать что при этом пересчет импульсов осуществл етс  в коде с избытком -1 по кольцу из 21 состо ний (дл  нашего случа  в коде с избытком 5 по кольцу из 22 состо ний ) .It should not be forgotten that in this case the pulse recalculation is carried out in a code with an excess of -1 over a ring of 21 states (for our case in a code with an excess of 5 around a ring of 22 states).

В табл.1 приведены данные, необходимые дл  синтеза реверсивного счетного устройства с коэффициентом пересчета 21,, где 1 - нечетное число (вплоть до ). В эту таблицу неTable 1 presents the data necessary for the synthesis of a reversible counting device with a conversion factor of 21, where 1 is an odd number (up to). This table does not

5050

обращени . Одновременное действие сиг-45 вошли коэффициенты пересчета 2, 4, 6,circulation The simultaneous action of sig-45 included conversion factors 2, 4, 6,

8, 36, 32, -64, так как они реализуютс  известными устройствами без обратных св зей. В эту таблицу не вошли также коэффициенты пересчета 12 , 20 , 24 , 28 - 2 «14, 36 2x1 8; 40 2 2 10; 44 2x22, 48 2x2x12- 52 56 , 60 , 68 , 72 , так как они реализуютс  по сомножител м, которые либо вход т в табл.1, либо  вл ютс  целой степенью числа 2, реализуемой без обратных св зей.8, 36, 32, -64, since they are implemented by known devices without feedback. This table also did not include conversion factors of 12, 20, 24, 28 - 2 “14, 36 2x1 8; 40 2 2 10; 44 2x22, 48 2x2x12- 52 56, 60, 68, 72, as they are implemented by factors that are either in table 1 or are an integer power of 2, implemented without feedback.

Пользу сь приведенным правилом, эта таблица может быть продолжена доUsing the above rule, this table can be continued until

налов на шинах 8 и 9 эквивалентное действию сигнала только на шине 9. Выход элемента ИЛИ 7-п  вл етс  выхо- дом 10 счетного разр да.The load on tires 8 and 9 is equivalent to the effect of the signal only on tire 9. The output of the element OR 7-p is the output 10 of the counting bit.

В устройстве использованы триггеры , переключающиес  по заднему фронту единичных сигналов, поступающих на их счетные входы.The device uses triggers that switch on the falling edge of single signals at their counting inputs.

Дл  достижени  поставленной цели в каждой группе из последовательно соединенных разр дов (на фиг.2 и 3 группа разр дов дл  случа , когда , включающа  в свой состав разр ды 4-1...4-5) выход элемента ИЛИ 7-5To achieve this goal in each group of consecutive bits (in Figures 2 and 3, a group of bits for the case when, including bits 4-1 ... 4-5), the output of the element OR 7-5

5555

51655165

во . Таким образом, предлагаемое реверсивное счетное устройство позвол ет осуществл ть счет по любому четному модулю.in Thus, the proposed reversible counting device allows counting on any even-numbered module.

Работа устройства основана ни операци х полного обращени , нулевого частичного обращени  и единичного частичного обращени .The operation of the device is based on the operations of full circulation, zero partial circulation and single partial circulation.

Операци  полного обращени  осуще- ствл етс  в устройстве по окончании действи  сигнала на шине 9 полного обращени . При этом с по влением сигнала на шине 9 полного обращени  этотThe full access operation is performed in the device at the end of the signal on the full access bus 9. At the same time, with the appearance of the signal on the bus 9, this

сигнал по цепи последовательно соеди- (5 триггеров 5-1.. ,5-п, у которых сигналthe signal on the circuit is sequentially connected (5 triggers 5-1 .., 5-n, in which the signal

ненньгх элементов ИЛИ 7-1...7-п всех счетных разр дов 4-1...4-п поступает на счетные входы триггеров 5Н...5-П всех счетных разр дов. Так как триггеры 5-1...5-п перекликаютс  по заднему фронту сигналов, поступающих на их счетные входы, то переключени  триггеров 5-1...5-п при этом не происходит . Так как на первых входах элена выходе переноса присутствует, если триггер хранит единичное значение (фиг.2), и осуществл етс  следующим образом, С по влением сигнала на шипе 20 8 частичного обращени  он поступает н входы элементов И 6-1...6-п всех 4-1...4-п счетных разр дов. Действие этого сигнала про вл етс  на выходах элементов И только тех счетных разр ментов ИЛИ 7-1...7-п сигналы отсутст- 25 дов, триггеры которых хран т единич- вуют, то по окончании действи  сигна- шине 9 полного обращени  сигналы на счетных входах триггеров 5-1... Зт1 всех 4-1 . . .4-п счетных разр дов исчезают, что-обусловливает переключение триггеров 5-1...5-п всех 4-1...4-п счетных разр дов в противоположное состо ние.non-OR elements 7-1 ... 7-p of all countable bits 4-1 ... 4-p goes to the counting inputs of the 5H ... 5-P triggers of all counting bits. Since the triggers 5-1 ... 5-n echo over the falling edge of the signals arriving at their counting inputs, switching of the triggers 5-1 ... 5-n does not occur. Since at the first inputs, the output of the transfer is present, if the trigger stores a single value (figure 2), and is carried out as follows, With the appearance of a signal on the 20 8 partial reversal spike, it arrives at the inputs of the AND 6-1 elements ... 6 -in all 4-1 ... 4-n countable bits. The effect of this signal is manifested at the outputs of the elements And only for those countable dimensions OR 7-1 ... 7-n signals of the absence of 25, the triggers of which are stored one, then at the end of the action of the signal 9 complete reversal on the counting inputs of the triggers 5-1 ... Zt1 all 4-1. . .4-n counting bits disappear, which causes the switching of triggers 5-1 ... 5-n of all 4-1 ... 4-n counting bits to the opposite state.

Операци  нулевого частичного обращени  предусматривает использова35The zero partial access operation provides for the use of 35

ное значение. С выхода элемента И самого первого, начина  с младшего, счетного разр да, хран щего единичное значение, сигнал поступает на входvalue. From the output of the element And the very first, starting with the youngest, counting bit, storing a single value, the signal is fed to the input

30 элемента ИЛИ этого счетного разр да. Далее по цепи последовательно соединенных элементов ИЛИ сигнал поступает на счетные входы триггеров всех счетных разр дов, следующих за самым первым , начина  с младшего, счетным разр дом , хран щим единичное значение. Так как триггеры 5-1...5-п переключаютс  по заднему фронту сигналов, поступающих на их счетные входы, то пере30 elements OR of this countable bit. Then, along the chain of series-connected elements OR, the signal goes to the counting inputs of the triggers of all the counting bits following the very first one, starting with the youngest, counting bit, which stores the unit value. Since the triggers 5-1 ... 5-n are switched on the falling edge of the signals arriving at their counting inputs, then

ние триггеров 5-1...5-п, у которыхtriggers 5-1 ... 5-p, in which

сигнал на выходе сигнала переноса присутствует, если триггер хранит нулевое значение (фиг.), и осуществл етс  следующим образом. С по влением сигнала на шине 8 частичного обращени  он поступает на входы элементов И 6-1...6-п всех 4-1...4-п счетных разр дов. Действие этого сигнала про вл етс  на выходах элементов И только тех счетных разр дов, триггеры которых хран т нулевое значение. С выхода элемента И самого первого, начина  с младтего, разр да, хран щего нулевое значение, сигнал поступает на вход элемента ИЛИ этого счетного разр да . Далее по- цепи последовательно соединенных элементов ИЛИ сигнал поступает на счетные входы триггеров всех счетных разр дов, следующих за самым первым, начина  с младшего, счетным разр дом, хран щим нулевое значение. Так как триггеры переключаютс  по заднему Фронту сигналов, поступающих наthe signal at the output of the transfer signal is present if the trigger stores a zero value (Fig.), and is implemented as follows. With the appearance of a signal on the bus 8 of partial inversion, it arrives at the inputs of the elements AND 6-1 ... 6-n of all 4-1 ... 4-n countable bits. The effect of this signal is manifested at the outputs of the elements And only for those countable bits whose triggers store a zero value. From the output of the AND element of the very first, starting with the first, the bit storing the zero value, the signal arrives at the input of the OR element of this countable bit. Next, the chains of series-connected elements OR the signal goes to the counting inputs of the triggers of all the counting bits following the very first one, starting with the youngest, counting bit, which stores the zero value. Since the triggers are switched on the back front of signals arriving at

их счетные входы, то переключение при этом не происходит. По окончании действи  единичного сигнала на гаине 8 частичного обращени  сигналы на счетных входах триггеров всех счетных разр дов , следующих за самым первым, начина  с младшего, счетным разр дом, хран щим нулевое значение, станов тс  нулевыми и триггеры этих счетных разр дов переключаютс  в противоположное состо ние.their counting inputs, then the switch does not occur. Upon termination of a single signal on a partial inversion driver 8, the signals at the counting inputs of the triggers of all counting bits following the very first one, starting with the youngest, counting bit storing the zero value, become zero, and the triggers of these counting bits switch to the opposite condition.

Операци  единичного частичного обращени  предусматривает использованиеThe operation of a single partial call involves the use of

на выходе переноса присутствует, если триггер хранит единичное значение (фиг.2), и осуществл етс  следующим образом, С по влением сигнала на шипе 8 частичного обращени  он поступает на входы элементов И 6-1...6-п всех 4-1...4-п счетных разр дов. Действие этого сигнала про вл етс  на выходах элементов И только тех счетных разр дов , триггеры которых хран т единич- at the output of the transfer is present, if the trigger stores a single value (FIG. 2), and is carried out as follows. With the appearance of a signal on the partial access spike 8, it arrives at the inputs of the AND 6-1 elements ... 6-p all 4-1 ... 4-n countable bits. The effect of this signal is manifested at the outputs of the elements And only for those countable bits whose triggers store a single

ное значение. С выхода элемента И самого первого, начина  с младшего, счетного разр да, хран щего единичное значение, сигнал поступает на входvalue. From the output of the element And the very first, starting with the youngest, counting bit, storing a single value, the signal is fed to the input

элемента ИЛИ этого счетного разр да. Далее по цепи последовательно соединенных элементов ИЛИ сигнал поступает на счетные входы триггеров всех счетных разр дов, следующих за самым первым , начина  с младшего, счетным разр дом , хран щим единичное значение. Так как триггеры 5-1...5-п переключаютс  по заднему фронту сигналов, поступающих на их счетные входы, то переключение триггеров при этом не. происходит . По окончании действи  единичного сигнала на шине 8 частичного обращени  сигналы на счетных входах триггеров всех счетных разр дов, следующих за самым первым, начина  с младшего, счетным разр дом, хран щим единичное значение, станов тс  нулевым и триггеры этих счетных разр дов переключаютс  в противоположное состо ние .the OR of this countable bit. Then, along the chain of series-connected elements OR, the signal goes to the counting inputs of the triggers of all the counting bits following the very first one, starting with the youngest, counting bit, which stores the unit value. Since the triggers 5-1 ... 5-n are switched on the falling edge of the signals arriving at their counting inputs, there is no switching of the triggers. going on. Upon termination of the single signal on the partial-inverting bus 8, the signals at the counting inputs of the flip-flops of all counting bits following the very first one, starting with the youngest, counting bit storing the unit value, become zero and the triggers of these counting bits switch to the opposite condition.

Различие в работе счетного устройства при выполнении операций нулевого и единичного частичного обращени  обусловлено разнотипностью примен емых дл  реализации этих операций тригге-, ров. Если устройство предусматривает (фиг.2) операции нулевого частичного и полного обращени , то дл  увеличени  модул  хранимого в счетном уст-. The difference in the operation of the counting device when performing operations of zero and single partial circulation is due to the heterogeneity of the triggers used to implement these operations. If the device provides (Fig. 2) zero partial and full access operations, then to increase the module stored in the counting device.

ройсчпе результата необходимо подать сигнал вначале на шину 8 частичного, а затем на шину 9 полного обращени , а дл  уменьшени  модул  хранимого в счетном устройстве результата необходимо подать сигнал вначале на шину 9 полного, а затем на шину 8 частичного обращени ,In order to achieve the result, you must first send a signal to the partial bus 8, and then to the full access bus 9, and to reduce the result stored in the counting device, you must first send a signal to the partial call 9, then

Если устройство предусматривает (фиг.З) операции единичного частичного и полного обращени , то дл  увеличени  модул  хранимого в счетном устройстве результата необходимо подать сигнал вначале на шину 9 полного , а затем на шину 8 частичного обращени , а дл  уменьшени  модул  хранимого в счетном устройстве результата необходимо подать сигнал вначале на шину 8 частичного, а затем на шину 9 полного обращени .If the device provides (FIG. 3) for a single partial and full call operation, then to increase the module of the result stored in the counting device, it is necessary to send a signal first to the full call and then to the partial call bus 8, and to reduce the result stored in the counting device it is necessary to give a signal first to the bus 8 partial, and then to the bus 9 full circulation.

При этом длительность сигнала должна превышать врем  его распространени  по логическим элементам устройства . Длительность паузы между входными сигналами должна превышать врем  переключени  триггеров и врем  возвращени  логических элементов устройства в исходное состо ние.At the same time, the duration of the signal must exceed its propagation time through the logical elements of the device. The duration of the pause between the input signals must exceed the switching time of the flip-flops and the time of returning the logic elements of the device to its initial state.

Так как двойное частичное или двои ное полное обращение результата, хранимого в счетных разр дах, не приводит к изменению этого результата, то после поступлени  двух сигналов на одну из шин 9 или 8 устройства, результат , хранимый в его счетных разр дах , остаетс  прежним.Since a double partial or double complete inversion of the result stored in the counting bits does not change this result, after the arrival of two signals on one of the buses 9 or 8 of the device, the result stored in its counting bits remains the same.

Перечисленные особенности в работе счетного устройства обусловливают возможность применени  его совместно с двум  датчиками 1 и 2 без каких-либо промежуточных между датчиками и счетным устройством элементов дл  по подсчета предметов, объектов, частиц, меток, рисок и т.д. При этом возможен подсчет как их количества, если они движутс  относительно датчиков в одном направлении (суммирование, вычитание ) , так и разности в их количестве , если они движутс  относительно датчиков в двух противоположных направлени х . Реализаци  любого из этих вариантов (суммирование, вычитание, реверсивный счет) однотипна. Достаточно на две соответствующих шины 8 и 9 устройства подать сигнал с выходов двух датчиков 2 и 1. При Ликса- ции обьекта (предмета, чаггицы, метки , риски и т.д.) дважды одним и темThese features in the operation of the counting device make it possible to use it together with two sensors 1 and 2 without any intermediate elements between the sensors and the counting device for counting objects, objects, particles, marks, notes, etc. In this case, it is possible to count both their numbers if they move relative to the sensors in one direction (summation, subtraction), and differences in their numbers if they move relative to the sensors in two opposite directions. The implementation of any of these options (summation, subtraction, reversible counting) is of the same type. It is enough for the two corresponding tires 8 and 9 of the device to signal from the outputs of two sensors 2 and 1. When an object is loosened (object, chaggits, tags, risks, etc.), the same

10ten

1515

2020

2525

30thirty

3535

4040

4545

5050

5555

же датчиком (соответствующий объект зашел за зону действи  одного датчика, не дошел до зоны действи  другого датчика и вернулс ) результата предлагаемом сче тном устройстве остаетс  неизменным .however, the sensor (the corresponding object went beyond the zone of action of one sensor, did not reach the zone of action of another sensor, and returned) the result of the proposed accounting device remains unchanged.

Пусть в разр дах содержитс  исходный результат И...0101, содержимое самого младшего разр да указано справа , а самого старшего - слева.Let the discharge result contain the initial result I ... 0101, the contents of the least significant bit are indicated on the right, and the oldest one - on the left.

Дл  увеличени  содержимого разр дов (фиг.1) на единицу провод т сначала операцию нулевого частичного обращени  исходного результата. Получают в разр дах промежуточный результат 00...1001. С полученным промежуточным результатом осуществл ют операцию полного обращени . Получают в разр дах окончательный результат 11...0110 на единицу больший исходного. Дл  уменьшени  содержимого разр дов на единицу провод т с исходным результатом 11 ... 0101 сначала операцию полного обращени . Получают в разр дах промежуточный результат 00...1010. С полученным промежуточным , результатом осуществл ют операцию нулевого частичного обращени . Получают в разр дах окончательный результат 11...0100, на единицу меньший исходного.To increase the content of the bits (Fig. 1) by one, the zero partial inversion of the original result is first performed. An intermediate result of 00 ... 1001 is obtained in bits. With the intermediate result obtained, a full access operation is performed. A final result of 11 ... 0110 per unit greater than the initial one is obtained. To reduce the contents of the bits per unit, the initial result of 11 ... 0101 is performed first with the full access operation. An intermediate result of 00 ... 1010 is obtained in bits. With the resultant intermediate, the result is a zero partial conversion operation. A final result of 11 ... 0100 is obtained in bits, one less than the initial one.

Дл  увеличени  содержимого разр дов (фиг-2) на единицу провод т сначала операцию полного обращени  исходного результата 11...0101. Получают в разр дах промежуточный результат 00... 1010. С полученным промежуточным результатом осуществл ют операцию едиг ничного частичного обращени . Получают в разр дах окончательный результат И 1...0110, на единицу больший исходного . Дл  уменьшени  содержимого разр дов на единицу провод т с исходным результатом 11...0101 сначала операцию единичного частичного обращени . Получают в разр дах промежуточный результат 00...1011. С полученным промежуточным результатом осуществл ют операцию полного обращени . Получают в разр дах окончательный результат П..., 0100, на единицу меньший исходного.In order to increase the content of the bits (Fig-2) per unit, the operation of completely reversing the original result 11 ... 0101 is carried out first. An intermediate result of 00 ... 1010 is obtained in bits. With the intermediate result obtained, an operation of partial partial circulation is carried out. The final result, AND 1 ... 0110, is obtained in bits, one greater than the initial one. In order to reduce the contents of the bits per unit, the initial result of 11 ... 0101 is carried out, first the operation of a single partial reference. An intermediate result of 00 ... 1011 is obtained in bits. With the intermediate result obtained, a full access operation is performed. The final result P ... 0100 is obtained in bits, one less than the initial one.

При увеличении содержимого 11 ... 1111 счетных разр дов на единицу окончательным состо нием разр дов  вл етс  состо ние 00...0000. Бри уменьшении содержимого 00.. .СООС разр дов на единицу окончательным состо нием  вл етс  состо ние 11...1111.When increasing the contents of 11 ... 1111 countable bits per unit, the final state of the bits is the state 00 ... 0000. Bree decrementing the contents of 00 ... COOC bits per unit. The final state is state 11 ... 1111.

Таким образом, осуществл етс  разностный подсчет объектов по модулю 216, т.е. в двоичном коде.Thus, differential calculation of objects modulo 216, i.e. in binary code.

Отличие в работе предлагаемого уст ройства заключаетс  в том, что кажда  группа из m разр дов работает по своему (в общем случае различному) кольцу состо ний. Перед началом работы триггеры тех разр дов, котооые содер- жат элементы И с введенными третьими (Входами, устанавливаютс  в единичное состо ние, а остальные триггеры - в нулевое.The difference in the operation of the proposed device lies in the fact that each group of m bits works in its (generally different) state ring. Before starting, the triggers of those bits that contain the AND elements with the entered third ones (the inputs are set to one state, and the remaining triggers are set to zero.

Например, дл  случа  на фиг.2 и 3 в группе из m 5 разр дов триггеры 5-1 и 5-3 перед началом работы устанавливаютс  в единичное состо ние, а остальные - в нулевое.For example, for the case of FIGS. 2 and 3 in a group of m 5 bits, the triggers 5-1 and 5-3 are set to one state before starting work, and the rest are set to zero.

Последующа  .работа группы из разр дов на фиг.1 и 2 по сн етс  табл.2 переходов. В табл.2 1 обозначено включенное, а О - выключенное состо ние соответствующих триггеров дл  каждого из услови  состо ний группы. Так как пересчет осуществл етс  в коде с избытком 5, то условное состо ние группы всегда на 5 меньше двоичного веса, записанного в разр дах 4-1...4-5.The subsequent work of the group from the bits in Figures 1 and 2 is explained in Table 2 of the transitions. Table 2-1 indicates the enabled state and O indicates the disabled state of the corresponding triggers for each of the conditions of the group. Since the recalculation is carried out in a code with an excess of 5, the conditional state of the group is always 5 less than the binary weight recorded in bits 4-1 ... 4-5.

В соответствии с таблицей переходов группа из разр дов 4-1...4-5 осуществл ет пересчет по кольцу из 22 условных состо ний, пронумерованных от 0 до 21. При этом обеспечива- етс  формирование сигначов переноса на счетные разр ды следующих групп при переходе из 21-го состо ни  в 0-е при пр мом счете и при переходе из 0-го состо ни  в 21-е при обратном счете. При любых других переходах сигнал дважды формируетс  на выходе 10 элемента ИЛИ 7-5, обеспечива  двойное полное обращение последующих разр дов , в результате чего они остаютс  в том же состо нии, что и до поступлени  сигналов. При указанных перехо- дах (из 0 в 2Г состо ние и наоборот) действие сигнала на шине 9 приводит к полному обращению следующих за группойIn accordance with the transition table, a group of bits 4-1 ... 4-5 recalculates a ring of 22 conditional states, numbered from 0 to 21. At the same time, transfer signatures are generated to the countable bits of the following groups the transition from the 21st state to the 0th when forwarding and the transition from the 0th state to the 21st when counting down. For any other transitions, a signal is formed twice at the output 10 of the element OR 7-5, providing double complete reversal of the subsequent bits, as a result of which they remain in the same state as before the signals were received. At the indicated transitions (from the 0 to the 2G state and vice versa), the effect of the signal on bus 9 leads to the complete reversal of

разр дов, а действие сигнаг.а НЕ гаинг 8 - к частичному ( нулевому частичному на фиг.2 к единичному частичному нг, фиг.З) обращению следую- за группой разр дов. Этим и обеспечиваетс  формирований сигналов переноса на следующие за группой разр да.bits, and the action of the signal. a NOT ging 8 - to a partial (zero partial in FIG. 2 to a single partial ng, fig. 3) treatment following the group of bits. This provides the formation of the transfer signal for the next group of discharge.

Claims (1)

Формула изобретени Invention Formula Реверсивное счетное устройство, содержащее первую и вторую входные шины и счетный узел, каждый счетный разр д по модулю 21 (, нечетное , в общем случае ргзчичное дл  каж доге разр да) которого содержит га счс. ных триггеров, элементов И и элементов ИЛИ (п - наименьшее число, удовлетвор ющее условию 2т ) , выход каждого К-го (К ,2, ... ,ч) счет-; ного триггера соединен с первым входом К-го элемента И, выход которого соединен с первым входом К-го элемента ИЛИ, выход которого (кроме m-ro) соединен со счетным входом (К+1)-го счетного триггера, второй вход первого элемента И  вл етс  первым входе счетного разр да, счетны 1 вхсд парного счетного триггера  вл етс  вторым входом счетного разр да, выход т-го элемента ИПЙ  вл етс  выходом счетного разр да и соединен с вторым входом следующего счетного разр да, о т п и- чающеес   тем, что, с целью упрощени  устройства, счетный вход К-го счетного триггера соединен с вторым входом К-го слемента ИЛИ, иторой вход первого элемента И соединен с вторыми входами второго и последующих элементов И, выход га-го элемента ИЛИ соединен с третьими входами тех элементов И, номера которых совпадают с номерами единичных позиций числа 2тИ-1, представленного в двоичном кода, где младша  позици  двоичного числа считаетс  первой, первые входы всех счетных разр дов соединены с первой входной шиной, а второй вход первого счет лого разр да - с второй входной шинойA reverse counting device containing the first and second input buses and a counting node, each counting bit modulo 21 (which is odd, in general, is a common bit for each bit) which contains gfcfc. triggers, elements AND and elements OR (n is the smallest number that satisfies the condition 2m), the output of each K-th (K, 2, ..., h) count-; the first trigger is connected to the first input of the K-th element AND, the output of which is connected to the first input of the K-th element OR, whose output (except for m-ro) is connected to the counting input of the (K + 1) -th counting trigger, the second input of the first element And is the first input of the counting bit, the counting 1 of the doubles of the counting trigger is the second input of the counting bit, the output of the i-th element of the IPY is the output of the counting bit and is connected to the second input of the next counting bit, So that, in order to simplify the device, the counting input of the K-th counting m The igger is connected to the second input of the K-th OR element, the second input of the first element AND is connected to the second inputs of the second and subsequent AND elements, the output of the Mr. element OR is connected to the third inputs of those AND elements whose numbers coincide with the unit positions of the number 2 1, represented in binary code, where the lower position of the binary number is considered to be the first, the first inputs of all countable bits are connected to the first input bus, and the second input of the first account of the logo bit is connected to the second input bus 9 8 ,9 8 9 8 9 8 9 8 9 8 9 8 9 8 9 8 99 8, 9 8 9 8 9 8 9 8 9 8 9 8 9 8 9 8 9 Таблица 1Table 1 Таблица 2table 2
SU884622110A 1988-12-19 1988-12-19 Reversible counter SU1651302A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU884622110A SU1651302A1 (en) 1988-12-19 1988-12-19 Reversible counter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU884622110A SU1651302A1 (en) 1988-12-19 1988-12-19 Reversible counter

Publications (1)

Publication Number Publication Date
SU1651302A1 true SU1651302A1 (en) 1991-05-23

Family

ID=21415995

Family Applications (1)

Application Number Title Priority Date Filing Date
SU884622110A SU1651302A1 (en) 1988-12-19 1988-12-19 Reversible counter

Country Status (1)

Country Link
SU (1) SU1651302A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1358091, кл. Н 03 К 23/56, G 06 М 3/14, 1986. Troynagle H. An Iritroduction to computer logic, 1975,с.457, 458 и 477. *

Similar Documents

Publication Publication Date Title
SU1651302A1 (en) Reversible counter
US5491803A (en) Response resolver for associative memories and parallel processors
SU1651377A1 (en) Up-down counting device
SU1522412A1 (en) Converter of series character-digit code into parallel code of addition
SU1043639A1 (en) One-bit binary subtractor
RU1802409C (en) Reversible counter
SU1677865A1 (en) Forward-backward counter
SU1358091A1 (en) Reversible counting device
SU762201A1 (en) Recounting device
SU612413A1 (en) Reversible counter
SU638948A1 (en) Information input arrangement
SU1338093A1 (en) Device for tracking code sequence delay
SU843211A2 (en) Device for monitoring time intervals of coded messages
SU362348A1 (en)
SU1501030A1 (en) Series to parallel code converter
SU725072A1 (en) Device for determining maximum number from a series of numbers
SU782166A1 (en) Binary n-digit pulse counter
SU1644133A1 (en) Subtracter
SU450153A1 (en) Code rate converter
SU1238056A1 (en) Device for comparing n-bit binary numbers
SU1160562A1 (en) Forward-backward counter
SU1160561A1 (en) Ternary forward-backward counter
SU1273872A1 (en) Pulse duration-to-digital converter
SU1492479A1 (en) Binary code-to-modulo-n-code converter
SU736089A1 (en) Device for converting table codes