combinational circuit-Half Adder ,full Adder

aniqa56 769 views 32 slides Apr 28, 2024
Slide 1
Slide 1 of 32
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32

About This Presentation

this is a simple presentation on
Half combinational logic circuits .to implement a logic, we use logic circuits. There are two types of logic circuits – combinational logic circuits and sequential logic circuits. To implement a logic, we use logic circuits. There are two types of logic circuits �...


Slide Content

CHAPTER –7
COMBINATIONAL CIRCUIT

What is Combinational Circuits?:
It is logical circuits, the output at any
time depends on the logic levels at the
input at that instantonly.
It does not depend on the past
condition.
A combinational circuit transforms
binary information from the given
output data to the required outputdata.

Half Adder:
A half adder is a combinational circuit
adds two binarybits.
Block diagram of half adder is as given
below.
H /A
Inputs
A
B
S
C
sum
carry
Block diagram of HalfAdder

Half Adder:
There are two input terminals which are
marked as A and B.
Binary numbers the sum of which has to
be made are appliedhere.
There are two output terminals. One
terminal is for sum and the other is the
carry bitC.
Truth table of half adder is shown
below.

Half Adder’ truth table:
Input Output
A BCarrySum
0 0 0 0
0 1 0 1
1 0 0 1
1 1 1 0
S=A’B+AB’
C=AB

K-MAP for HalfAdder:
1
1
B
A
0
1
0 1
1
B
A
0
1
0 1
From the truth table let us construct
the K-MAP to find Boolean expression
for the sum S and carryC.

CarryC=AB
HalfAdderDesign:
A
B
S=A'B+AB'

Full Adder:
A full adder is a combinational circuit
that performs the arithmetic sum of
three inputbits.
It consists three inputs and twooutputs.
When we want to add two binary
numbers each having two or more bits
the LSB (Least Significant Bit) can be
added by using a halfadder.
Block diagram of full adder is as given
below:

Full Adder Diagram:
F /A
Inputs
S
C
sum
carry
Block diagram of FullAdder
C
i
A
B
In this there are three input terminal. One
output is C
i
which is carry from the previous
stage.
A and B are two input terminals. There are
two output terminals. One is final sum S and
the other is final carryC.

Full Adder Diagram:
Input Output
A B C Final
Carry C
Final
Sum
C
0 0 0 0 0
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=A’BC’+AB’C’+A’B’C+ABC
C=ABC’+A’BC+AB’C+ABC
Full Adder Expression:

FullAdderDesign:
ABC
S
C

K-MAP for FullAdder:
AB
0
1
1 1
1 1
C
i 00 01 11
K-Map forSum
10
C
i
AB
0
1
0001
1
1 1 1
11
K-Map forCarry
10

Full Adder circuit after k map simplification:

Full Adder circuit using twohalf adders:
S=A’BC’+AB’C’+A’B’C+ABC
=A’BC’+A’B’C+ABC+ AB’C’
=A’(BC’+B’C)+A(BC+B’C’)
=A’(B(XOR)C)+A(B(XNOR)C)
=A’(B(XOR)C)+A(B(XOR)C)’
=(AXOR(B(XOR)C))

Full Adder circuit using twohalf adders:
C=ABC’+A’BC+AB’C+ABC
=AB’C+A’BC+ABC+ABC’
=C(AB’+A’B)+AB(C+C’)
=C(AXORB)+AB

Full Adder circuit using twohalf adders:

Comparison between Half Adderand
FullAdder
HalfAdder FullAdder
1. It is used for 2bit
addition.
1. It is used forMulti
bitaddition.
2.OneEx-OR/ORgate
andoneANDgateare
used.
2. Two Ex-OR/OR
gates and Multiple
AND gates areused.
3. Output is thesum
of twosignals.
3. Output is thesum
of threesignals.
4. Circuit issimple. 4. Circuit is
complicated.

Half Sub tractor:
Binary sub tractor can be made using
half sub tractor. Block diagram is shown
below:
Half
Subtractor
Inputs
A
B
Difference
D
B
Borrow
Block diagram of Half Subtractor

Half Sub tractor:
There are two input terminals A and B
bits to be subtracted are appliedhere.
There are two output terminals. One is
for the difference signal and the other is
for borrow signal. Truth table is as given
below:

Half Sub tractor’ Truthtable:
Input Output
A B Borrow BDifferenceD
0 0 0 0
0 1 1 1
1 0 0 1
1 1 0 0
D=A’B+AB’
B=A’B

Half Sub tractor’ Truthtable:
From the truth table we can write the
sum of product expression for difference
D and borrowB.
Half sub tractor using Ex-OR gate.
D=A’B+AB’
B=A’B
A
B
Borrow
B
Difference
D

K-MAP for HalfSubtractor:
1
1
A
B
0
1
0 1
1
B
A
0
1
0 1
D=A'B+AB'
B=A'B

Circuit for HalfSub tractor:
A
B
B
Borrow
Difference
D
D=A'B+AB'
B=A'B

Full Sub tractor:
Block diagram is shownbelow:
Full
Subtractor
Inputs
B
i
A
B
D
B
Difference
Borrow
Block diagram of Full Subtractor

Full Sub tractor:
Therearethreeinputterminalsandtwo
outputterminals.
OneinputisAfromwhichthesecond
inputBhastobesubtracted.Third
inputCwillbesubtractedfrom
resultantoutput.
OneoutputisdifferenceDandthe
otheroutputisborrowB
oheretable
isgivenbelow:

Full Sub tractor table:
Input Output
A B C Borrow
B
Difference
D
0 0 0 0 0
0 0 1 1 1
0 1 0 1 1
0 1 1 1 0
1 0 0 0 1
1 0 1 0 0
1 1 0 0 0
1 1 1 1 1

FullSubtractor Circuit:
ABC
Difference
D
Borrow
B

K-MAP for FullSubtractor:
AB
0
1
1 1
1 1
C
i 00 01 11
K-Map forSub
10
C
i
AB
0
1
0001
1
1 1 1
11
K-Map forBorrow
10

Full Sub tractor using two halfsub
tractor:
Block diagram of full sub tractor using
two half sub tractor is shownbelow:
H/S1
Inputs
A
B
D
B
Borrow
Block diagram of Full Sub tractor using two half subtractor
B
i
H/S2
Difference
D

Parallel binary adder:
AParallelAdderisadigitalcircuit
capableoffindingthearithmeticsum
oftwobinarynumbersthatisgreater
thanonebitinlengthbyoperatingon
correspondingpairsofbitsinparallel.
Itconsistsoffulladdersconnected
inachainwheretheoutputcarryfrom
eachfulladderisconnectedtothe
carryinputofthenexthigherorderfull
adderinthechain.

Parallel binary adder: