Professional Documents
Culture Documents
LAB EXPERIMENT- 2
1|Page
AIM:
1. Half-adder
2. Full-adder
COMPONENTS REQUIRED:
1. Logical gates
2. Dip switches
3. Connecting wires
4. IC (depending on gates used )
5. Power supply
6. Buttons
7. LEDs
DISCRIPTION:
ADDERS:
Adders are digital circuits performing addition of numbers. Adders are used
in almost day to day life system residing in ALU ( arithmetic logic unit). They
are also used in other parts of the processor, where addresses , table
indices, increment and decrement operators and similar operations are done
and calculated.
ADDERS
The output obtained from the EX-OR gate is the sum of the two numbers
while that obtained by AND gate is the carry. There will be no forwarding
of carry addition because there is no logic gate to process that. Thus, this
is called Half Adder circuit.
Output Expression:
Sum = A XOR B
Carry = A AND B
TRUTH TABLE:
A (input) B (input) C (output) S (output)
0 0 0 0
1 0 0 1
0 1 0 1
1 1 1 0
FULL ADDER:
Full Adder is the circuit which consists of two EX-OR gates, two AND gates
and one OR gate. Full Adder is the adder which adds three inputs and
produces two outputs which consists of two EX-OR gates, two AND gates
and one OR gate.
The first two inputs are A and B and the third input is an input carry as C-IN.
The output carry is designated as C-OUT and the normal output is
designated as S which is SUM.
TRUTH TABLE:
Output Expression:
• The buttons and LED’s are connected with the connecting lines to
the logic gates.
• Once the circuit has been built, click on “run” button on the top
left. The simulation of half adder will start once it is clicked.
IMPLEMENTATION OUTPUTS:
Timing Graph:
TinkerCAD OUTPUT:
FULL ADDER Dsch2 Outputs:
Timing Graph:
FULL ADDER USING NAND GATES:
Timing Graph:
TinkerCAD OUTPUT:
TIMING DIAGRAM EXPLANATION:
1) Half Adder: When two inputs are given to half adder circuit,
two outputs are obtained, namely, sum and carry. It can be
inferred from the timing diagram of half adder that we get sum
when both the
inputs differ, while we get carry when both the inputs are high i.e.
when ‘1’.
2) Full Adder: In full adder, along with the two inputs, there is a
third input named carry in, and the two outputs namely, sum and
carry out. It can be inferred from the timing diagram that bulb
glowing representing sum, carry in, carry out differs with the inputs.
INFERENCE:
RESULT:
Hence, the program to simulation half and full adder has been verified and
implemented successfully using dsch2 and tinkercad.