EXP 1,2
EXP 1,2
Aim
Apparatus Required:
Theory
Adder circuit is a combina onal digital circuit that is used for adding two numbers. A typical
adder circuit produces a sum bit (denoted by S) and a carry bit (denoted by C) as the output.
Adder circuits can be used for a lot of other applica ons in digital electronics like address
decoding, table index calcula on etc. Adder circuits are of two types: Half adder ad Full adder
Half adder
A half adder is a combina onal circuit that performs the sum of two binary digits (A, B) to give
a maximum of two binary outputs namely the sum(S) and the carry(C). Carry is the higher
order bit and the sum is the lower order bit of the output. Func onal Table of the Half-Adder
is given below
A B Sum Carry
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1
The Boolean expression for the sum (S) and carry(C) of half adder is,
Carry= A.B
Full adder
A full adder is a combina onal circuit that performs the sum of three binary digits (A, B, Cin)
to give a maximum of two binary outputs namely the sum(S) and the carry- out (Cout).The full
adder becomes necessary when a carry input must be added to the two binary digits to obtain
the correct sum. A half adder has no input for carries from previous circuits
A B C Sum Carry
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
1 1 0 0 1
1 1 1 1 1
The Boolean expression for the sum (S) and carry-out (Cout) of full adder is,
= A’(B’C+BC’) + A(B’C’+BC)
=A⊕B⊕C
= AB(C+C’) + C(A’B+AB’)
=AB + C(A⊕B)
The full adder drawn above can be visualized as a combina on of two half adders. It uses two
XOR gates, the output of 1st XOR gate (i.e. Sum A+B) is taken as input to 2nd XOR gate and the
other is the third input( usually the Cin), the outputs of the AND gates which are nothing but
the carry of HA are ORed together. The FA drawn as a combina on of two HA is shown below.
Procedure:-
3. Connect the wire to the main voltage source (Vcc) whose other end is connected to
last pin of the IC (14 place from the notch).
4. Connect the ground of IC (7th place from the notch) to the ground terminal provided
on the digital lab kit.
5. Give the input at the gate of the ICs by using connec ng wires. (In accordance to IC
provided).
8. If led glows then output is true, if it doesn’t glow output is false, which is numerically
denoted as 1 and 0respec vely.
Precau ons:
Result:
Aim
Apparatus Required:
Theory
Half Subtractor
A half subtractor is a logical circuit that performs a subtrac on opera on on two single binary
digits. The half subtractor produces a difference and a borrow bit for the next stage.
From the truth table of the half subtractor we can see that the difference (D) output is the
result of the Exclusive-OR gate and the Borrow-out (B) is the result of the NOT-AND
combina on. Then the Boolean expression for a half subtractor is as follows.
D = X XOR Y = X ⊕ Y
Full Subtractor
A full subtractor has three inputs. The two single bit data inputs X (minuend) and
Y(subtrahend) the same as before plus an addi onal Borrow-in (B-in) input to receive the
borrow generated by the subtrac on process from a previous stage as shown below.
For the difference(D)bit:
Procedure:-
3. Connect the wire to the main voltage source (Vcc) whose other end is connected to
last pin of the IC (14 place from the notch).
4. Connect the ground of IC (7th place from the notch) to the ground terminal provided
on the digital lab kit.
5. Give the input at the gate of the ICs by using connec ng wires. (In accordance toIC
provided).
8. If led glows then output is true, if it doesn’t glow output is false, which is numerically
denoted as 1 and 0respec vely.
Precau ons:
Result: