Claims (1)
Изобретение относится к автоматике и вычислительной технике и может быть использовано в системах обработки информации при реализации технических средств цифровых вычислительных машин и дискретной автоматики. Задача изобретения - увеличение разрядности устройства при подсчете количества единиц во входном коде. Для этого в преобразователь кодов, содержащий определенным образом связанные первую группу из n элементов ИСКЛЮЧАЮЩЕЕ ИЛИ, первую группу из n элементов И, группу из n элементов задержки, дополнительно введена вторая группа элементов ИСКЛЮЧАЮЩЕЕ ИЛИ и вторая группа элементов И, при этом первые входы соответствующих элементов ИСКЛЮЧАЮЩЕЕ ИЛИ второй группы и элементов И второй группы объединены и являются нечетными, а вторые входы соответствующих элементов ИСКЛЮЧАЮЩЕЕ ИЛИ второй группы и элементов И второй группы объединены и являются четными входами устройства для операции подсчета количества единиц во входном коде, выходы элементов ИСКЛЮЧАЮЩЕЕ ИЛИ второй группы подсоединены к первым входам элементов ИСКЛЮЧАЮЩЕЕ ИЛИ первой группы, а выходы элементов И второй группы подключены к входу соответствующего элемента задержки группы.The invention relates to automation and computer technology and can be used in information processing systems when implementing technical means of digital computers and discrete automation. The objective of the invention is to increase the capacity of the device when calculating the number of units in the input code. To this end, a code converter containing in a certain way connected the first group of n elements EXCLUSIVE OR, the first group of n elements AND, the group of n delay elements, additionally introduced the second group of elements EXCLUSIVE OR and the second group of elements AND, while the first inputs of the corresponding elements The EXCLUSIVE OR of the second group and the AND elements of the second group are combined and are odd, and the second inputs of the corresponding elements of the EXCLUSIVE OR of the second group and the AND elements of the second group are combined and are even the inputs of the device for the operation of counting the number of units in the input code, the outputs of the elements EXCLUSIVE OR of the second group are connected to the first inputs of the elements EXCLUSIVE OR of the first group, and the outputs of the elements AND of the second group are connected to the input of the corresponding delay element of the group.