Lab Session 08
Lab Session 08
HALF ADDER
The possible operations, when we want to add only two bits, would be the
followings:
0+0=00+1=1
1+0=1
1 + 1 = 0 & Carry 1
We arbitrarily assign symbols A and B to the two inputs and S (for sum) and Cout (for Carry)
to the two outputs. Truth table for Half Adder as shown below:-
Table 1: Truth Table for Half Adder operation
2. Use any two Logic Switches of the trainer (S2 to S9) for the input and any two of the LEDs
of the trainer (L0 to L15) as output indication.
3. Connect +5V to pin 14 (Vcc) and Ground to pin 7 (GND) of the ICs.
4. By setting various combinations of the two switches verify that the output of the circuit is
in accordance with the Truth Table shown above. Record your observation.
TASK 2: FULL ADDER
As mentioned in the beginning, a full-adder is a combinational circuit that forms the arithmetic
sum of three input bits (two significant bits and a previous carry bit) and two output bits. We
arbitrarily assign symbols A and B to the two significant bit inputs and Cin for the Carry from
the previous lower significant position, and S (for sum) and Cout (for Carry) to the two outputs.
Truth table for the Full Adder is shown below:
Input Output Output
Desired Observed
A B Cin S Cout S Cout
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
Simplified Boolean function for the two outputs can be written from this truth table as:-
S= A B Bin CC
Cout = (A B) C +A.B
The circuit diagram for the Full Adder is as under:
EXPERIMENT NO 3
IMPLEMENTATION OF HALF ADDER AND FULL ADDER
OBJECTIVE
To study Half and Full adder operations.
THEORY
Digital computers perform a variety of information-processing tasks. Among the basic
functions encountered are various arithmetic operations. The most basic arithmetic operations
are, no doubt, the addition and subtraction of binary digits (bit).
HALF ADDER
The possible operations, when we want to add only two bits, would be the
followings:
0+0=00+1=1
1+0=1
1 + 1 = 0 & Carry 1
We arbitrarily assign symbols A and B to the two inputs and S (for sum) and Cout (for Carry)
to the two outputs. Truth table for Half Adder as shown below:-
Table 1: Truth Table for Half Adder operation
The simplified Boolean function for the two outputs can be written from this truth table as:-
S = A'.B +A.B'
Cout = A.B
The circuit diagram for the Half Adder to implement above mentioned Boolean function
could be quite a few. We will however verify only one.
2. Use any two Logic Switches of the trainer (S2 to S9) for the input and any two of the LEDs
of the trainer (L0 to L15) as output indication.
3. Connect +5V to pin 14 (Vcc) and Ground to pin 7 (GND) of the ICs.
4. By setting various combinations of the two switches verify that the output of the circuit is
in accordance with the Truth Table shown above. Record your observation.
TASK 2: FULL ADDER
As mentioned in the beginning, a full-adder is a combinational circuit that forms the arithmetic
sum of three input bits (two significant bits and a previous carry bit) and two output bits. We
arbitrarily assign symbols A and B to the two significant bit inputs and Cin for the Carry from
the previous lower significant position, and S (for sum) and Cout (for Carry) to the two outputs.
Truth table for the Full Adder is shown below:
Input Output Output
Desired Observed
A B Cin S Cout S Cout
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
Simplified Boolean function for the two outputs can be written from this truth table as:-
S= A B Bin CC
Cout = (A B) C +A.B
The circuit diagram for the Full Adder is as under:
PROCEDURE
1. Wire the circuit as per figure 2 above.
2. Use any three Logic Switches of the trainer (S2 to S9) for the input and any two of the
LEDs of the trainer (L0 to L15) as output indication.
3. Connect +5V to pin 14 (Vcc) and Ground to pin 7 (GND) of the ICs.
4. By setting various combinations of the two switches verify that the output of the circuit is
in accordance with the Truth Table shown above. Record your observation.
PROCEDURE
1. Wire the circuit as per figure 2 above.
2. Use any three Logic Switches of the trainer (S2 to S9) for the input and any two of the
LEDs of the trainer (L0 to L15) as output indication.
3. Connect +5V to pin 14 (Vcc) and Ground to pin 7 (GND) of the ICs.
4. By setting various combinations of the two switches verify that the output of the circuit is
in accordance with the Truth Table shown above. Record your observation.