Unit 3
Unit 3
Sum = A‘B+AB'
Carry = AB
Logic Diagram for half Adder
Half Adder is also designed by combining the 'XOR' and 'AND' gates
and provide the sum and carry.
A . 𝐴𝐵
𝐴𝐵
B. 𝐴𝐵
𝐴𝐵
Sum (S)=A+ B= A+ B+
= A+)+ B+)=A. + B. =
Carry (C)=AB=
Implementation of Half Adder using NOR gates : Total 5 NOR gates are required to
implement half adder.
Sum (S)=A+ B= A+ B+
= A+)+ B+)= +B)(+)
=
Carry (C)=AB= =
Limitation of Half Adder-
Truth Table
Block diagram
The full adder logic circuit can be constructed using the 'AND' and the ‘XOR’ gate with an OR
gate.
K-maps using for Full Adder
Sum = x' y' z+x' yz+xy' z'+xyz
Carry=X’YCin+XY’Cin+XYCin’+XYCin
The SOP form can be obtained with the help of K-map as:
Sum = x' y' z+x' yz+xy' z'+xyz
Carry = xy+xz+yz
Implementation of Full Adder using NAND gates:
A ⊕ B=
Where S= A ⊕ B ⊕=
= (A ⊕ B )+AB=
Implementation of Full Adder using NOR gates:
A ⊕ B=
Where S= A ⊕ B ⊕
=
= (A ⊕ B )+AB==
Half Subtractor
Half subtractor is a combination circuit with two inputs and two outputs that
are different and borrow. It produces the difference between the two binary bits at the
input and also produces an output (Borrow) to indicate if a 1 has been borrowed. In the
subtraction (A-B), A is called a Minuend bit and B is called a Subtrahend bit.
A full-subtractor is a combinational circuit that has three inputs A, B, bin and two
outputs d and b. Where, A is the minuend, B is subtrahend, b in is borrow produced by
the previous stage, d is the difference output and b is the borrow output.
Truth Table
Block diagram
Difference,d=A⊕B⊕bin=A′B′bin+AB′b′in+A′Bb′in+Abbin
Borrow,b=A′B′bin+A′Bb′in+A′Bbin+ABbin
Or
Borrow,b=A′B(bin+b′in)+(AB+A′B′)bin=A′B+(A⊕B)′bin
K-maps using for Full Subtractor
The full subtractor logic circuit can be constructed using the 'AND', '
XOR', and NOT gate with an OR gate.
Implementation of Full Subtractor using NAND gates: