Friday, March 16, 2018

Adder

An adder is a digital logic circuit in electronics that implements addition of numbers. In many computers and other types of processors, adders are used to calculate addresses, similar operations and table indices in the ALU and also in other parts of the processors. These can be built for many numerical representations like excess-3 or binary coded decimal. The adders are classified into two types -
1. Half adder
2. Full adder


Half adder

The half adder adds two binary digits called as augend and addend and produces two outputs as sum and carry. XOR is applied to both inputs to produce sum and AND gate is applied to both inputs to produce carry.

0+0 = 0
0+1 = 1
1+0 = 1
1+1 = 10

These are the least possible single-bit combinations. But the result for 1+1 is 10, the sum result must be re-written as a 2-bit output. Thus, the equations can be written as
0+0 = 00
0+1 = 01
1+0 = 01
1+1 = 10

The output ‘1’of ‘10’ is carry-out. ‘SUM’ is the normal output and ‘CARRY’ is the carry-out.
From above table it is cleared that  1-bit adder can be easily implemented with the help of the XOR Gate for the output ‘SUM’ and an AND Gate for the ‘Carry’. When we need to add, two 8-bit bytes together, we can be done with the help of a full-adder logic. The half-adder is useful when you want to  add one binary digit quantities. A way to develop a two-binary digit adders would be to make a truth table and reduce it.  When you want to make a three binary digit adder, do it again. When you decide to make a four digit adder, do it again. The circuits would be fast, but development time is slow.
The simplest expression uses the exclusive OR function as Sum=AÅB. An equivalent expression in terms of the basic AND, OR, and NOT is: SUM=A|.B+A.B’




Full adder

This adder is difficult to implement than a half-adder. The difference between a half-adder and a full-adder is that the full-adder has three inputs and two outputs, whereas half adder has only two inputs and two outputs. The first two inputs are A and B and the third input is an input carry as C-IN. When a full-adder logic is designed, you string eight of them together to create a byte-wide adder and cascade the carry bit from one adder to the next.








The output carry is designated as C-OUT and the normal output is designated as S.

With the truth-table, the full adder logic can be implemented. You can see that the output S is an XOR between the input A and the half-adder, SUM output with B and C-IN inputs. We take C-OUT will only be true if any of the two inputs out of the three are HIGH.
So, we can implement a full adder circuit with the help of two half adder circuits. At first, half adder will be used to add A and B to produce a partial Sum and a second half adder logic can be used to add C-IN to the Sum produced by the first half adder to get the final S output.
Thanks for spending your valuable time with this article, and we hope that you might have received a good content about Adder Please share your views on this topic by commenting below and you can see my video on this topic.



2 comments:

  1. babyliss nano titanium flat iron - Titanium Lines - Titsanium Art
    Titsanium titanium uses Art · Titsanium 스피드 바카라 Art · Titsanium Art titanium damascus knives · Titsanium Art · Titsanium Art · snow peak titanium Titsanium Art · Titsanium Art · Titsanium Art · titanium frames Titsanium Art · Titsanium Art · Titsanium Art · Titsanium Art

    ReplyDelete