Professional Documents
Culture Documents
Lab5 DLD
Lab5 DLD
EE-251L
Lab # 5 Manual
Binary Adders
Name
Roll No
Marks Obtained
Date Performed
1. Objectives
The objective of this lab is to construct a basic n-bit binary adder using logic gates.
.
2. Learning Outcomes
This lab satisfies the following learning outcomes of the course:
• CLO1: Build digital circuits for open ended, complex and real- world applications.
• CLO3: Writing technical and comprehensive lab report
4. Instructions
• There will be no concept of make-up labs. If missed, the lab may be performed later for practice and
knowledge required for the coming labs on your own and will be graded for partial marks unless there
is any valid reason.
• Plagiarism cases would be sent to the student disciplinary committee (SDC) without any prior
warnings.
Page | 1
Fall 2023 DLD Lab 05 Version 3.0
5. Introduction
To build a binary adder of any size it is sufficient to build a unit, which can add two single bits. Such a
circuit is not very complex as there are only three calculations that needs to be performed, i.e.
0+0=0
0+1=1
1 + 1 = 10
In the third case we encounter a slight complication: A single bit of output does not suffice to represent the
sum of 1 and 1, and we must “carry” a 1 to the next place. A 1-bit adder, therefore, must accept two single-
bits of input (the bits to be added) and generate two bits of output. These two bits can be designated the
SUM bit and the CARRY bit.
5.1. Half-Adder
Half Adder is a combinational logic circuit that generates the sum of two single-bit binary numbers. The
logic circuit has two inputs A and B and two outputs i.e., SUM and CARRY abbreviated as S and C
respectively.
5.2. Full-Adder
Half-adder only has only two inputs. However, even the addition of two single-bit numbers may generate
a carry. This implies that the circuit, which is going to perform addition on the next higher bits, must take
into account the carry from the previous stage. Thus, in order to build n-bit adder, we require a modification
in the half-adder circuit that can accept three inputs rather than two, i.e., two bits to be added and the carry
from the previous stage. Such a circuit is called a full-Adder.
Page | 2
Fall 2023 DLD Lab 05 Version 3.0
6. Procedure
6.1. Task 1: Half-Adder
1. Create the truth table for the SUM (S) and the CARRY (Cout) bit. The inputs are A and B.
Inputs Outputs
A B S Cout
4. Draw the logic diagrams for the simplified Boolean equations S and Cout using basic gates.
5. Convert the logic diagrams for S to a XOR logic and draw the circuit diagram.
Page | 3
Fall 2023 DLD Lab 05 Version 3.0
Inputs Outputs
A B S Cout
Inputs Outputs
A B S Cout
Page | 4
Fall 2023 DLD Lab 05 Version 3.0
Inputs Output
Cin A B S Cout
2. Read the Boolean equations from the truth table. It should be in SOP form.
Page | 5
Fall 2023 DLD Lab 05 Version 3.0
4. Draw the logic diagrams for the simplified Boolean equations S and Cout using basic gates.
5. Convert the logic diagrams to a XOR logic and draw the circuit diagram.
Inputs Output
Cin A B S Cout
Page | 6
Fall 2023 DLD Lab 05 Version 3.0
Page | 7
Fall 2023 DLD Lab 05 Version 3.0
8. Submissions
You need to submit the hard copy of the manual.
References
[1]. Digital Design: With an Introduction to the Verilog HDL, by M. Morris Mano and Michael D.
Ciletti, 5th Edition, Pearson, 2013.
Page | 8
Marking Rubric
• CLO1: Build digital circuits for open ended, complex and real- world applications.
• CLO3: Writing technical and comprehensive lab report