Lab 5
Lab 5
EQUIPMENT
COMPONENTS
74LS08 IC
74LS86 IC
Connecting hard wires.
NOTE
Before making any connection to the circuit makes sure that, the power supply is off.
Take care of the equipment they can be damaged by misuse.
Before switch on the supply, get it checked by your teacher.
Page |2
INTRODUCTION
Many logic circuits must be supplied with devices, which can carry out the sum between
two numbers: on this purpose, the adder circuits are used. The basic rules for binary
addition are:
0+0=0
1+0=1
0+1=1
1 + 1 = 0 and carry 1
These operations are performed by a logic circuit called a half adder. A half adder is a
binary adder, which adds two bits. It accepts two binary digits on its inputs and produces
two binary digits on its outputs, a sum bit and a carry bit.
The logic symbol and logic diagram as shown in represents a half adder figure 5.1 (a & b).
(a) (b)
Fig: 5.1 (a) Half adder logic symbol; (b) Half adder logic diagram
The SUM output is the least significant bit (LSB) of the result, which is the XOR of the
two inputs A and B. The XOR gate implements the addition operation for binary digits,
where a “1” is generated in the SUM output only when one of the inputs is “1”.
The CARRY output is the most significant bit (MSB) of the result, indicating whether
there was a carry-over from the addition of the two inputs. The CARRY output is the AND
of the two inputs A and B. The AND gate generates a “1” in the CARRY output only
when both inputs are “1”.
Half adder is the simplest of all adder circuits. Half adder is a combinational arithmetic
circuit that adds two numbers and produces a sum bit (s) and carry bit (c) both as output.
The addition of 2 bits is done using a combination circuit called a Half adder.
let us consider two input bits A and B, then sum bit (s) is the X-OR of A and B. it is
evident from the function of a half adder that it requires one X-OR gate and one AND gate
for its construction.
OBSERVATION TABLE:
INPUTS OUTPUTS
B A Sum() Cout
0 0
0 1
1 0
1 1
Page |4
PROCEDURE
1. Take RIMS Advanced Electronic Trainer and apply 5V power supply from power supply unit
2. Carry out the circuit of Figure 5.1 on the trainer using an AND and X-OR gates.
5. Analyze the circuit behavior by carrying out different combinations with the switches
and fill the observation table.
EXERCISE
1. Design the following half adder circuit using NAND gates and verify the results
Page |5
OBSERVATION TABLE:
A B S Cout
REVIEW QUESTIONS: