SU1149246A1 - Device for counting number of ones - Google Patents
Device for counting number of ones Download PDFInfo
- Publication number
- SU1149246A1 SU1149246A1 SU833564157A SU3564157A SU1149246A1 SU 1149246 A1 SU1149246 A1 SU 1149246A1 SU 833564157 A SU833564157 A SU 833564157A SU 3564157 A SU3564157 A SU 3564157A SU 1149246 A1 SU1149246 A1 SU 1149246A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- inputs
- units
- groups
- outputs
- input
- Prior art date
Links
Abstract
УСТРОЙСТВО ДЛЯ ПОДСЧЕТА КОЛИЧЕСТВА ЕДИНЩ, содержащее входной и выходной регистры, преобразователи двоичного кода в код количества единиц, суммирующие узлы, каждый из которых содержит комбинационный сумматор, причем входы преобразователей двоичного кода в код количества единиц соединены с выходами соответствующих групп разр дов входного регистра, отличающеес тем, что, с целью расширени функциональных возможностей за счет организации подсчета количества единиц в различных группах заданной длины, в каждый суммирующий узел введены два коммутатора, 1фичем перва и втора группы входов комбинационного сумматора i-ro суммирующего узла первого руса соединены с выходами A device for counting the number of units that contains input and output registers, converters of binary code in the code of the number of units, summing nodes, each of which contains a combinational adder, and the inputs of the converters of binary code in the code of the number of units are connected to the outputs of the corresponding groups of bits of the input register, different by the fact that, in order to expand the functionality by organizing the counting of the number of units in different groups of a given length, each Two switches are provided, with 1 first and second input groups of the i-ro combinational adder of the first rus summing node connected to the outputs
Description
Изобретение относитс к вычисли тельной технике и предназначено дл подсчета количества единиц в даоич ных числах. Целью изобретени вл етс расширение функциональных возможностей за счет организации подсчета количества единиц в различных груп пах заданной длины. На фиг. 1 приведена структурна схема устройства дл подсчета коли чества единицу на фиг. .2 - структу на схема суммирующего узла. Устройство дл подсчета количес ва единиц содержит входной регистр 1, преобразователи 2 двоичного кода в код количества единиц, суммирующие узлы 3.t-3.L, выходной регистр 4, управл ющие входы 5.1 5 .L. Сут 1мируюищй узел включает комби национный сзтфштор 6, первый комму татор 7, второй коммутатор 8, вход 9 первого слагаемого, вход 10 втор го слагаемого, выходы 11 и 12 сумм рующего узла. Устройство работает следующим образом. На входной регистр 1 (фиг. 1) помещаетс двоичное число, в котором (или в заданных группах которо го) требуетс подсчитать количество единиц. С выходов входного регистра 1 информаци поступает на входа преобразователей 2 двоичного кода в код количества единиц, с выходов которых полученные коды количества единиц поступакэ на сум мирующие узлы 3.1 первого руса. Результат, полученньй на выходе 12 cy иpJrющeгo узла 3.1 1-го руса , вл етс одним из слагаемых дл суммирующего узла 3(+1) Кто руса, где К - 2, ..., logj m. При требойанни формировани результирующих сумм единиц в группах заданной дшшы только в младших разр дах аналогичных групп разр до выходного регистра 4 минимальна разр дность группы определ етс вьфажением п,„ ; N, где п,,н - минимальна разр дность гру пы-, N - разр дность входного регис ра 1, Группы, в которых одновремен но подсчитываетс количество единиц , должны быть равной разр дности кратной степени два. Число преобразоватрлей 2 двоичного кода в 6 код количества единиц выбираетс N равным т. Разр дность каждого суммирующего узла 3.f -го руса определ етс как + J2og2 . а их количество как N/n 2 ш/2 ,, Суммирующий узел 3. с номером j (фиг. 2) принимает по входам 9 и 10 информацию с выходов 12 суммирующих узлов 3.(1- 1) или с выходов преобразователей 2 двоичного кода в код количества единиц дл 1 с номерами (2j - 1) и 2j соответственно . Информаци с входа 9 поступает на первую группу информационных входов первого коммутатора 7, имеющего разр дность, равную разр дности суммирующего узла 3. , и первую группу входов комбинационного сумматора 6. Информаци с входа 10 поступает на первую группу информационных входов второго коммутатора 8 и на вторую группу входов комбинационного сумматора 6. Сумма, сформированна на выходах комбинационного сумматора 6, поступает на вторую группу информационных входов второго коммутатора 8. Таким образом, при разрешающем потенциале 1 на управл ющем входе 5.С к выходам 11 и 12 суммирующего узла подключаютс соответственно вторые входы первого и второго коммутаторов 7 и 8. Дл получени на выходе 11, соединенного с соответствующими разр дами выходного регистра 4, нулевой информации при разре1оа1Ш(вм потенциале на управл ющем входе 5.Р. втора группа информационных входов соединена с шиной значени О устройства. Прк отсутствии разрешающего потенциала на управл ющем входе 5.Р на выходы 11 и 12 суммирукедего узла поступает информаци с входов первого и второго слагаемых соответственно . Дп формировани в выходном регистре 4 суммы единиц в группах по 2 разр дов (а О, 1 ,... log 2 и) необходимо на все русы , дл которых fi а, подать разрешающий потенциал на их управл ющие входы 5. .The invention relates to a computational technique and is intended to count the number of units in daoic numbers. The aim of the invention is to expand the functionality by organizing the counting of the number of units in different groups of a given length. FIG. 1 shows a block diagram of a device for counting the number of units in FIG. .2 - structure on the summing node scheme. The device for counting the number of units contains an input register 1, converters 2 binary code into the code of the number of units, summing nodes 3.t-3.L, output register 4, control inputs 5.1 5 .L. The day of the 1st node includes the combination switchboard 6, the first switch 7, the second switch 8, the input 9 of the first term, the input 10 of the second term, and the outputs 11 and 12 of the summing node. The device works as follows. A binary number is placed on the input register 1 (Fig. 1), in which (or in the given groups of which) the number of units is required to be counted. From the outputs of input register 1, information is fed to the inputs of converters 2 of binary code to the code of the number of units, from the outputs of which the received codes of the number of units of input to the summing nodes 3.1 of the first rus. The result obtained at the output of 12 cy and the junction node 3.1 of the 1st Russ is one of the summands for the summing node 3 (+1) Who is the Russ, where K is 2, ..., logj m. When requiring the formation of the resulting sums of units in groups of a given size only in the lower bits of similar groups of bits to the output register 4, the minimum size of the group is determined by the extrusion n, „; N, where n ,, n is the minimum size of the group, and N is the size of the input register 1, the groups in which the number of units is simultaneously calculated must be equal to the magnitude of a multiple of two. The number of converters of 2 binary code to 6 code of the number of units is chosen N equal to m. The width of each summing node of the 3.fth rus is determined as + J2og2. and their number as N / n 2 W / 2 ,, Summing node 3. With number j (Fig. 2), on inputs 9 and 10, information from outputs 12 of summing nodes 3 (1-1) or from outputs of converters 2 is binary code in the code of the number of units for 1 with numbers (2j - 1) and 2j, respectively. Information from input 9 is fed to the first group of information inputs of the first switch 7, having a width equal to the width of summing node 3., and the first group of inputs of the combinational adder 6. Information from input 10 is fed to the first group of information inputs of the second switch 8 and to the second a group of inputs of the combinational adder 6. The sum, formed at the outputs of the combinational adder 6, goes to the second group of information inputs of the second switch 8. Thus, at a resolving potential of 1 for control The input terminal 5.C connects to the outputs 11 and 12 of the summing node, respectively, the second inputs of the first and second switches 7 and 8. To obtain at output 11, which is connected to the corresponding bits of the output register 4, zero information is given at 1R1 (potential on the control An input 5.P. The second group of information inputs is connected to the bus value O of the device. If there is no resolving potential at the control input 5.P, the outputs from the node 11 and 12 receive information from the inputs of the first and second components but. Dp formation in the output register 4 sums of units in groups of 2 bits (a O, 1, ... log 2 and) is necessary for all Russ for which fi a, apply the resolving potential to their control inputs 5..
в предлагаемом устройстве дл подсчета единиц обеспечиваетс динамическа перестройка дл одновременной обработки групп разр дов различные реконфигурируемые счетные устройства. Высока степеньIn the proposed unit counting device, dynamic reorganization is provided for simultaneous processing of groups of bits of various reconfigurable counting devices. High degree
S.1S.1
1149246411492464
; регул рности суммирующих узлов 3.1-3.2 позвол ет использовать дл реализации подобных устройств микроэлектронные схемы большой интеграции, что обеспечивает малый объем устройства.; The regularity of summing nodes 3.1-3.2 allows the use of large-scale microelectronic circuits for the implementation of such devices, which ensures a small amount of the device.
5.L5.L
Фиъ,1Fi, 1
1212
i(i-ni (i-n
////
rr
1212
dridri
7272
вat
Фиг. 2FIG. 2
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU833564157A SU1149246A1 (en) | 1983-03-16 | 1983-03-16 | Device for counting number of ones |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU833564157A SU1149246A1 (en) | 1983-03-16 | 1983-03-16 | Device for counting number of ones |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1149246A1 true SU1149246A1 (en) | 1985-04-07 |
Family
ID=21053688
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU833564157A SU1149246A1 (en) | 1983-03-16 | 1983-03-16 | Device for counting number of ones |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1149246A1 (en) |
-
1983
- 1983-03-16 SU SU833564157A patent/SU1149246A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 450160, кл. G 06 F 5/02, 1972. За вка FR № 2454136, кл. G 06 F 7/50, опублик. 1980. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0081632A2 (en) | Adder circuit | |
KR840005228A (en) | Galois element removal equipment | |
KR910003486A (en) | Bit order switch | |
SU1149246A1 (en) | Device for counting number of ones | |
US4996527A (en) | Pipelined residue to mixed base converter and base extension processor | |
SU1193665A1 (en) | Device for summing binary numbers | |
RU2093888C1 (en) | Process for address-rank identification and selection of analog signals | |
SU1141422A2 (en) | Device for determining phase of spectrum components of analyzed signal | |
SU964626A1 (en) | Device for checking reception fidality of information in berger codes | |
SU763896A1 (en) | Device for adding n numbers in redundant system | |
RU2099776C1 (en) | Digital adder | |
SU1072260A1 (en) | Voltage-to-decimal-code converter | |
KR970005175A (en) | Multiplication / Division Sharing Handler Structure Based on Pipeline Structure | |
SU1401448A1 (en) | Apparatus for implementing boolean symmetrical functions | |
SU758145A1 (en) | Square rooting device | |
US4141077A (en) | Method for dividing two numbers and device for effecting same | |
SU907542A2 (en) | Device for binary number comparison | |
SU1030800A1 (en) | Logarithmic device | |
SU1018115A1 (en) | Multiplication device | |
SU588543A1 (en) | Device for adding binary numbers | |
SU1282135A1 (en) | Device for shifting information with checking | |
SU920706A2 (en) | Counter-type adder | |
Weisstein | Ternary | |
SU1376081A1 (en) | Adding device | |
SU763897A1 (en) | Multiplier |