Logic Gates
Logic Gates
Logic gates
(AND, OR, XOR, NOT, NAND,
NOR and XNOR
What is a logic gate?
A logic gate is a device that acts as a building block for digital circuits. They
perform basic logical functions that are fundamental to digital circuits. Most
electronic devices we use today will have some form of logic gates in them.
For example, logic gates can be used in digital electronics such as smart
phones and tablets or in memory devices.
AND GATE the input terminals are on the left, and the output terminal is on
the right.) The output is "true" when both inputs are "true." Otherwise, the
output is "false." In other words, the output is 1 only when both inputs are 1.
OR GATE gets its name from behaving like the logical inclusive "or." The
output is true if one or both of the inputs are true. If both inputs are false,
then the output is false. In other words, for the output to be 1, at least one
input must be 1.
NOT GATE -is a logical inverter, sometimes called a NOT gate,has only
one input. A NOT gate reverses the logic state. If the input is 1, then the
output is 0. If the input is 0, then the output is 1.
XOR (exclusive-OR) GATE acts in the same way as the logical "either/or."
The output is true if either, but not both, of the inputs are true. The output is
false if both inputs are "false" or if both inputs are true. Similarly, the output
is 1 if the inputs are different but 0 if the inputs are the same.
XOR