Clever Geek Handbook
📜 ⬆️ ⬇️

Semi-adder

The generalized image of the half adder.

Half -accumulator - combinational logic circuit having two inputs and two outputs (two-digit adder, binary adder). The half-adder allows you to calculate the sum of A + B , where A and B are bits (usually) of a binary number, with the result being two bits S and C , where S is the sum bit modulo 2, and C is the carry bit.

There are adders and half adders operating not in binary logic.

It differs from the full adder in that it does not have a carry input from the previous digit. To build a full adder, you must have an additional transfer input from the previous digit, so the full adder has 3 inputs.

The binary full adder is built from two half adders and a logical element 2IL, that is why the considered circuit is called a half adder.

Half- adders are used to build full adders .

History

  • 1939 - George Stibits of Bell Laboratories created the first binary Model K Adder binary on two electromechanical relays [1] .
  • 1958 - N. P. Brusentsov built the first electronic ternary computer Setun with the first electronic ternary half-adder at Moscow State University (mekhmat) [2] .

Binary half-adder

Standard image of binary half adder to DIN 40900 .
Half-adder, implemented on the elements EXCLUSIVE OR and AND .
 
A semi-adder implemented on OR elements with inverse inputs and AND .

Binary half-adder can be defined in three ways:

  1. tabular, in the form of truth tables ,
  2. analytical, in the form of formulas ( SDNF ),
  3. graphic, in the form of logic circuits.

Since formulas and schemes can be transformed in accordance with the algebra of logic, then many different formulas and schemes can correspond to one truth table of a binary half-adder. Therefore, the tabular method of determining the binary half adder is the main one.

The binary half-adder generates two binary (two-operand) binary logical functions: this is modulo two , otherwise this function is called EXCLUSIVE OR ( XOR ) - forms the sum S bit and the AND function ( AND ) - forms the carry bit C.

S
oneone0
00one
0one
C
one0one
000
0one

or in another form:

x 0 = Aone0one0
x 1 = Boneone00The name of the action (function)Function number
S0oneone0Modulo 2 amount bitF2,6
Cone000Carry bitF2,8
Non-zero transfer is formed in the 1st case out of 4.

SDNF modulo 2 amounts:

S=f(xone,x0)=(xone¯⋅x0)∨(xone⋅x0¯){\ displaystyle S = \ mathbf {f} (x_ {1}, x_ {0}) = ({\ overline {x_ {1}}} \ cdot {x_ {0}}) \ vee ({x_ {1} } \ cdot {\ overline {x_ {0}}}}}  

SDNF bit carry:

C=f(xone,x0)=xone⋅x0{\ displaystyle C = \ mathbf {f} (x_ {1}, x_ {0}) = {x_ {1}} \ cdot {x_ {0}}}  

Heelometer Stibitsa "Model K Adder"

The Stibitsa demonstration semi-adder “Model K Adder” is used for training purposes and consists of two series-connected galvanic cells, 1.5 Volts each, with a total voltage of 3 Volts, two buttons for entering two bits of arguments A and B , two electromagnetic relays, performing binary binary logic addition function modulo 2 and binary binary logic function of the transfer bit in binary addition, and two incandescent bulbs with a voltage of 3 volts to indicate the amount sum bit modulo 2 ( S ) and the transfer bit ( C ) [1]

Threefold half-adder

Since there are two ternary number systems - asymmetric, in which there is no value greater than 1 in the transfer discharge, and symmetric (Fibonacci), in which all three states of trita are possible in the transfer discharge, and at least three physical implementations of ternary systems three-level single-wire, two-level two-wire (BCT) and two-level three-bit single-unit, then there may be a large number of ternary half-adders.

The ternary half-adder in an asymmetric ternary number system is the union of two binary ternary logic functions - “addition modulo 3” and “transfer discharge with ternary addition”.

S
220one
oneone20
00one2
0one2
C
20oneone
one00one
0000
0one2

or in another form:

x 1 = x222oneoneone000
x 0 = y2one02one02one0The name of the action (function)Function number
Sone0202one2one0Three times modulo 3
Coneone0one00000Trit Carry

The ternary half-adder in the symmetric ternary number system is also a half-reader and is a combination of two binary ternary logical functions - the “low order (trit) of the difference-sum” and symmetric number system) ".

 
Threefold half-adder.
S
+10+1-one
0-one0+1
-one+1-one0
-one0+1
C
+100+1
0000
-one-one00
-one0+1

or in another form:

x 1 = xoneoneone000777
x 0 = yone07one07one07The name of the action (function)Function number
S7one0one0707oneJunior trit sumsF710107071 = F-4160
Cone00000007Senior trit sums (transfer trit)F100000007 = F6560

The number "7" here means "-1"

Non-zero transfer is formed in 2 cases out of 9.

A ternary three-level half adder is described in [3] .

A three-way two-bit two-wire binary (two-operand) single-bit (BCT) semi-adder operating in an asymmetric ternary number system is given in [4] , in the BCT Addition section, in subsection (f) Circuit diagram and, with the erroneous name “two-digit BCT adder,” in [ 5] in the figure.

The figure on the right shows the scheme of the ternary asymmetric half-adder in a three-bit single-unit system of ternary logic elements described in [6] .

The ternary mirror-symmetric single-bit half-adder is described in [7] .

Decimal semi-adder

Consists of two tables of size 10x10. The first table is the sums modulo 10, the second table is the units of transfer in binary (two-operand) decimal addition [8] .

S
990one23fourfive67eight
eighteight90one23fourfive67
77eight90one23fourfive6
667eight90one23fourfive
fivefive67eight90one23four
fourfourfive67eight90one23
33fourfive67eight90one2
223fourfive67eight90one
oneone23fourfive67eight90
00one23fourfive67eight9
0one23fourfive67eight9
C
90oneoneoneoneoneoneoneoneone
eight00oneoneoneoneoneoneoneone
7000oneoneoneoneoneoneone
60000oneoneoneoneoneone
five00000oneoneoneoneone
four000000oneoneoneone
30000000oneoneone
200000000oneone
one000000000one
00000000000
0one23fourfive67eight9

Hexadecimal

It consists of two tables measuring 16x16. The first table is the sums modulo 16, the second table is the units of transfer with binary (two-operand) hexadecimal addition.

S
FF0one23fourfive67eight9ABCDE
EEF0one23fourfive67eight9ABCD
DDEF0one23fourfive67eight9ABC
CCDEF0one23fourfive67eight9AB
BBCDEF0one23fourfive67eight9A
AABCDEF0one23fourfive67eight9
99ABCDEF0one23fourfive67eight
eighteight9ABCDEF0one23fourfive67
77eight9ABCDEF0one23fourfive6
667eight9ABCDEF0one23fourfive
fivefive67eight9ABCDEF0one23four
fourfourfive67eight9ABCDEF0one23
33fourfive67eight9ABCDEF0one2
223fourfive67eight9ABCDEF0one
oneone23fourfive67eight9ABCDEF0
00one23fourfive67eight9ABCDEF
0one23fourfive67eight9ABCDEF
C
F0oneoneoneoneoneoneoneoneoneoneoneoneoneoneone
E00oneoneoneoneoneoneoneoneoneoneoneoneoneone
D000oneoneoneoneoneoneoneoneoneoneoneoneone
C0000oneoneoneoneoneoneoneoneoneoneoneone
B00000oneoneoneoneoneoneoneoneoneoneone
A000000oneoneoneoneoneoneoneoneoneone
90000000oneoneoneoneoneoneoneoneone
eight00000000oneoneoneoneoneoneoneone
7000000000oneoneoneoneoneoneone
60000000000oneoneoneoneoneone
five00000000000oneoneoneoneone
four000000000000oneoneoneone
30000000000000oneoneone
200000000000000oneone
one000000000000000one
00000000000000000
0one23fourfive67eight9ABCDEF

See also

  • Adder

Notes

  1. 2 1 2 http://www.computerhistory.org/collections/accession/XD127.80 Computer History Museum
  2. ↑ http://www.computer-museum.ru/histussr/setun2.htm Small automatic digital machine "Setun". N. P. Brusentsov, E. A. Zhogolev, V. V. Verigin, S. P. Maslov, A. M. Tishulina
  3. ↑ http://spanderashvili.narod.ru/PA.pdf Astrakhan State Technical University, Department of Automated Information Processing Systems and Management, Coursework on the discipline Object-Oriented Programming in the specialty 220200 of Automated Information Processing Systems and Management , Fulfilled Morozov A.V., Spanderashvili D.V., Altufev M.Yu., Checked c.t. n., Assoc. Laptev V.V., Ch. XXIV Threefold adder. Astrakhan-2001
  4. ↑ http://www.dcs.gla.ac.uk/~simon/teaching/CS1Q-students/systems/tutorials/tut3sol.pdf CS1Q Computer Systems
  5. ↑ http://314159.ru/kushnerov/kushnerov1.pdf Ternary digital technology. Retrospective and Modernity
  6. ↑ Threefold ternary (3B BCT) semi-adder in ternary asymmetric number system
  7. ↑ Fibonacci computers. Trinity mirror-symmetrical addition and subtraction
  8. ↑ M. A. Kartsev. Arithmetic of digital machines. The main editors of the physical and mathematical literature of the publishing house "Nauka", 1969, 576 p. 2. Adders and other schemes for performing elementary operations. 2.3. Single-bit combinational adders for decimal and other number systems. P.71
Source - https://ru.wikipedia.org/w/index.php?title=Poluusummator&oldid=90441902


More articles:

  • Know
  • Klymene (maid)
  • Tyalfi
  • Trubetskoy, Vladimir Sergeevich
  • Hainan Biota
  • Theophania, painting death
  • Varnavino
  • Smidovich, Inna Germogenovna
  • Matsushima, Minori
  • Wiedemann-Franz Law

All articles

Clever Geek | 2019