Half Adder Electronics Report
Half Adder Electronics Report
ELECTRONONICS AND
COMMUNICATIONS ENGINEERING
CCA - 2
HALF ADDER
SUBJECT DETAILS
PRESENTERS (2 - A)
1BY23CS012-Aditya Kumar
1BY23CS013-Aflak thara
1BY23CS24-Ankit kashyap
1BY23CS37-Bartika das
1
TABLE OF CONTENTS
2 THEORETICA 4 to 7
L
BACKGROUN
D
3 DESIGN 8 to 11
AND
OPERATION
S
4 APPLICATIONS 12 to 15
5 CONCLUSION 16
6 REFERENCES 17
2
INTRODUCTION
A half adder is a basic digital circuit used for binary addition of single-bit numbers. It has
two inputs, A and B, and produces two outputs: SUM (the XOR of inputs) and CARRY
(the AND of inputs). This fundamental building block is crucial for more complex adder
circuits.
3
THEORETICAL BACKGROUND
BASIC CONCEPTS
● Binary Arithmetic:
○ Binary Numbers: Binary uses only two digits: 0 and 1. Each digit
represents a power of 2 (from right to left).
○ Addition: Add binary numbers like regular decimal numbers, but
carry over when the sum exceeds 1.
○ Subtraction: Subtract by borrowing from higher bits when
needed (similar to decimal subtraction).
4
○ Multiplication: Multiply bit by bit, shifting left for each position.
○ Division: Divide by repeated subtraction, tracking remainders.
● Logic Gates:
○ AND Gate:
○ OR Gate:
5
○ NOT Gate:
○ XOR Gate:
6
HALF ADDER DEFINITION
● Components:
● Functionality:
7
TRUTH TABLE
● Truth Table:
● Equations:
8
DESIGN AND OPERATION
CIRCUIT DIAGRAM
○ The XOR gate calculates the sum (S) of the input bits.
○ It performs binary addition by producing a 1 in the SUM output
only when one of the inputs is 1.
9
IMPLEMENTATION
● Basic Gates:
● Derived Gates:
● Waveform Analysis:
10
■ A: One of the two binary inputs.
■ B: The second binary input.
■ Sum (S): The sum output of the half adder.
■ Carry (C): The carry output of the half adder.
○ Time Intervals: The time intervals between each change are 100 units,
which allows us to see the evolution of the signals over a longer
period. Here's a detailed look at how the signals change over time:
■ Time 0 to 100
● A = 0, B = 0
● Sum (S) = 0 XOR 0 = 0
● Carry (C) = 0 AND 0 = 0
● A = 1, B = 0
● Sum (S) = 1 XOR 0 = 1
● Carry (C) = 1 AND 0 = 0
● A = 1, B = 1
● Sum (S) = 1 XOR 1 = 0
11
● Carry (C) = 1 AND 1 = 1
● A = 0, B = 1
● Sum (S) = 0 XOR 1 = 1
● Carry (C) = 0 AND 1 = 0
○ Observations:
■ Sum (S): The sum output is the XOR of the inputs A and B. It
is high (1) when exactly one of the inputs is high, and low (0)
when both inputs are the same.
■ Carry (C): The carry output is the AND of the inputs A and
12
block in more complex circuits such as full adders and arithmetic logic
units (ALUs).
APPLICATIONS
Inputs:
Outputs:
13
inputs are 1, otherwise 0.
Logic Gates
Truth Table
A B S C
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1
Example 1:
Example 2:
14
● Inputs: A=1,B=1
○ Sum: S=1⊕1=0
○ Carry: C=1⋅1=1
The half adder is used in various digital systems for basic arithmetic operations,
such as:
15
CONCLUSION
In conclusion, the half adder is a fundamental building block in the realm of digital
electronics and computer architecture. Its simplicity and efficiency make it an
essential component in a wide range of digital systems, ranging from basic
arithmetic operations to more complex computational tasks.
The half adder’s ability to perform the basic addition of binary digits serves as a
crucial foundation for larger and more sophisticated adder circuit, such as full adder
and ripple carry adders, which are integral parts of computer processors and
arithmetic logic units.
The versatility of the half adder extends beyond just addition, as it finds
application in various digital circuits, including counters, comparators, and
address decoders, where the basic binary addition operation is an unnecessary
function. Furthermore, the half adder is widely used in educational settings to
introduce students to the fundamental concepts of binary addition and the design
of simple digital logic circuits, serving as a stepping stone for understanding more
complex digital systems and architectures.
16
REFERENCES
17