Logic gates are components used in digital circuits that perform logic operations. The document discusses three common logic gates: the NOT gate, which produces the inverse of its single input; the OR gate, which produces a true output if any input is true; and the AND gate, which only produces a true output if all inputs are true. Truth tables are provided to illustrate the output of each gate given different combinations of input values.
Logic gates are components used in digital circuits that perform logic operations. The document discusses three common logic gates: the NOT gate, which produces the inverse of its single input; the OR gate, which produces a true output if any input is true; and the AND gate, which only produces a true output if all inputs are true. Truth tables are provided to illustrate the output of each gate given different combinations of input values.
Logic gates are components used in digital circuits that perform logic operations. The document discusses three common logic gates: the NOT gate, which produces the inverse of its single input; the OR gate, which produces a true output if any input is true; and the AND gate, which only produces a true output if all inputs are true. Truth tables are provided to illustrate the output of each gate given different combinations of input values.
making logic circuits. Each gate has one or more inputs and produces a single output which depends upon the input(s) LOGIC GATE Input 1 Output as an (1 or more) electrical pulse What do Logic Gates do?
Provide control of information flow
Perform arithmetic and logic functions
Help to store information and provide
timing circuiting The NOT Gate When the switch is on …. the LED is off When the switch is off …. the LED is on
The NOT gate has only one input and
one output The output of the NOT gate is the inverse of its input. A not gate is also known as an inverter The NOT Gate – Truth Table
INPUT OUTPUT 0 1 1 0
The Boolean expression is written as:
P = NOT A or P = Ā The OR Gate
The output of an OR gate is TRUE if any
input is TRUE, otherwise the output is FALSE An OR gate have two or more inputs and one output The Or Gate – Truth Table
INPUT OUTPUT The Boolean
0 0 0 expression is 0 1 1 written as: 1 0 1 P = A OR B 1 1 1 or P = A + B The AND Gate
The output of an AND gate is similar to the
output given by a series electrical circuit The electric circuit shown below has 2 inputs (switches) A and B and 1 output P Truth Table of AND Gate
INPUT OUTPUT The Boolean
0 0 0 expression is 0 1 0 written as: 1 0 0 P = A AND B 1 1 1 or P = A . B