Second Semester_Digital Logic_Logic Gates and Boolean Algebra
2.1 Basic Definition of Boolean Algebra
-
Boolean Algebra: A mathematical system for analyzing and simplifying logic circuits.
-
Values are binary: 0 (False) and 1 (True).
-
Operations follow specific rules and laws.
2.2 Basic Theory of Boolean Algebra, Boolean Functions, Logical Operations
-
Boolean Functions: Functions that take binary inputs and produce a binary output.
-
Example: F(A, B) = A·B + A'·B
-
-
Logical Operations:
-
AND (·): Output 1 if all inputs are 1.
-
OR (+): Output 1 if at least one input is 1.
-
NOT (’): Output is the complement of input.
-
2.3 Logic Gates, IC Digital Logic Families. Basic Gates
-
Logic Gates: Hardware implementation of Boolean operations.
-
AND, OR, NOT gates
-
-
Digital Logic Families: Types of IC technologies:
-
TTL (Transistor-Transistor Logic)
-
CMOS (Complementary MOS)
-
ECL (Emitter-Coupled Logic)
-
2.4 Universal Gates (NAND and NOR), Other Gates (XOR, XNOR)
-
Universal Gates: Can implement any Boolean function.
-
NAND gate
-
NOR gate
-
-
Other Gates:
-
XOR (Exclusive OR): Output 1 if inputs are different.
-
XNOR (Exclusive NOR): Output 1 if inputs are the same.
-
2.5 Boolean Identities, De Morgan’s Laws
-
Boolean Identities: Rules to simplify expressions. Examples:
-
A + 0 = A, A·1 = A, A + A = A, A·A = A
-
-
De Morgan’s Laws: Convert AND ↔ OR with complements:
-
(A·B)’ = A’ + B’
-
(A + B)’ = A’·B’
🔹 Basic Logic Gates
1. NOT Gate (Inverter)
Equation:
Truth Table:
2. AND Gate
Equation: (sometimes written as )
Truth Table:
3. OR Gate
Equation:
Truth Table:
🔹 Universal Gates
4. NAND Gate (NOT-AND)
Equation:
Truth Table:
5. NOR Gate (NOT-OR)
Equation:
Truth Table:
🔹 Exclusive Gates
6. XOR (Exclusive-OR)
Equation:
Truth Table:
7. XNOR (Exclusive-NOR / Equivalence)
Equation:
Truth Table:
✅ Summary Table (Equations Only)
| Gate | Symbol | Equation |
|---|---|---|
| NOT | Inverts input | |
| AND | Outputs 1 if both are 1 | |
| OR | Outputs 1 if any is 1 | |
| NAND | Inverse of AND | |
| NOR | Inverse of OR | |
| XOR | Outputs 1 if inputs differ | |
| XNOR | Outputs 1 if inputs are same |
Comments
Post a Comment