SU966700A1 - Device for counting binary unity number - Google Patents
Device for counting binary unity number Download PDFInfo
- Publication number
- SU966700A1 SU966700A1 SU802985060A SU2985060A SU966700A1 SU 966700 A1 SU966700 A1 SU 966700A1 SU 802985060 A SU802985060 A SU 802985060A SU 2985060 A SU2985060 A SU 2985060A SU 966700 A1 SU966700 A1 SU 966700A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- adders
- inputs
- outputs
- bit
- group
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Description
(5) УСТРОЙСТВО дл ПОДСЧЕТА ЧИСЛА ДВОИЧНЫХ ЕДИНИЦ(5) DEVICE FOR COUNTING NUMBER OF BINARY
Устройство относитс к автоматике и вычислительной технике и может быть использовано дл контрол двоич ных чисел по модулю 3 С-) Известны устройства дл определени количества единиц в двоичном чис ле, содержащие счетчики, триггеры, логические элементы lj. Недостатком их вл етс низкое быстродействие и невозможность подсч та числа единиц по модулю 3. Наиболее близким к предлагаемому изобретению вл етс устройство параллельного счета числа единиц в двоичном числе, содержащее регистр полусумматоры, логические элементы. Выходы разр дов исходного числа подключены на входы полусумматоров 1 каскада, выходы полусумматоров 1 кас када подключены на входы полусумматоров второго и т.д. f 2. Недостатком их вл етс невозмож- ность подсчета единиц двоичного числа по модулю 3 или 2. Цель изобретени - расширение функциональных возможностей устройства за. счет обеспечени возможности подсчета по модулю три или два. Поставленна цель достигаетс тем, что в устройство дл подсчета числа двоичных единиц, содержащее группы одноразр дных сумматоров, причем каждые {l+3k), (2+3k),(3+3k) разр ды двоичного числа соединены соответственно с входом переноса, первого и второго операндов k-ro сумматора первой группы, где k мен етс от нул до Vi-l|3 , п - количество двоичных разр дов двоичного -числа введены группы двухразр дных сумматоров, количество групп которых равно количеству групп одноразр дных сумматоров , а ихколичество в каждой группе равно количеству одноразр дных сум3 9 маторов предыдущей группы сумматоров и группы элементов И, количество которых и количество элеме1 гов Ивгруппе совпадает с количеством одноразр дных сумматоров соответствующей группы, причем управл ющий вход устройства соединен с первыми входами элементов И всех групп, выход суммы и переноса каждого одноразр дного сумматора всех |Групп соединен соответственно с входом первого разр да первого операнда и входом первого разр да второго операнда соответствующего двухразр дного сумматора соответствующей группы, выход переноса каждого одноразр дного сумма- . тора всех групп соединен с входом второго разр да первого операнда соответствующего двухразр дного сумматора соответствующей группы и с вторым входом .соответствующего элемента И соответствующей группы, выход каждого элемента М вбех груфп со динен с входом переноса соответствую щего двухразр дного сумматора соответствующей группы, выходы сумм первого и второго разр дов каждого нечетного двухразр дного сумматора i-й группы соединены соответственно с входами переноса и первого операнда соответствующего одноразр дного сумматора ((+Т)-ой группы, выходы сумм первого и второго разр дов каждого четного двухразр дного сумматора i-й группы соединены сбответствен но с входом второго операнда соответ ствующих одноразр дных сумматоров (|Н-1}-й и (1+2)-и групп, выход суммы и переноса одноразр дного сумматора последней группы вл ютс выходами устройства. На чертеже изображена функциональ на схема устройства. , Устройство содержит одноразр дные сумматоры 1 первой группы, двухразр Hbie сумматоры 2 первой группы двухразр дных сумматоров, одноразр дные сумматоры /3 второй группы, двухразСумматор 1The device relates to automation and computing and can be used to control binary numbers modulo 3 C-) Devices for determining the number of units in binary numbers are known, containing counters, triggers, logic elements lj. Their disadvantage is the low speed and the impossibility of calculating the number of units modulo 3. The closest to the present invention is a parallel counting device of the number of units in the binary number, containing a register of half summators, logic elements. The outputs of the bits of the original number are connected to the inputs of the half adders of the 1st cascade, the outputs of the half adders of 1 cascade are connected to the inputs of the half adders of the second, etc. 2. They have the disadvantage of not being able to count the units of a binary number modulo 3 or 2. The purpose of the invention is to expand the functionality of the device with. account allowing for modulo-three or two counting. The goal is achieved by the fact that a device for counting the number of binary units containing groups of single-digit adders, each (l + 3k), (2 + 3k), (3 + 3k) bits of the binary number are connected respectively to the transfer input, the first and the second operands of the k-ro adder of the first group, where k varies from zero to Vi-l | 3, n is the number of binary bits of the binary number, groups of two-digit adders are entered, the number of groups of which is equal to the number of groups of single-digit adders, and their number in each group is equal to the number of odds 9 mators of the previous group of adders and a group of elements I, the number of which and the number of elements of the Ivgroup coincide with the number of one-digit adders of the corresponding group, the control input of the device connected to the first inputs of the elements AND of all groups, the output of the sum and the transfer of each one-digit adder all | Groups connected respectively to the input of the first bit of the first operand and the input of the first bit of the second operand of the corresponding two-bit adder of the corresponding group, the output of the wasp each odnorazr summa--stand. The torus of all groups is connected to the input of the second bit of the first operand of the corresponding two-bit adder of the corresponding group and with the second input of the corresponding element AND of the corresponding group, the output of each element M in the whole group is connected to the transfer input of the corresponding two-bit adder of the corresponding group, the outputs of the first and the second bits of each odd two-bit adder of the i-th group are connected respectively to the carry inputs and the first operand of the corresponding single-bit adder a ((+ T) group, the outputs of the sums of the first and second bits of each even two-bit adder of the ith group are connected, respectively, to the input of the second operand of the corresponding one-bit adders (| H-1) -th and (1+ 2) -and groups, the output of the sum and transfer of the one-digit adder of the last group are the outputs of the device. The drawing shows the functionality of the device circuit., The device contains one-digit adders 1 of the first group, two-bit Hbie adders 2 of the first group of two-digit adders, single-bit adders / 3 second group ppa, dvuhrazmatmator 1
Входы Inputs
Выходы А1 В1 S1 Р О ОOutputs A1 B1 S1 P O O
.0 О.0 o
1one
1 О1 o
О 1About 1
Сумматор 2 Adder 2
ВходыВыходыInputs
Р А1 В1 А2 В2 S1 5,2P A1 B1 A2 B2 S1 5.2
000000О000000О
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU802985060A SU966700A1 (en) | 1980-09-12 | 1980-09-12 | Device for counting binary unity number |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU802985060A SU966700A1 (en) | 1980-09-12 | 1980-09-12 | Device for counting binary unity number |
Publications (1)
Publication Number | Publication Date |
---|---|
SU966700A1 true SU966700A1 (en) | 1982-10-15 |
Family
ID=20918885
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU802985060A SU966700A1 (en) | 1980-09-12 | 1980-09-12 | Device for counting binary unity number |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU966700A1 (en) |
-
1980
- 1980-09-12 SU SU802985060A patent/SU966700A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU966700A1 (en) | Device for counting binary unity number | |
SU840891A1 (en) | Parallel fibonacci code adder | |
SU726527A1 (en) | Number comparing arrangement | |
SU1564733A1 (en) | Device for revealing errors in parallel code | |
SU752332A1 (en) | Device for computing the function: squared x plus squared y | |
SU732861A1 (en) | Device for computing inverse value | |
SU807276A1 (en) | Adding device | |
SU1137460A1 (en) | Conveyer adder | |
SU798800A1 (en) | Binary-decimal- to-binary code converter | |
SU896616A1 (en) | Device for mutual normalizing of binary numbers | |
SU593211A1 (en) | Digital computer | |
SU696450A1 (en) | Device for adding in redundancy notation | |
SU1411742A1 (en) | Floating-point device for adding and subtracting numbers | |
SU1300495A1 (en) | Device for solving differential equations | |
SU1030816A1 (en) | Device for geometrical transformations of object images | |
SU598072A1 (en) | Number adding/subtracting arrangement | |
SU1488789A1 (en) | Sequence adder | |
SU881757A1 (en) | Processor element | |
SU962916A1 (en) | Arithmetic logic moduls | |
SU1262477A1 (en) | Device for calculating inverse value | |
SU1273918A1 (en) | Adding-subtracting device | |
SU1748146A2 (en) | Generator of systems of basal functions | |
SU652592A1 (en) | Displacement- to-code converter | |
SU911521A1 (en) | Digital function generator | |
SU1252773A1 (en) | Device for multiplying in redundant number system with carry storage |