Claims (2)
Изобретение относитс к устройствам импульсной техники и может быть использовано в автоматике и вычислительной технике. Известен реверсивный счетчик, содержащий разр ды, калсдый из которых содержит счетный триггер, и коммутирующие элементы, первые входа которы соединены с выходами счетного тригге ра, а вторые входы соединены с управ л ющими шинами Cl . Недостатком этого реверсивного счетчика вл етс сравнительно низкое быстродействие. Известен также реверсивный счет чик, содержащий разр ды, каждый из которых содержит первый, второй и третий RS-триггеры, а каждый разр д, кроме первого, содержит, также допол . нительный элемент И-НЕ, первый RS-TpH гер первого разр да содержит первый и второй элементы И-НЕ, первые входы .которых соединены с выходами соответ ственно второго и первого элементов И-НЕ этого RS-триггера, остальные входы первого и второго элементов И-НЕ соединены соответственно с единичньми и нулевыми выходами первого RS-триггера, второй RS-триггер первого разр да содер мт третий и четвертый элементы И-НЕ, первые входы которых соединены с выходами соответственно четвертого и третьего элементов И-НЕ, остальные входы которьсс соединены соо.тветственно с единичными и нулевыми входами второго RS-триггера, третьи RS-триггеры каждого разр да содержат п тый и шестой элементы И-НЕ, первые входы которых соединены с соответственно с выходами шестого и п того элементов И-НЕ, сотальные входы которых соединены соответственно с нулевыми и единичными входами третьего RS-триггера, первый RS-триггер каждого разр да, кроме первого, содержит первый и второй элементы И-НЕ и первый вспомогательный элемент И-НЕ, первые входы первого, второго и периого вспомогательного элементов И-НЕ 1;оединены с выходами соответственно второго и первого вспомогательных э 1ементов И-НЕ, .остальные входы которого соединены с первой группой нулевых входов первого RS-триггера, втора группа нулевых входов первого RS-триггера соединенас остальными входами второго элемента И-НЕ, а единичные входы первого RS-триггера соединены с остальными входами первого элемента И-НЕ второй RS-триггер каждого разр да, кроме первого, содержит третий и четвертый элементы И-НЕ и второй вспомогательный элемент И-НЕ, первые входы крторых соединены с выходами соответственно четвертого и третьего элементов И-НЕ второй вход третьего элементы И-НЕ соединен с выходом второго вспомогательного элемента И-НЕ, остальные вх ды которого соединены с первой группой нулевых входов второго RS-триг гера, втора группа нулевых входов которого соединена с остальными входами четвердого элемента И-НЕ, а еди ничные входы Второго RS-триггера сое динены с остальными входами третьего элемента И-НЕ, выход п того элемента И-НЕ каждого разр да соединен с единичным входом первого RS-тригг ра то же разр да, и взводами первых групп нулевых ЙХРДОВ первого и второго RS-триггеров следующего разр да, вто рые группы нулевых вхрдов которьпс соединены с выходом шестого элемента И-НЁ предыдущего разр да, счетный вх реверсивного счетчика соединен с нулевыми входами первого и второго RS-триггеров первого разр да, выход первого элемента И-НЕ каждого разр да соединен с единичным входом второ го RS-триггера того же разр да, выход четвертого элемента И-НЕ кадцого раз р да соединен с нулевым входом треть го RS-триггера того же разр да и в первом разр де с нулевым входом перво го RS-триггера, а в кадцом из остальных разр дов с входом второй группы нулевых входов первого RS-триггера того же разр да, выход второго элемен та И-НЕ каждого разр да соединен с единичным входом третьего RS-триггера того же разр да, выход первого вспомогательного элемента И-НЕ каждо1ГО из разр дов соединен с единичным входом третьего RS-триггера того же разр да, нулевой вход которого соединен с входом первой группы нулевых 94 входов первого RS-триггера того же разр да и выходом второго вспомогательного элемента И-НЕ того же разр да , выход дополнительного элемента И-НЕ каждого разр да соединен с единичным входом второго RS-триггера того же разр да и входами- первой и второй групп нулевых входов Первого RS-триггера, выход шестого элемента И-НЕ калодого разр да, кроме первого, соединен с первым входом дополнительного элемента И-НЕ того же разр да, второй вход которого соединен с пшной Реверс, шина Сложение соединена с входами вторых групп нулевых входов первого и второго RS-триггеров каждого из разр дов, пшна Вычитание соединена с входами первых групп нулевых входов первого и второго RS-триггеров всех разр дов 21. Недостатком этого реверсивного счетчика вл етс сравнительно больша сложность. Цель изобретени - упрощение ревер- сивного счетчика. Поставленна цель достигаетс тем, что в реверсивном счетчике, содержащем разр ды, казкдый из которых со- дёрлшт первый, второй и третий RS- триггеры, а каждый разр д, кромепервого , содержит также дополнительный элемент И-НЕ, первый RS-триггер первого разр да содержит первый и второй элементы И-НЕ, первые входы которых соединены с выходами соответственно второго и первого элементов И-НЕ этого RS TpHrrepa, остальные входы первого и второго .элементов И-НЕ соединены соответственно с единичными и нулевыми входами первого RS-триггера, второй RS-триггер первого разр да содержит третий и четвертый элементы И-НЕ, первые входы которых соединены с выходами соответственно четвертого и .третьего элементов И-НЕ, остальные входы которых соединены соответственно с единичными и нулевыми ьходами второго RS-триггера, третьи RS-триггеры каждого разр да содержат п тый и шестой элементы И-НЕ, первые входы которых соединены соответственно с выходами шестого н п того элементов И-НЕ, остальные входы которых соединены соответственно с нулевыми и единичными входами третьего RS-триггера, первый RS-триггер каждого разр да, кроме первого, содержит первый и второй элементы И-НЕ и первый вспомогательный элемент И-НЕ, первые вхрды первого , второго и первого вспомогатель ного элементов И-НЕ соединены с выхо дами соответственно второго, и перво го элементов И-НЕ, второй вход первого элемента И-НЕ соединен с выходом первого вспомогательного элемента И-НЕ, остальные входы которого соединены с первой группой нулевых входов первого RS-триггера, втора группа нулевых входов первого RS-три гера соединена с остальными входами второго элемента И-НЕ, а единичные входы первого RS-триггера соединены с остальньп-1И входами первого элемента И-НЕ, второй RS-триггер каждого разр да кроме первого, содержит третий и четвертый элементы И-НЕ и второй вспомогательный элемента И-НЕ, первые входы которых соединены с выходами соответственно четвертого и третьего элементов И-НЕ, второй вход третьего элемента И-НЕ соединен с вы ходом второго вспомогательного элемента И-НЕ, остальные входы которого соединены с первой группой нулевых входов второго RS-триггера, втора группа нулевь4х входов которого соединена с остальными входами четвертого элемента И-НЕ, а единичные входы второго RS-триггера соединены с остальными входами третьего элемента И-НЕ, выход п того элемента И-НЕ каждого,разр да соединен с единичным входом первого RS-триггера того же разр да и входами первых групп нулевых входов первого и второго RS-триггеров следующего разр да, вторые группы нулевых входов которых соединены с выходом шестого элемента И-НЕ предыдущего разр да, счет ный вход реверсивного счетчика соединен с нулевь1ми входами первого и второго RS-триггеров первого разр да выход первого элемента И-НЕ каждого разр да соединен с единичньм входом второго RS-триггера того же разр да выход четвертого элемента И-НЕ каждо го разр да соединен с нулевым входом третьего RS-триггера того же разр да и, в первом разр де с нулевым входом первого RS-триггера, а в каждом из остальных разр дов - с входом второй группы нулевых входов первого RS-три гера того же разр да, выход второго элемента И-НЕ каждого разр да соединен с единичным входом третьего RS-триггера того же разр да, выход первого вспомогательного элемента И-НЕ каждого из разр дов соединен с единичным входом третьего RS-триггера того же разр да, нулевой вход которого соединен с входом первой группы нулевых вхбдов первого RS-триггера того же разр да и выходом вто- рого вспомогательного элемента И-НЕ того же разр да, вьгход дополнительного элемента И-НЕ каждого разр да соединен с единичным входом второго RS-триггера того же разр дами входами первой и второй групп нулевых входов первого RS-триггера, выход шестого элемента И-НЕ к 1ждого разр да, кроме первого, соединен с первым входом дополнительного элемента И-НЕ того же разр да, второй вход которого соединен с шиной Реверс, Шина Сложение соединена с входами вторых групп нулевых овходов первого и второго RS-триггеров ка едого из разр дов, шина Вычитание соединена с входами первых групп нулевых входов первого и второго RS-триггеров всех разр дов, первый и второй дополнительные входы дополнительных элементов И-НЕ каждого из разр дов соединены с выходами второго элемента И-НЕ и первого вспомогательного элемента И-НЕ того же разр да, а единичные входы первых RS-триггеров ка;хдого из разр дов, кроме первого , соединены с инверсной шиной реверсировани . На чертеже изображена структурна схема счетчика. Реверсивный счетчик содержит разр ды 1, каждый из которых содержит первый 2, второй 3 и третий 4 RS-триггеры , а каждьй разр д, кроме первого, , содержит также дополнительный элемент И-НЕ 5, первый RS-триггер 2, первого разр да содержит первый 6 и второй 7 элементы И-НЕ, первые входы которых соединены с выходами соответственно второго 7 и первого 6 элементов И-НЕ этого RS-триггера, остальные входы первого 6 и второго 7 элементов .И-НЕ соединены соответственно с единичными и нулевыми входами первого RS-триггера, второй Rj-триггер 3 первого разр да содержит тре- тий 8 и четверты 9 элементы И-НЕ, первые входы которых соединены с выходами соответственно четвертого 9 и третьего 8 элементов И-НЕ, остальные входы которых соединены соответт ственно с единичными и нулевыми входами второго RS-триггёра 3, третьи RS-триггеры 4 каждого разр да содержат п тый,10 и шестой 11 элементы И-НЕ, первые входы которых соединены соответственно с выходами шестого 11 и п того 10 элементов И-НЕ, остальные входы которых соединены соответственно с нулевыми и единичными входами третьего RS-триггера 4, первый RS-триггер 2 каждого разр да, кроме первого, содержит первый 6 и второй 7 элементы Н-НЕ и первый вспомогательный элемент И-НЕ 12, первые входа первого 6 и второго 7 и первого вспомогательного 12 элементов И-НЕ соединень с выходами соответственно второго 7, первого 6 и первого 12 вспомогательного элементов И-НЕ, второй вход первого элемента И-НЕ б соедашен с выходом первого вспомогательного элемента И-НЕ 12, остальные входы которого соединены с первой грзгапой нулевых входов первого RS-триггера 2 втора группа нулевых входов первого RS-триггера 2 соединена с остальными входами второго элемента И-НЕ 7, а единичные входы первого RS-триггера 2соединены с остальными входами первого элемента И-НЕ 6, второй RS-триггер 3 каждого разр да, кроме первого, содержит третий 8 и четвертый 9 элементы И-НЕ и второй вспомогательный элемент И-НЕ 1.3, певрые входы которых соединены с выходами соответственно четвертого 9 и третьего 8 элементов Й-НЕ, второй вход третьего элемента И-НЕ. 8 соединен с выходом второго вспомогательного элемента И-НЕ 13, остальные входы которо го соединены с первой группой нулевых входов второго RS-триггера 3, втора группа нулевых входов которого соединена с остальными входами четвертого элемента И-НЕ 9, а едщничные входаа второго RS-триггера 3 соединены с остальными входами третьего 8 элемеита И-НЕ, выход п того элемента И-НЕ 10. каждого разр да соединен с единичным входом первого RS-триггера 2 того же разр да, и входами первых групп нулевых входов первого .2 и второго 3RS-триггеров следующего разр да, вторые группы нулевых входов которых соединены с выходом шестого элемента И-НЕ 11 предьщушего разр да, .счетный вход 14 реверсивного счетчика соединен с нулевыми входами первого 2 и второго 3 RS-трйггеров первого разр да, выход первого элемента И-НЕ 6 каждого разр да соединен с единичным входом второго RS-триггера 3 того 98 Же разр да, выход четвертого элемента И-НЕ 9 каждого разр да соединен с нулевым входом третьего RS-триггера 4 того же разр да, и, в первом разр де, с нулевым входом первого RS-триггера 2, а в каждом из остальных разр дов с входом второй группы нулевых входов первого RS-тpиrгepla 2 того же разр да, выход второго элемента И-НЕ 7 казщого разр да соединен с единичным входом . третьего RS-триггера 4 того же разр да , выход первого вспомогатель.чого элемента И-НЕ 12 каждого из разр дов соединен с единичным входом третьего RS-триггера 4,того же разр да, нулевой вход которого соединен с входом первой группы нулевых входов первого RS-трчггера 2 того же разр да и выходом второго вспомогательного элемента И-НЕ 13 того же разр да, выход дополнительного элемента И-НЕ 5 каждого разр да соединен с единичным входом второго RS-триггера 3, того же разр да и входами первой и второй групп нулевых входов первого RS-триггера 2, выход элемента И-НЕ 6 каждого разр да , кроме первого, соединен с первым входомдополнительного элемента И-НЕ 5. того же разр да, второй вход которого соединен с шиной Реверс 15, шина Сложение 16 соединена с входом .вторых групп нулевых входов первого 2 и второго 3 RS-триггеров каждого из разр дов , шина Вычитание 17 соединена с входами первых групп нулевых входов первого 2 и второго 3 KS-триггеров всех разр дов, первый и второй дополнительные , рходы дополнит ел bHbix элементов И-НЕ 5 каждого из разр дов соединены с выходами второго элемента И-НЕ 7 и первого вспомога:тельного элемента И-НЕ 12 того же разр да, а единичные входы первых RS-триггеров 2 ка Дого из разр дов, кроме первого, сое . диисШ) с инверсной шиной 18 реверсировани . .Реверсивный счетчик работает следующим образом. Во врем счета в одном из режимов (сложение или вычитание) элементы 5 закрыты сигналом логического нул по шине 15 Реверс. Перед сменой режима счёта поступающий по шине 15 Реверс сигнал логической единицы в зависимости от состо ни разр да открывает элемент 5. Сигнал с выхода открытого элемента 5 при смене режима работы и опасном состо нии преды ymero разр да обеспечивает такую ус тановку RS-триггеров, котора соответствует подтверждению состо ни третьего RS-триггера. Таким оСразом, устран етс возможность сбо счетчик при реверсе. Рассмотрим, например, работу neips двух разр дов реверсивного счетчика. В исходном состо нии эти разр ды наход тс в состо нии 00, а на шины Сложение 16 и Вычитание 17 посту пают сигналы , соответствующие режиму суммировани . Тогда пocтyпaюг иe иа вход 14 импульсы закономерно суммируютс в первом и втором разр дах. После прихода п того счетного импуль са необходимо начать режим вычислени . В момент Ц измен ютс сигналы по шинам Реверс и инверсной шине 18 реверсировани . Поскьольку второй разр д находитс в нулевом состо нии - логическийэлемент 5 переключаетс в состо ние логического нул и вызывает изменение состо ни единичного входа второго RS-триггера 3, а также одновременно закрьшает нулевые входы первого RS-триггера 2. При изменении сигналов по шинам Сложение 16 и Вычи тание 17 в момент времени tj нулево выход второго RS-триггера 3 вырабатывает сигнал логического нул , подтверждающий нулевое состо ние третье го RS-триггера 4. Таким образом, реверс, при котором на входе второго разр да производитс коммутаци сигнала логическо го нул на сигнал логической единицы , не вызывает изменени состо ни выхода второго разр да. В момент вре мени t измен ютс сигналы по шинам 15. и 18, что обеспечивает выключение логического элемента 5 и дальнейшую обычную работу счетчика в режиме вы- читани . Рассмотрим работу счетчика при смене режима работы в том случае, когда второй разр д находитс в единичном состо нии, а входной сигнал коммутирован при смене режима с логического нул на логическую единицу . Така ситуаци .имеет место в счетчике, например, после двенадцатого счетного импульса. В момент вре мени t поступают сигналы по шинам 15 и 18. Благодар единичному состо нию второго разр да, состо ние логического элемента 5 не может изме питьс , а сигнал шины 15, непосред9 ственно поступающий на единичный вход первого RS-триггера. 2, вызывает по вление логической единицы на выходе этого триггера и, как следствие этого, переход в нулевое состо ние второго RS-триггера 3. Процессы , протекающие в момент времени Ц, обеспечивают установку первого 2 и второго 3 RS-триггеров, котора в дальнейшем обуславливает подтверждение состо ни третьего RS-.триг-. . В момент времени tg происходит смена сигналов на шинах 15 и 18. Это вызывает по вление логического нул на выходе первого RS-трнггера 2 и подтверждаетс состо ние третьего RS-триггера 4. Вторичное изменение сигналов по шинам 15 и 18 в момент вревремени tj, не вызывает никаких изменений в состо нии разр да. Таким образом, и в другом исходном состо нии второго разр да по вление на его входе логической единицы при смене режима работы счетчика не вызывает сбо . При поступлении тринадцатого и последующих счетньпс импульсов происходит работа счетчика в режиме сложени . Предлагаемый реверсивный счетчик обеспечивает относительно высокое быстродействие и надежность при сравнительно малых аппаратурных затратах и может реализоватьс на элементах ИШ-1-ИЕ путем эквивалентной замены всех элементов Й-НЕ, вход щихв реверсивный счетчик. Формула изобретени Реверсивный счетчик, содержащий разр ды, каждый из которых содержит первый, второй и третий RS-триггеры а каждый разр д, кроме первого, содержит также дополнительный элемент И-НЕ, первый RS-триггер первого разр да содержит первый и второй элементы И-НЕ, первые входы которых соединены с выходами соответственно второго и первого элементов И-НЕ этого RS-триггера, остальные входы первого и второго элементов И-НЕ соединены соответственно с единичньми и нулевыми входами первого RS-триггера, второй RS-триггер первого разр да содержит третий и четвертый-элементы И-НЕ, первые входы которых соединены с выходами соответственно четвертого 11 . и третьего элементов И-НЕ, остальные входы которых соединены соответствен но с единичными и нулевыми входами второго RS-триггера, третьи RS-триггеры каждого разр да содержат п тый и шестой элементы И-НЕ, первые входы которых соединены соответственно с выходами шестого и п того элементов И-НЕ, остальные входы которых соединены соответственно с нулевыми и еди ничными входами третьего RS-триггера первый RS-триггер каждого разр да, кроме первого, содержит первьй и вто рой элементы И-НЕ и первьй вспомогательный элемент И-НЕ, первые входы первого, второго и первого вспомогательного элементов И-НЕ соединены с выходами соответственно второго и первого элементов Й-НЕ, второй вход первого элемента И-НЕ соединен с выходом первого вспомогательного элемента И-НЕ, остальные входы которого соединены с первой группой нулевых входов первого RS-триггера, втора группа нулевых входов первого RS-триггеров соединена с остальными входами второго элемента И-НЕ, а единичные входы первого RS-триггера соединены с остальными входами первого элемента И-НЕ, второй RS-триггер казкдого разр да, первого, содерзвйт, третий и четвертый элеМенты И-НЕ и второй вспомогательный элемент И-НЕ, первые входы которых соединены с выходами соответственно четвертого и третьего элементов И-НЕ, второй вход третьего элемента И-НЕ соединен с выходом второго вспомогательного элемента И-НЕ, остальные входы которого соединены с первой группой нулевых входов второго RS-триггера, втора груп па нулевых входов которого соединена с остальными входами четвертого элемента И-НЕ, а единичные входы вто рого RS-триггера соединены с остальными входами третьего элемента И-НЕ, выход п того элемента И-НЕ каждого разр да соединен с единичным входом первого RS-триггера того же разр да и входами первых групп нулевых входо первого и второго RS-триггеров следу ющего разр да, вторые группы нулевых входов которых соединены с выходом шестого элемента И-НЕ предыдущеto разр да, счетный вход реверсивного счетчика соединен с нулевыми входами первого и второго RS-триг9 геров первого разр да, выход первого элемента И-НЕ каждого разр да соединен с единичным входом второго RS-триггера того же разр да, выход четвертого элемента И-НЕ каждого разр да соединен с нулевым входом третьего RS-триггера того же разр да и, в первом разр де с нулевым входом первого RS-триггера, а в ка здом из остальных разр дов - с входом второй группы нулевых входов первого RS-триггера того же разр да, выход второго элемента И-НЕ ка одого разр да соединен с единичным входом третьего RS-триггера того же разр да, выход первого вспомогательного элемента И-НЕ каждого из разр дов соединен с единичным входом третьего RS-триг гера Того лее разр да, нулевой вход которого соединен с входом первой группы нулевых входов первогб RS-триггера того же разр да и выходом второго вспомогательного элемента И-НЕ того же разр да, выход дополнительного элемента И-НЕ каждого разр да соединен с единичным входом второго RS-триггера того же разр да и входами первой и- второй групп нулевых входов первого RS-триггера, выход шестого элемента И-НЕ кйадого разр да , кроме первого, соединен с первым входом дополнительного эдемента И-НЕ того же разр да, второй вход .которого соединен с шиной Реверс, шина Сложение соединена с входами вторых групп нулевых входов первого и второго RS-триггеров каждого из разр дов , шина Вычитание соединена с вхо дами первой групп нулевых входов первого и второго RS-триггеров всех разр дов , отличающийс тем, что, с целью упрощени , первьй и второй дополнительные входы дополнительных элементов И-НЕ каждого .из разр дов соединеШ) с выходами второго элемента И-НЕ и первого вспомогательного элемента И-НЕ того же разр да, а единичные входы первых RS-триггеров каждого из разр дов, кроме первого, соединены с инверсной шиной реверсировани . Источники информации, прин тые во внимание при экспертизе 1.Авторское свидетельство СССР К 513511, кл. И 03 К 23/00, 1971. The invention relates to devices of pulsed technology and can be used in automation and computing. A reversible counter is known, which contains bits, each of which contains a counting trigger, and switching elements, the first inputs of which are connected to the outputs of the counting trigger, and the second inputs are connected to control buses Cl. The disadvantage of this reversible counter is a relatively low speed. Also known is a reversible counter, which contains bits, each of which contains the first, second, and third RS-flip-flops, and each bit, except the first, also contains dopol. The main element of the NAND, the first RS-TpH Gerber of the first bit contains the first and second elements of the NAND, the first inputs. which are connected to the outputs of the second and first elements of the IS-NOT of this RS-flip-flop, the remaining inputs of the first and second elements of the IS-NOT are connected respectively to the one and zero outputs of the first RS-flip-flop, the second RS-flip-flop of the first bit contains the third and third the fourth NAND elements, the first inputs of which are connected to the outputs of the fourth and third NAND elements, respectively, the remaining inputs of which are connected by co. respectively, with the single and zero inputs of the second RS flip-flop, the third RS flip-flops of each bit contain the fifth and sixth AND-NES elements, the first inputs of which are connected to the sixth and fifth elements of the IS-NOT, respectively, whose hundredth inputs are connected respectively with zero and single inputs of the third RS-flip-flop, the first RS-flip-flop of each bit, except the first, contains the first and second AND-NOT elements and the first auxiliary AND AND-NO element, the first inputs of the first, second and first AID-1 elements connected with the outputs, respectively, of the second and first auxiliary ements of the AND-NOT,. the remaining inputs of which are connected to the first group of zero inputs of the first RS flip-flop, the second group of zero inputs of the first RS flip-flop are connected with the remaining inputs of the second NAND element, and the single inputs of the first RS flip-flop are connected to the remaining inputs of the first AND-N element of the second RS- the trigger of each bit, except the first one, contains the third and fourth AND-NES elements and the second auxiliary AND NES element, the first inputs of which are connected to the outputs of the fourth and third AND-NAND elements, respectively, the second input of the third AND-NIC elements Dinen with the output of the second auxiliary element AND-NOT, the remaining inputs of which are connected to the first group of zero inputs of the second RS-trigger, the second group of zero inputs of which is connected to the remaining inputs of the fourth element AND-NOT, and the single inputs of the Second RS-trigger soy dinene with the remaining inputs of the third NAND element, the output of the N I element of each bit is connected to the single input of the first RS-flip-flop of the same bit, and the platoons of the first groups of zero YHRDs of the first and second RS-flip-flops of the next bit, second group n the hubs of the circuit are connected to the output of the sixth element I-HE of the previous discharge, the counting input of the reversible counter is connected to the zero inputs of the first and second RS triggers of the first discharge, the output of the first element AND-NOT of each discharge is connected to the single input of the second RS- the trigger of the same bit, the output of the fourth element of the IS-NOT cadcc times is connected to the zero input of the third RS flip-flop of the same bit and in the first bit to the zero input of the first RS flip-flop, and from the rest of the bits with the input of the second group of zero inputs per of the same bit, the output of the second NAND element of each bit is connected to the single input of the third RS flip-flop of the same bit, the output of the first auxiliary element of the NAND of each of the bits is connected to the single input of the third RS- the trigger of the same bit, the zero input of which is connected to the input of the first group of zero 94 inputs of the first RS flip-flop of the same bit and the output of the second auxiliary element AND-NOT of the same bit, the output of the additional element AND-NOT of each bit is connected to the unit the second RS-trigger input The first bit of the first bit of the first RS-flip-flop, the output of the sixth element of the NAND cell, besides the first one, is connected to the first input of an additional NAND element of the same bit, the second input of which is connected with pshnaya Reverse, bus Addition is connected to the inputs of the second groups of zero inputs of the first and second RS-flip-flops of each of the bits, pin Subtraction is connected to the inputs of the first groups of zero inputs of the first and second RS-flip-flops of all bits 21. The disadvantage of this reversible counter is relatively large complexity. The purpose of the invention is to simplify the reversible counter. The goal is achieved by the fact that in the reversible counter containing bits, each of which consists of the first, second and third RS-triggers, and each bit, except the first, also contains an additional element IS-NOT, the first RS-trigger of the first bit Yes, it contains the first and second elements of NAND, the first inputs of which are connected to the outputs of the second and first elements of the NAND of this RS TpHrrepa, respectively, the remaining inputs of the first and second. AND-NOT elements are respectively connected with single and zero inputs of the first RS flip-flop, the second RS-flip-flop of the first bit contains the third and fourth AND-NOT elements, the first inputs of which are connected to the outputs of the fourth and. The third NAND elements, the remaining inputs of which are connected respectively to the single and zero inputs of the second RS flip-flop, the third RS flip-flops of each bit contain the fifth and sixth NAND elements, the first inputs of which are connected respectively to the outputs of the sixth and fifth elements NAND, the remaining inputs of which are connected respectively to the zero and single inputs of the third RS flip-flop, the first RS flip-flop of each bit, except the first, contains the first and second AND-NES elements and the first auxiliary NID elements, the first ones of the first, The second and first auxiliary elements of the NAND are connected to the outputs of the second, respectively, and the first elements of the NAND, the second input of the first element of the NAND is connected to the output of the first auxiliary element of the NAND, the remaining inputs of which are connected to the first group of zero inputs the first RS flip-flop, the second group of zero inputs of the first RS-three hera is connected to the remaining inputs of the second NAND element, and the single inputs of the first RS flip-flop are connected to the remaining -1 I inputs of the first NAND element, the second RS flip-flop of each bit except first It contains the third and fourth elements of the NAND and the second auxiliary element of the NAND, the first inputs of which are connected to the outputs of the fourth and third elements of the NAND, respectively, the second input of the third element of the NAND is connected to the output of the second auxiliary element of the NAND , the remaining inputs of which are connected to the first group of zero inputs of the second RS flip-flop, the second group of zero-inputs of which is connected to the remaining inputs of the fourth NAND element, and the single inputs of the second RS flip-flop are connected to the remaining inputs of the third el NI, the output of the nth element of NI of each, the bit is connected to the single input of the first RS flip-flop of the same bit and the inputs of the first groups of zero inputs of the first and second RS-flip-flops of the next bit, the second groups of zero inputs of which are connected With the output of the sixth element IS-NOT of the previous bit, the counting input of the reversible counter is connected to the zero inputs of the first and second RS flip-flops of the first bit, the output of the first element AND-NOT of each bit is connected to the single input of the second RS flip-flop of the same bit fourth exit The NAND element of each bit is connected to the zero input of the third RS flip-flop of the same bit and, in the first bit, to the zero input of the first RS flip-flop, and in each of the remaining bits to the input of the second zero-input group of the first RS - three geers of the same bit, the output of the second NAND element of each bit is connected to the single input of the third RS flip-flop of the same bit, the output of the first auxiliary element of the NAND of each of the bits is connected to the single input of the third RS flip-flop the same bit, the zero input of which is connected to the input of the first g The group of zero inputs in the first RS trigger of the same bit and the output of the second auxiliary element NAND of the same bit, the input of the additional NAND element of each bit is connected to the single input of the second RS trigger of the same bits as the inputs of the first and the second group of zero inputs of the first RS-flip-flop, the output of the sixth AND-NOT element to 1x bit, except the first one, is connected to the first input of an additional AND-NE element of the same bit, the second input of which is connected to the bus Reverse, Bus Addition is connected to the inputs second groups of zero The inputs of the first and second RS-flip-flops from one of the bits, the Subtraction bus are connected to the inputs of the first groups of zero inputs of the first and second RS-flip-flops of all bits, the first and second additional inputs of the additional AND-NOT elements of each of the bits are connected to the outputs of the second the NAND element and the first auxiliary NAND element of the same bit, and the single inputs of the first RS flip-flop; xdogo of the bits, except the first, are connected to the inverse reverse bus. The drawing shows a block diagram of the counter. A reversible counter contains bits 1, each of which contains the first 2, second 3 and third 4 RS-flip-flops, and each bit, except the first, also contains an additional element IS-HE 5, the first RS-flip-flop 2, the first bit contains the first 6 and second 7 IS-NOT elements, the first inputs of which are connected to the outputs of the second 7 and first 6 elements of the IS-NOT of this RS trigger, respectively, the remaining inputs of the first 6 and second 7 elements. AND-NOT are connected respectively to the single and zero inputs of the first RS flip-flop, the second Rj-flip-flop 3 of the first bit contains the third 8 and fourth 9 AND-NOT elements, the first inputs of which are connected to the outputs of the fourth 9 and third 8, respectively. - NOT, the remaining inputs of which are connected respectively to the single and zero inputs of the second RS-flip-flop 3, the third RS-flip-flops 4 of each bit contain the fifth, 10 and sixth 11 AND-NOT elements, the first inputs of which are connected respectively to the sixth-11 outputs and of that 10 elements AND NOT NOT, Their inputs are connected respectively to the zero and single inputs of the third RS flip-flop 4, the first RS flip-flop 2 of each bit, except the first, contains the first 6 and second 7 H-NOT elements and the first auxiliary element AND-HEN 12, the first inputs of the first 6 and the second 7 and the first auxiliary 12 elements AND-NOT connect to the outputs of the second 7, the first 6 and the first 12 auxiliary elements AND-NOT, respectively; the second input of the first element AND-NOT b is connected to the output of the first auxiliary element AND IS NOT 12, the rest which inputs are connected with the first group of zero inputs of the first RS-flip-flop 2, the second group of zero-inputs of the first RS-flip-flop 2 is connected to the remaining inputs of the second AND-NE 7 element, and the single inputs of the first RS-flip-flop 2 are connected to the remaining inputs of the first element-AND-6 and the second RS The trigger 3 of each bit, except the first, contains the third 8 and fourth 9 AND-NOT elements and the second auxiliary AND-NOT 1 element. 3, the singing inputs of which are connected to the outputs of the fourth 9 and third 8, respectively, of the N – N, the second input of the third NAND element. 8 is connected to the output of the second auxiliary element IS-HE 13, the remaining inputs of which are connected to the first group of zero inputs of the second RS flip-flop 3, the second group of zero inputs of which are connected to the remaining inputs of the fourth element AND-HE 9 trigger 3 is connected to the remaining inputs of the third 8 AND-NOT element, the output of the fifth element AND-NOT 10. Each bit is connected to the single input of the first RS flip-flop 2 of the same bit, and the inputs of the first groups of zero inputs of the first. 2 and the second 3RS triggers of the next bit, the second groups of zero inputs of which are connected to the output of the sixth element AND-NOT 11 of the previous bit,. the counting input 14 of the reversing counter is connected to the zero inputs of the first 2 and second 3 RS-triggers of the first bit, the output of the first element AND-HEN 6 of each bit is connected to the single input of the second RS-flip-flop 3 of that 98 Same bit, the output of the fourth element AND - NO 9 of each bit is connected to the zero input of the third RS flip-flop 4 of the same bit, and, in the first bit, to the zero input of the first RS flip-flop 2, and in each of the remaining bits to the input of the second group of zero inputs of the first RS-triprie 2 of the same bit, the output of the second element AND-NOT 7 of the third bit Yes connected to a single entrance. The third RS flip-flop 4 of the same bit, the output of the first auxiliary. Each of the bits NAND 12 of each of the bits is connected to the single input of the third RS flip-flop 4, the same bit, the zero input of which is connected to the input of the first group of zero inputs of the first RS-trichgera 2 of the same bit and the output of the second auxiliary element AND -NON 13 of the same bit, the output of the additional element AND-NOT 5 of each bit is connected to the single input of the second RS flip-flop 3, the same bit and the inputs of the first and second groups of zero inputs of the first RS flip-flop 2, the output of the AND- element NOT 6 of each bit except the first is connected to the first input. additional NAND 5. the same discharge, the second input of which is connected to the bus Reverse 15, the bus Addition 16 is connected to the entrance. the second groups of zero inputs of the first 2 and second 3 RS-flip-flops of each of the bits, bus Subtraction 17 is connected to the inputs of the first groups of zero-inputs of the first 2 and second 3 KS-flip-flops of all bits, the first and second additional, complement bHbix elements And - NO 5 of each of the bits is connected to the outputs of the second element NAND 7 and the first auxiliary: the NAND element 12 of the same bit, and the single inputs of the first RS-flip-flops 2 ka Dogo from the bits other than the first, soy. Scott) with inverse tire 18 reversal. . Reversible counter works as follows. During the counting in one of the modes (addition or subtraction), the elements 5 are closed by a logic zero signal on the bus 15 Reverse. Before changing the counting mode, the incoming signal of the bus of bus 15 Reverse, depending on the state of the discharge, opens element 5, depending on the state of the discharge. The signal from the output of the open element 5 when changing the operation mode and the dangerous condition of the pre-discharge discharge ensures that the RS-flip-flops are set to confirm the status of the third RS-flip-flop. Thus, eliminating the possibility of a counter failing when reversed. Consider, for example, the operation of the neips of two bits of a reversible counter. In the initial state, these bits are in the 00 state, and on the Addition 16 and Subtraction 17 tires, the signals are added that correspond to the summation mode. Then the shock and the input 14 pulses are naturally summed in the first and second bits. After the arrival of the fifth counting pulse, it is necessary to start the calculation mode. At the time C, the signals on the Reverse buses and the inverse reverse bus 18 are changed. Since the second bit is in the zero state — logic element 5 switches to the logical zero state and causes a change in the state of the single input of the second RS flip-flop 3, and also simultaneously terminates the zero inputs of the first RS flip-flop 2. When the signals on buses are added, Addition 16 and Subtraction 17 at time tj, the zero output of the second RS flip-flop 3 generates a logic zero signal confirming the zero state of the third RS flip-flop 4. Thus, the reverse, in which the logical zero signal is switched to the logical one signal at the input of the second bit, does not cause a change in the state of the second bit output. At time t, the signals on the buses 15 change. and 18, which ensures switching off the logic element 5 and further normal operation of the counter in the subtraction mode. Consider the counter operation when changing the operation mode in the case when the second bit is in a single state, and the input signal is switched when changing the mode from a logical zero to a logical one. This is the situation. takes place in the counter, for example, after the twelfth counting pulse. At the time t, signals are received on buses 15 and 18. Due to the single state of the second bit, the state of the logic element 5 cannot be changed, and the bus 15 signal directly arriving at the single input of the first RS flip-flop. 2, causes the appearance of a logical unit at the output of this trigger and, as a consequence, a transition to the zero state of the second RS flip-flop 3. The processes occurring at the time point C ensure the installation of the first 2 and second 3 RS-flip-flops, which further confirms the status of the third RS-. trig- . At the moment of time tg there is a change of signals on tires 15 and 18. This causes the appearance of a logical zero at the output of the first RS-trnger 2 and confirms the state of the third RS-flip-flop 4. The secondary change of signals on buses 15 and 18 at the time of time tj does not cause any changes in the state of discharge. Thus, in a different initial state of the second bit, the appearance of a logical unit at its input does not cause a failure when changing the operating mode of the meter. When the thirteenth and subsequent counts arrive, the counter operates in the addition mode. The proposed reversible counter provides relatively high speed and reliability at relatively low hardware costs and can be realized on the ICH-1-IE elements by equivalently replacing all H-NOT elements included in the reversible counter. The invention The reversible counter containing bits, each of which contains the first, second and third RS-flip-flops, and each bit, except the first, also contains an additional AND-NOT element, the first RS-flip-flop of the first bit contains the first and second And elements - NOT, the first inputs of which are connected to the outputs of the second and first elements of the IS-NO of this RS-flip-flop, the remaining inputs of the first and second elements of the IS-NOT are connected respectively to the one and zero inputs of the first RS-flip-flop, the second RS-flip-flop of the first bitwin-third and fourth AND-NO elements, first inputs of which are connected to the outputs of the fourth 11 respectively. and the third IS-NOT elements, the remaining inputs of which are connected respectively to the single and zero inputs of the second RS-flip-flop, the third RS-flip-flops of each bit contain the fifth and sixth AND-NOT elements, the first inputs of which are connected respectively to the outputs of the sixth and n In addition, the NAND elements, the remaining inputs of which are connected respectively to the zero and single inputs of the third RS flip-flop, the first RS flip-flop of each bit, except the first, contains the first and second AND-NAND elements and the first auxiliary NAND element, the first the inputs of the first, The second and first auxiliary elements AND-NOT are connected to the outputs of the second and first elements N-NOT, respectively. The second input of the first element IS-NOT is connected to the output of the first auxiliary element NAND, the remaining inputs of which are connected to the first group of zero inputs of the first RS flip-flop. , the second group of zero inputs of the first RS flip-flops is connected to the remaining inputs of the second NAND element, and the single inputs of the first RS flip-flop are connected to the remaining inputs of the first NAND element, the second RS flip-flop of the first digit, first the third and fourth elements of the NAND and the second auxiliary element of the NAND, the first inputs of which are connected to the outputs of the fourth and third elements of the NAND, respectively, the second input of the third element of the NAND, and the rest the inputs of which are connected to the first group of zero inputs of the second RS flip-flop, the second group of zero inputs of which is connected to the remaining inputs of the fourth NAND element, and the single inputs of the second RS flip-flop are connected to the remaining inputs of the third element That I-NOT, the output of the first IS-element of each bit is connected to the single input of the first RS flip-flop of the same bit and the inputs of the first zero input groups of the first and second RS-flip-flops of the next discharge, the second groups of zero inputs of which are connected With the output of the sixth element IS-NAR of the previous bit, the counting input of the reversible counter is connected to the zero inputs of the first and second RS-flip-flops of the first bit, the output of the first element AND-NOT of each bit is connected to the single input of the second RS flip-flop of the same bit Yes, the output of the fourth e The NAND of each bit is connected to the zero input of the third RS flip-flop of the same bit and, in the first bit, to the zero input of the first RS flip-flop, and in each of the other bits to the input of the second group of zero inputs of the first RS - trigger of the same bit, the output of the second element NAND of each bit is connected to the single input of the third RS flip-flop of the same bit, the output of the first auxiliary element of the NAND of each of the bits is connected to the single input of the third RS flip-flop The same as the zero input of which is connected to the input of the first groups of zero inputs of the initial RS-flip-flop of the same bit and the output of the second auxiliary element NAND of the same bit, the output of the additional N-element of each bit is connected to the single input of the second RS flip-flop of the same bit and the inputs of the first and the second group of zero inputs of the first RS-flip-flop, the output of the sixth element AND-NOT of the quit bit, except the first one, is connected to the first input of the additional e-element N-NO of the same bit, the second input. which is connected to the bus Reverse, the bus Addition is connected to the inputs of the second groups of zero inputs of the first and second RS-flip-flops of each of the bits, the bus Subtraction is connected to the inputs of the first groups of zero inputs of the first and second RS-triggers of all bits, characterized in that For the sake of simplicity, the first and second additional inputs of additional AND-NOT elements are each. from the bits of the connector to the outputs of the second NAND element and the first auxiliary element of the NAND of the same bit, and the single inputs of the first RS flip-flops of each of the bits, except the first, are connected to the inverse reverse bus. Sources of information taken into account during the examination 1. USSR author's certificate K 513511, cl. And 03 K 23/00, 1971.
2.Авторское свидетельство СССР № 708516, кл. Н 03 К 23/24, 1980. (прототип),2. USSR author's certificate number 708516, cl. H 03 K 23/24, 1980. (prototype),