DLD 1 (Smipilification and Boolean Algebra)
DLD 1 (Smipilification and Boolean Algebra)
(EC 104)
4/19/2023 2
Course Outline
4/19/2023 3
Course Text and Materials
4/19/2023 4
Logic Operations and Logic Gates
NOT Gate
• Represented by ʹ or by a bar.
ഥ
F = X’ or 𝑿
• Can be implemented by a single switch
AND gate
OR Gate
• Represented by ‘+’.
• Control 1: Disable, Control 0: Enable (Unused input)
• Can be considered as two switches connected in parallel.
• Switching Circuit:
• Switching Circuit:
• Internal Diagram
• Internal Diagram
Q2 Q4
Boolean Algebra
Operator Precedence
• (x + y)(x + z) = x + yz
• xy + x’z + yz = xy + x’z
Boolean Functions
• A Boolean function is an expression formed with
– binary variables
– the two binary operators OR and AND,
– the unary operator NOT,
– parentheses, and equal sign
F1 = xyz’
F2 = xy’+x’z
Examples
F1 = x+y’z
F2 = xyz’
F3 = xy’+x’z
Examples
Q1
Q2
Q3
Q4
Q5
Complement of a Function
• Complement of a function may be derived algebraically through
De Morgan’s theorem.
• De Morgan’s theorems can be extended to three or more
variables.
(A + B + C + D + … + F)′ = A′B′C′D′ … F′
(ABCD … F)′ = A′ + B′ + C′ + D′ + … + F′
• Complement of a function is obtained by interchanging AND
and OR operators and complementing each literal.
• Dual is used to convert positive logic to negative logic
• Self Dual concept
• F2 = x′ yz′ + x′ y′ z
• F3 = x(y’z’ + yz)
Venn Diagram
• NAND
• NOR
F = A + B’C
F = x + yz
K-Map
F=A’B+AB’
K-Map
K-Map
K-Map
K-Map
K-Map
K-Map
4/19/2023 55
Quine-McClukey tabular method
4/19/2023 56
Quine-McClukey tabular method
4/19/2023 57
Quine-McClukey tabular method
4/19/2023 58
Quine-McClukey tabular method
4/19/2023 59
Quine-McClukey tabular method
4/19/2023 60
Quine-McClukey tabular method
4/19/2023 61
Quine-McClukey tabular method
4/19/2023 62
Quine-McClukey tabular method
4/19/2023 63
Digital Logic Circuits
4/19/2023 64
Design Process
4/19/2023 65
4/19/2023 66
4/19/2023 67
4/19/2023 68
4/19/2023 69
B = z(xy+x’y’) + x’y
4/19/2023 70
Binary to Gray and Gray to binary code convertor
4/19/2023 71
Comparator
4/19/2023 72
4/19/2023 73
4/19/2023 74
Universal Gates
NAND Gate
4/19/2023 75
Universal Gates
AND-OR to NAND
4/19/2023 76
Universal Gates
4/19/2023 77
Universal Gates
4/19/2023 78
Universal Gates
NAND to AND-OR
4/19/2023 79
Universal Gates
NOR Gate
4/19/2023 80
Universal Gates
NOR to AND-OR
4/19/2023 81
Universal Gates
XOR Gate
4/19/2023 82
Parity Generator
4/19/2023 83
Parity Checker
4/19/2023 84