0% found this document useful (0 votes)
50 views16 pages

Half Adder

The document discusses different types of adders used in digital circuits: 1. Half adders add two binary digits and produce a sum and carry output. They use XOR and AND gates. 2. Full adders add three binary digits - two operands and a carry in - and produce a sum and carry out. They can be constructed from two half adders. 3. The full adder truth table shows the sum and carry out outputs for all possible combinations of the three binary inputs. Sum is 1 if an odd number of inputs are 1, and carry out is 1 if two or more inputs are 1.

Uploaded by

Demo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views16 pages

Half Adder

The document discusses different types of adders used in digital circuits: 1. Half adders add two binary digits and produce a sum and carry output. They use XOR and AND gates. 2. Full adders add three binary digits - two operands and a carry in - and produce a sum and carry out. They can be constructed from two half adders. 3. The full adder truth table shows the sum and carry out outputs for all possible combinations of the three binary inputs. Sum is 1 if an odd number of inputs are 1, and carry out is 1 if two or more inputs are 1.

Uploaded by

Demo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 16

"

ADDER, HALF ADDER & FULL


ADDER
Binary Addition

0 0 1 1

+ 0 + 1 + 0 +_1
0 1
Sum
1 /
Carry
10
Sum
ADDER
• In electronics, an adder a digital circuit that
performs
is addition of numbers.
•In modern computers and other kinds of
processors, adders are used in the arithmetic logic
unit (ALU), but also in other parts of the processor,
where they are used to calculate addresses, table
indices, and similar operations.
•Although adders can be constructed for
many representations, such as binary-coded
numerical
decimal or excess-3, the most common adders
operate on binary numbers.
ii
Types of Adder
• There are two types of Adder

1.Half Adder

2.Full Adder
Half Adder
• The half adder accepts two binary digits on its inputs
A and B.
• It produce two binary digits outputs, a sum bit (S)
and a carry bit (C).
• The simplest half-adder design, pictured
incorporates an XOR gate for Sand an AND gate for C.
Carry <= X AND Y; Sum <= X XOR Y;

C.= ( 4 · B)
Diagram
Logic Input Output
Symbol: .!\
Half .,
B
Adder Co (carry out)
i---
r. (sum)

a -
Logic b -
XOR - Sum
Diagram :
AND Cout
Diagram
A
Logic 8
sum
Diagram:
carry out

)
x

> • l s

Logic x•

Diagram: >
x [
(a) S X } ' t- .i'y
c
> c

xy
Truth Table

0 0 0 0

0 1 0 1
1 0 0 1

1 1 1 0
Full Adder
• A full adds binary numbers and accounts for
adder
values carried in as well as out.
•A one-bit full adder adds three one-bit numbers input ,
often written as A, B, and Ci11; A and B are the operands, and
cin is a bit carried in.

•A full adder can be constructed from two half adders by


connecting A and B to the input of one half adder,
connecting the sum from that to an input to the second
adder, connecting C1n to the other input and OR the two
carry outputs
S = X xor Y xor Cin
Cout = X.Y + X.Cin + Y.Cin
Diagrams

Input Output
Logic Ci Full :E (sum)
Symbol: n Adder
A. Co (car ry out)
B

C(in)
Logic Sum

Diagram: •A L A I:
C(o)
8 ._ A I:

• B
Co
"
I
Diagram

a-i Half
b- Adder

EJ1-
i----.

_, Cout

ci
n, ------+I
!r 1I - ---, Sum
-
Truth Table
Inputs Output
A0 B0 0 0 0
Sum

0 0 1 0 1
0 1 0 0 1
0 1 1 1 0
1 0 0 0 1
1 0 1 1 0
1 1 0 1 0
1 1 1 1 1
• S is 1if an odd number of inputs are 1.
• COUT is 1if two or more of the inputs are 1.
• Sum is '1' when one of the following four
cases is true:
- a=1, b=O' c=O

- a=O b=1 c=O


' '

- a=O b=O c=1


' '

- a=1 b=1 c=1


' '

I .

Circuit of Adder
A
B
The Full Adder
x
s
:) )
y

C
i
n \
)

\ Cout
J
,,
The Full Adder

Half Adder Half Adder


x .• -

'iJ)' I x $ y) 1C n
s
I
I

\ n· (x @ )') Cin
-
(x '!' J) Cin + Xy L.
.I
-
Cin

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy