Professional Documents
Culture Documents
DLD Lab Report 4
DLD Lab Report 4
DLD Lab Report 4
Lab #: 04
Lab Title: Implementation of Boolean function using Logic gates, Half Adder and
Full Adder operation
Submitted by:M.Zain
Name Registration #
Muhammad.Zain Fa20-bce-015
In-Lab Post-Lab
Modern R9: Understand Tools: Ability to describe and explain the principles
Tools behind and applicability of engineering tools.
Usage
Post- Lab
Lab Report # 4
Title: Implementation of Boolean function using Logic gates, Half
Adder and Full Adder operation
Theory:
I. ADDERS
Digital computers perform a variety of information-processing tasks. Among the basic
functions encountered are the various arithmetic operations. The most basic
arithmetic operation, no doubt, is the addition of two binary digits. This simple
addition consists of four possible elementary operations, namely, 0 + 0 = 0, 0 + 1 = 1,
1 + 0 = 1, and 1 + 1 = 10. The first three operations produce a sum whose length is
one digit, but when both augends and addend bits are equal to 1, the binary sum
consists of two digits. The higher significant bit of this result is called a carry. When
the augends and addend numbers contain more significant digits, the carry obtained
for the addition of two bits is added to the-next higher orders pair of significant bit.
Half Adder:
Truth Table:
Inputs Outputs
B A Sum Carry
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1
, = ⊕
, = .
Boolean Expression:
Sum=A’B+AB’=A+B
Carry=AB
Circuit:
Full Adder:
Truth Table:
Inputs Outputs
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
Boolean Expression:
Sum=A’B’C+A’BC’+AB’C’+ABC
=A’ (B’C+BC’) +A (B’C’+BC)
=A’ (B+C) +A (B+C)
=A+B+C
Carry=A’BC+AB’C+ABC’+ABC
=AB (C’+C) +C (A’B+AB’)
=AB+C (A+B)
Circuit:
Conclusion:
After the completion of tasks, I can Add any 2-bit number by using Half Adder and
can Add any 4-bit number by using Full Adder. Now I can construct any circuit of
Half Adder and Full Adder by using different IC or gate in Logic work.