Digital Unit-2 Basic Gates
Digital Unit-2 Basic Gates
Logic Gates
• Logic gates are the fundamental components of all digital
circuits and systems.
• A logic gate is basically an electronic circuit designed by using
components like diodes, transistors, resistors, capacitors,
etc., and capable of performing logical operations.
• A logic gate can take two or more inputs but only produce one
output.
• The output of a logic gate depends on the combination of
inputs and the logical operation that the logic gate performs.
• In digital electronics, there are seven main types of logic
gates used to perform various logical operations.
• Logic gates, use logic to determine whether or
not to pass a signal.
• Logic gates, on the other hand, govern the
flow of information based on a set of rules.
Types of Logical Gates
• 1. Basic Logic Gates
• There are three basic logic gates:
• AND Gate
• OR Gate
• NOT Gate
• 2. Universal Logic Gates
• In digital electronics, the following two logic gates are considered as universal
logic gates:
• NOR Gate
• NAND Gate
• 3. Derived Logic Gates
• The following two are the derived logic gates used in digital systems:
• XOR Gate
• XNOR Gate
AND Gate
OR GATE
NOT GATE
NOT GATE
NOR GATE
BOOLEAN ALGEBRA
• Boolean algebra can be considered as an
algebra that deals with binary variables and
logic operations.
• A mathematician, named George Boole had
developed this algebra in 1854.
• Boolean Algebra is used to analyze and
simplify the digital (logic) circuits.
• It uses only the binary numbers i.e. 0 and 1. It
is also called as Binary Algebra or logical
Algebra.
• The variables used in this algebra are also
called as Boolean variables.
• The range of voltages corresponding to Logic
‘High’ is represented with ‘1’ and the range of
voltages corresponding to logic ‘Low’ is
represented with ‘0’.
• The Boolean algebraic functions are mostly
expressed with binary variables, logic
operation symbols, parentheses, and equal
sign.
• Example: F = x + y'z
Boolean Algebra Laws
Rules for product operation: (or)
AND law