Lecture 2 - Logic Fundamentals
Lecture 2 - Logic Fundamentals
Jasper HATILIMA
Department of Electrical and Electronic Engineering, School of Engineering
Figure 5 shows the circuit symbol and the truth table of a two-input NAND
gate.
Figure 6 shows the circuit symbol and the truth table of a two-input NOR gate.
Figure 7 shows the circuit symbol and the truth table of a two-input EX-NOR
gate.
The output of a two-input EX-NOR gate is a logic ‘1’ when the inputs are alike
and logic ‘0’ when they are unlike.
1 L M L M L M L M L M L M L M
Solution
We know that 1 Boolean expression 1 .
Also, L M is the complement of L M and L M is the complement
of L M .
Therefore, the given expression reduces to 1 0 0 1 0 0 .
Theorems 6(a) and (b) are further illustrated by the logic diagrams in Figures
8 (a) and (b).,
A B A B A B A B A B B A B B A 1 A 1 A A 1
A B A B A B A B A B B A B B A 0 A 0
A A 0
Theorem 8
a X Y X Y X and (b) X Y X Y X [8]
This is a special case of theorem 7. Theorem 8 can be usefully employed to
simplify many complex Boolean expressions.
A B C D E A B C D E A B C D A B C D E
A B C D A B C D A B C D A B C D
A B C D C D C D C D A B
A B C D appears in A B C D E , A B C D appears in A B C D E
and A B C D appears in A B C D E .
As a result, all three five-variable terms are redundant.
Also, variables C and D appear in all possible combinations, thus redundant.
Figure 9: Example 7.
[ B ( A B)] [ A ( A B)]
( B A B) ( A A B)
Figure 10 shows the NAND gate implementation of a two-input EX-OR gate.