Professional Documents
Culture Documents
Electronics &
Computer
Organization
Circuit Designing
Boolean Laws
Techniques
Definition
Logic Gates :
Introduction Binary input and outputs
These rules are derived from Boolean algebra, a branch of mathematics that
deals with logical operations.
Basic Operation:
NOT NAND
Gate Gate
Types of Gates: NOR XOR
Gate Gate
XNOR
gate
Function
Truth Table
Application
The AND gate performs a
logical conjunction operation.
It outputs a 1 (HIGH) only
Function: when ALL of its inputs are 1
(HIGH).
If any input is 0 (LOW), the
output becomes 0 (LOW)
Symbol and Logical Operation:
• Function
• Symbol and logic Operation
• Truth Table
• Applications
Function
• Negation in logical expressions: It can be used to negate (reverse the truth value)
of a single condition. For example, in a security system, an "armed" signal (A) might
be used to trigger an alarm when negated (¬A), indicating the system is disarmed.
• Signal conditioning: NOT gates can be used to invert signals for various purposes.
For example, in a communication system, a data signal might be transmitted in its
inverted form using a NOT gate, and then inverted back at the receiver for proper
interpretation.
• Creating other logic gates: By combining NOT gates with other logic gates like AND
and OR, we can create more complex logic gates like NAND and NOR, which are
essential building blocks for digital circuits.
NAND Gate
The NAND gate stands out as a unique and powerful logic
gate, earning its title as the universal gate.
No specific symbol
Represented by a
for XOR operation,
triangular shape with
but commonly
two inputs and one
denoted by A ⊕ B
output.
(read as A XOR B).
Truth Table
Odd Number Detector: A simple application is
detecting odd numbers. If you connect two binary
inputs to an XOR gate, the output will be 1 only if
there's an odd number of 1s at the inputs (e.g., 01
XOR 10 = 1).
Applications:
Data Encryption: XOR gates are fundamental in
encryption algorithms where data is scrambled by
XORing it with a secret key.
Binary Arithmetic: XNOR gates are used to detect equal values in binary addition and subtraction.
Parity Checking: XNOR gates are utilized to ensure even or odd parity in data.
Latch and Flip-Flop Control: XNOR gates enable or disable storage elements.
Data Storage: They improve data storage efficiency when combined with SRAM cells.
Full Adders and ALUs: XNOR gates are integral in performing arithmetic operations in digital circuits.
De Morgan's Laws
Why ?
Simplifying Logic Circuits: They allow you to rewrite complex logic expressions using only AND, OR, and
NOT gates. This can sometimes lead to simpler and more efficient circuit designs with fewer gates.
Versatility with NAND Gates: Since NAND gates can be used to build all other logic gates (AND, OR, NOT),
De Morgan's Laws become even more crucial. By applying these laws, you can create any desired logic
function using only NAND gates, which can be beneficial in situations where limited gate types are available.
Understanding Relationships: They help us understand the relationships between the fundamental
operations of AND, OR, and NOT. By manipulating expressions using De Morgan's Laws, we can see how
these operations are interrelated and how they can be used to build more complex logic.
De Morgan's Laws:
Simplifying the World
of Logic
De Morgan's Laws state that the negation (NOT) of a
combined expression (either AND or OR) is equivalent to
the individual negations combined with the opposite
operation.
1. First Law: The NOT of an OR is equal to the AND of the
individual NOTs.
2. Second Law: The NOT of an AND is equal to the OR of
the individual NOTs.
Relationship Between AND, OR, and NOT:
Complementing Operations: They show how negating a combined expression (AND or OR) can be
achieved by negating each individual term and then combining them with the opposite operation.
• Introduction
• Common Boolean Laws
• Applications of Boolean Laws
Boolean Algebra: The Logic Behind the
Digital World
Boolean algebra, named after mathematician George Boole, forms the
foundation of digital logic.
It's a branch of mathematics that deals with variables that can only have two
values: 0 (false) and 1 (true).
These values can represent various things in digital circuits, like the state of a
switch (on/off), the presence of a voltage (high/low), or the truth value of a
statement (true/false).
Basic Operations:
1. AND (⋅ or &): Represents a conjunction
(both conditions must be true). Output is 1
only if both inputs are 1.
2. OR (+) : Represents a disjunction (at least
one condition must be true). Output is 1 if at
least one input is 1.
3. NOT (¬): Represents negation (inverts the
input). Output is 1 if the input is 0, and vice
versa.
Axioms (Postulates):
• A variable is either 0 or 1 (Law of excluded middle).
• A variable is not both 0 and 1 (Law of non-
contradiction).
• A variable and its negation are opposite (¬A ≠ A).
Laws of Boolean
algebra
• Commutative Law: A ⊕ B = B ⊕ A
• (works for AND, OR)
• Associative Law: (A ⊕ B) ⊕ C = A ⊕ (B ⊕ C)
• (works for AND, OR)
• Distributive Law: A ⊕ (B ⋅ C) = (A ⊕ B) ⋅ (A
⊕ C)
• (works for AND, OR)
• De Morgan's Laws: These relate negation to
AND/OR operations (discussed separately).
Commutative Law :
Associative Law
Distributive Law:
• the distributive law for OR form:
• A(B + C) = AB + AC
• the distributive law for AND form:
• P.(Q + R) = P.Q + P.R
Rules of Boolean algebra
Circuit Designing
Techniques
• Introduction
• Sum-of-Products (SOP)
• Product-of-Sums (POS)
• Karnaugh Map (K-Map)
• Choosing the Right Technique
Unveiling the Tools: Techniques for Circuit Design
a Truth
Table: All AND terms are connected to an M-input OR
gate, where M is the number of ‘1’ output rows.
a Truth
Table: All OR terms are connected to an M-input AND
gate, where M is the number of ‘1’ output rows.