AND gate: Difference between revisions

From Fox Labs Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
Line 25: Line 25:


An AND gate can be constructed using two NAND gates or three NOR gates in the following topologies:
An AND gate can be constructed using two NAND gates or three NOR gates in the following topologies:
[[File:AND from NAND ANSI.svg|left|thumb|251x251px|An AND gate constructed from two NAND gates]]
{|
[[File:AND from NOR ANSI.svg|none|thumb|236x236px|An AND gate constructed from three NOR gates]]
![[File:AND from NAND ANSI.svg|left|251x251px|An AND gate constructed from two NAND gates]]
![[File:AND_from_NOR_ANSI.svg|265x265px]]
|}
{{Stub}}
{{Stub}}



Latest revision as of 19:26, 8 November 2023

AND gate truth table
Input Output
A B A AND B
0 0 0
0 1 0
1 0 0
1 1 1
ANSI AND gate symbol

In digital electronics, an AND gate is a logic gate which produces an output of true when all its inputs are true. A LOW (0) output results when any of the inputs to the gate are LOW; if all of the inputs are HIGH (1), a HIGH output results.

Logic

A two-input AND gate can be expressed in Boolean logic as , or .

Alternatives

If a specific type of gate is not available, a circuit that implements the same function can be constructed from other available gates. Through the use of the "universal" NAND gates and NOR gates, almost any other Boolean logic gate can be constructed.

An AND gate can be constructed using two NAND gates or three NOR gates in the following topologies:

An AND gate constructed from two NAND gates
An AND gate constructed from two NAND gates

See also