AND gate
Input | Output | |
A | B | A AND B |
0 | 0 | 0 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
The AND gate is a basic digital logic gate that implements logical conjunction (∧) from mathematical logic – AND gate behaves according to the truth table. A HIGH output (1) results only if all the inputs to the AND gate are HIGH (1). If not all inputs to the AND gate are HIGH, LOW output results. The function can be extended to any number of inputs.
Discover more about AND gate related topics
Symbols
There are three symbols for AND gates: the American (ANSI or 'military') symbol and the IEC ('European' or 'rectangular') symbol, as well as the deprecated DIN symbol. Additional inputs can be added as needed. For more information see Logic gate symbols article. It can also be denoted as symbol "^" or "&".
MIL/ANSI symbol | IEC symbol | DIN symbol |
The AND gate with inputs A and B and output C implements the logical expression . This expression also may be denoted as or .
Discover more about Symbols related topics
Implementations
AND gate using diodes
AND gate using transistors
NMOS AND gate
An AND gate can be designed using only N-channel (pictured) or P-channel MOSFETs, but is usually implemented with both (CMOS). The digital inputs a and b cause the output F to have the same result as the AND function. AND gates may be made from discrete components and are readily available as integrated circuits in several different logic families.
Analytical representation
is the analytical representation of AND gate:
Alternatives
If no specific AND gates are available, one can be made from NAND or NOR gates, because NAND and NOR gates are "universal gates" ^{[1]} meaning that they can be used to make all the others.
Desired gate | NAND construction | NOR construction |
---|---|---|
Discover more about Implementations related topics
Source: "AND gate", Wikipedia, Wikimedia Foundation, (2023, January 26th), https://en.wikipedia.org/wiki/AND_gate.
See also
References
- ^ Mano, M. Morris and Charles R. Kime. Logic and Computer Design Fundamentals, Third Edition. Prentice-Hall, 2004. p. 73.
The content of this page is based on the Wikipedia article written by contributors..
The text is available under the Creative Commons Attribution-ShareAlike Licence & the media files are available under their respective licenses; additional terms may apply.
By using this site, you agree to the Terms of Use & Privacy Policy.
Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization & is not affiliated to WikiZ.com.