Adder Report

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Collage of Electrical & Mechanical

Engineering, NUST
DE-43 MTS-B
EE-223 Digital Logic Design

Lab Report: Adders

Submitted by:
NC Sajid Ali
366087

NC Muhammad Farrukh bin


Bashir
398565

Submitted to: LE Adnan Shujah


Objective:
The objective of this lab report is to design and implement various types of adders using logic gates. The
adders will be tested for correct operation and the results will be documented in the report. Additionally,
the report will compare the performance and complexity of the different adder designs, and discuss any
challenges or problems encountered during the design and implementation process and how they were
addressed. The final product of this lab report will be a set of working adder circuits that can be used to
add single-bit or multi-bit numbers, as well as a detailed analysis of the design and testing process.

Introduction:
An adder is a digital circuit that performs the addition of two or more numbers. It is a fundamental
building block of digital logic circuits, and it is used in a wide variety of applications, including
computers, calculators, and other electronic devices. There are several types of adders, including half
adders, full adders, and carry-lookahead adders

Half adders are used to add two single-bit numbers and produce a sum and a carry output. Full
adders are used to add three single-bit numbers and produce a sum and a carry output. Carry-
lookahead adders are used to add two multi-bit numbers and are designed to reduce the time required
for the carry-propagation stages.

Types:
There are two types of adders:
• Half adder
• Full adder
Half Adder:
A half adder is a digital circuit that adds two single-bit numbers and produces a sum and a carry
output. It is called a "half" adder because it only performs the addition of two numbers, and does not
take into account any carries from previous additions.

Figure 1 Half Adder Truth Table and Logic Diagram

2
Expression:

• S= A’B+ AB’
• C= AB

Full Adder:
A full adder is a digital circuit that adds three single-bit numbers and produces a sum and a carry
output. It is called a "full" adder because it takes into account the carry from a previous addition in
addition to the two input numbers.

Figure 2 Full Adder truth table and logic diagram

Expression:

• S = A ⊕ B ⊕ Cin
• Cout = (A ⋅ B) + (Cin ⋅ (A ⊕ B))
Full Adder can be implemented Using two half Adders and one OR gate.

XOR Gate:
XOR gate (Exclusive OR) is a digital logic gate that gives a true (1 or HIGH) output when the
number of true inputs is odd. An XOR gate implements an exclusive or from mathematical logic;
that is, a true output results if one, and only one, of the inputs to the gate is true. If both inputs are
false (0/LOW) or both are true, a false output results.

Figure 3 XOR gate IC Pin diagram and IC

3
TASK:
Design a circuit that can add two ,4 bit nos.

Circuit Diagram:

Figure 4 Circuit Diagram of task

Conclusion:
In this lab we learned, the purpose of adders and its uses. We learned its different types and
specifications of each types. We analysed, each type with respect to the circuits and truth table. We
learned how we can design a circuit that can add two 4-bit numbers.

You might also like