Академический Документы
Профессиональный Документы
Культура Документы
ANDHRA PRADESH
Name : P. SRINIVAS
Designation : Lecturer
Branch : Electronics & Communication Engg.
Institute : Govt. Polytechnic, Warangal.
Year/Semester : III Semester
Subject : Digital Electronics
Subject Code : EC-304 (7/15)
Topic : Combinational Logic Circuits
Duration : 50 min.
Sub Topic : 2’s complement Parallel
adder/subtractor
Teaching Aids : Animation & images.
EC304.26 1
Objectives
EC304.26 2
Recap
• Half Adder.
• Full Adder.
EC304.26 3
Function of X-OR gate
Fig 1
EC304.26 4
Block Diagram of Full Adder
A Sum
Full Adder
B
C Carry
Fig 2
EC304.26 5
Truth Table of Full Adder
A B C CARRY SUM
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
Table 1
EC304.26 6
2’s Complement Adder/Subtractor
B3 A3 B2 A2 B1 A1 B0 A0
C3 C2 C1 C0
FA FA FA FA
EC304.26 8
In the circuit shown in Fig.1:
When S=0
When S=1
EC304.26 9
Operation
Adder
When S=0
• Output of the X-OR gates will be the same as B data bits.
• A and B bits are applied as the two inputs to the parallel Adder.
EC304.26 10
Subtractor
When S=1
EC304.26 11
SUMMARY
EC304.26 12
QUIZ
EC304.26 13
1. 2’s Complement adder/subtractor circuit can perform
a) Addition only
c) Subtraction only
EC304.26 14
2. In the 2’s complement adder/subtractor
EC304.26 15
Frequently Asked Questions
EC304.26 16
Assignment
EC304.26 17