Professional Documents
Culture Documents
Dwaraka Doss Goverdhan Doss Vaishnav College CHENNAI - 106: Fundamentals of Digitial Electronics
Dwaraka Doss Goverdhan Doss Vaishnav College CHENNAI - 106: Fundamentals of Digitial Electronics
VAISHNAV COLLEGE
CHENNAI -106
Presented By,
Panneer Selvam E
Assistant Professor
XOR GATE
A B Output
0 0 0
0 1 1
1 0 1
1 1 0
S = AB’+A’B // (A xor B)
C = AB
Full Adder
S = A’B’C +A’BC’+AB’C’+ABC
C = A’BC+AB’C+ABC’+ABC = AB+BC+AC
S= A’B’C +A’BC’+AB’C’+ABC
C(A’B’+AB) + C’(A’B+AB’)
C(A xnor B) + C’(A xor B)
C(A xor B)’ + C’(A xor B)
C xor ( A xor B)
C = AB+BC+AC (B’+B)
= AB+BC+AB’C+ABC
=AB(1+C)+BC+AB’C
=AB+BC(A+A’)+AB’C
=AB+ABC+A’BC+AB’C
=AB+C(A’B+AB’)
=AB+C(A XOR B)
Half Subtractor
The function of half-subtractor is to sub two binary digits,
producing difference and borrow according to the binary addition
A B D Borrow
0 0 0 0
0 1 1 1
1 0 1 0
1 1 0 0
D=A’B+AB’ // A XOR B
Borrow = A’B
Full Subtractor
There are three inputs to the full subtractor and produce two outputs such as
difference and borrow
A B C Diff Borro
w
0 0 0 0 0
0 0 1 1 1
0 1 0 1 1
0 1 1 0 1
1 0 0 1 0
1 0 1 0 0
1 1 0 0 0
1 1 1 1 1
Diff= A’B’C+A’BC’+AB’C’+ABC
Borrow=A’B’C+A’BC’+A’BC+ABC
Diff= A’B’C+A’BC’+AB’C’+ABC
C(A’B’+AB) + C’(A’B+AB’)
C(A XNOR B) + C’(A XOR B)
C(A XOR B)’ + C’(A XOR B)
C XOR (A XOR B)
Borrow = A’B’C+A’BC’+A’BC+ABC
=001+010+011+111
=M(1,2,3,7)
using k-map = A’C+A’B+BC
Borrow = A’C+A’B+BC
= A’C+A’B+BC(A+A’)
=A’C+A’B+ABC+A’BC
=A’C+A’B(1+C)+ABC
=A’C+A’B+ABC
=A’C(B+B’)+A’B+ABC
=A’BC+A’B’C+A’B+ABC
= A’B(C+1)+C(A’B’+AB)
=A’B+C(A XNOR B)
=A’B+C(A XOR B)’
METHOD 2 (using law)
B = A’B’C+A’BC’+A’BC+ABC
= C(A’B’+AB)+A’B(C’+C)
=C(A xnor B) +A’B
=C(A xor B)’+A’B
FULL ADDER
C= A’BC+AB’C+ABC’+ABC
= C(A’B+AB’)+AB(C’+C)
=C(A XOR B)+AB
Multiplexer (MUX)
S0 Y
0 D0
1 D1
S1 S0 Y3 Y2 Y1 Y0
0 0 0 0 0 1
0 1 0 0 1 0
1 0 0 1 0 0
1 1 1 0 0 0
From the table Boolean expression can be given as:
Y3=S1S0I Y2=S1S0’I Y1=S1’S0I Y0=S1’S0’I
When AB = 01, the upper second AND gate (Y1) is
enabled while other AND gates are disabled.
Therefore, only data bit D is transmitted to the
output, giving Y1 = Data.
If D is low, Y1 is low. IF D is high,Y1 is high.
Applications:
Communication system
ALU (to store result in multiple register)
Encoder (Octal to Binary)