0% found this document useful (0 votes)
37 views3 pages

Logic Gates

Logic gates are basic building blocks of digital circuits that have inputs and one output. The output of logic gates is either high (1) or low (0) depending on the inputs and the type of gate. Common logic gates include AND, OR, XOR, NOT, NAND, NOR, and XNOR gates, each with different rules for determining if the output is high or low based on the input values.

Uploaded by

Naren Goenka
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views3 pages

Logic Gates

Logic gates are basic building blocks of digital circuits that have inputs and one output. The output of logic gates is either high (1) or low (0) depending on the inputs and the type of gate. Common logic gates include AND, OR, XOR, NOT, NAND, NOR, and XNOR gates, each with different rules for determining if the output is high or low based on the input values.

Uploaded by

Naren Goenka
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

A logic gate is an elementary building block of a digital circuit .

Most logic gates have two inputs and one output. At any given moment, every terminal is in one of the two binary conditions low (0) or high (1), represented by different voltage levels.

The AND gate The output is "true" when both inputs are "true." Otherwise, the output is "false."

AND gate Input 1 0 0 1 1 Input 2 0 1 0 1 Output 0 0 0 1

The OR gate " The output is "true" if either or both of the inputs are "true." If both inputs are "false," then the
output is "false."

OR gate Input 1 Input 2 Output 0 0 1 1 0 1 0 1 0 1 1 1

The XOR ( exclusive-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

XOR gate Input 1 Input 2 Output

0 0 1 1

0 1 0 1

0 1 1 0

A logical inverter , sometimes called a NOT gate to differentiate it from other types of electronic inverter devices, has only one input. It reverses the logic state.

Inverter or NOT gate Input Output 1 0 0 1

The NAND gate operates as an AND gate followed by a NOT gate. It acts in the manner of the logical
operation "and" followed by negation. The output is "false" if both inputs are "true." Otherwise, the output is "true."

NAND gate Input 1 Input 2 Output 0 0 1 1 0 1 0 1 1 1 1 0

The NOR gate is a combination OR gate followed by an inverter. Its output is "true" if both inputs are "false." Otherwise, the output is "false."

NOR gate Input 1 Input 2 Output 0 0 1 1 0 1 0 1 1 0 0 0

The XNOR (exclusive-NOR) gate is a combination XOR gate followed by an inverter. Its output is "true" if
the inputs are the same, and"false" if the inputs are different.

XNOR gate Input 1 Input 2 Output 0 0 1 1 0 1 0 1 1 0 0 1

You might also like