Logic gate: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
| Line 43: | Line 43: | ||
| {{yes2|1}} || {{no2|0}} | | {{yes2|1}} || {{no2|0}} | ||
|} | |} | ||
|- | |- | ||
|[[AND gate]] | |[[AND gate]] | ||
| Line 53: | Line 48: | ||
|<math>A \cdot B</math> or <math>A \land B</math> | |<math>A \cdot B</math> or <math>A \land B</math> | ||
| | | | ||
{{Table alignment}} | |||
{| class="wikitable defaultcenter" | |||
|- style="background:#def;" | |||
| colspan="2" |'''Input''' || '''Output''' | |||
|- style="background:#def;" | |||
| A || B || Q | |||
|- | |||
| {{no2|0}} || {{no2|0}} || {{no2|0}} | |||
|- | |||
| {{no2|0}} || {{yes2|1}} || {{no2|0}} | |||
|- | |||
| {{yes2|1}} || {{no2|0}} || {{no2|0}} | |||
|- " | |||
| {{yes2|1}} || {{yes2|1}} || {{yes2|1}} | |||
|} | |||
|- | |- | ||
|[[OR gate]] | |[[OR gate]] | ||
| Line 58: | Line 68: | ||
|<math>A + B</math> or <math>A \lor B</math> | |<math>A + B</math> or <math>A \lor B</math> | ||
| | | | ||
{{Table alignment}} | |||
{| class="wikitable defaultcenter" | |||
|- style="background:#def;" | |||
| colspan="2" |'''Input'''|| '''Output''' | |||
|- style="background:#def" | |||
| A || B || Q | |||
|- | |||
| {{no2|0}} || {{no2|0}} || {{no2|0}} | |||
|- | |||
| {{no2|0}} || {{yes2|1}} || {{yes2|1}} | |||
|- | |- | ||
| | | {{yes2|1}} || {{no2|0}} || {{yes2|1}} | ||
| | |- | ||
| | | {{yes2|1}} || {{yes2|1}} || {{yes2|1}} | ||
| | |} | ||
|- | |- | ||
|[[NAND gate]] | |[[NAND gate]] | ||
| Line 68: | Line 88: | ||
|<math>\overline { A \cdot B }</math> or <math>\neg(A \land B)</math> | |<math>\overline { A \cdot B }</math> or <math>\neg(A \land B)</math> | ||
| | | | ||
{{Table alignment}} | |||
{| class="wikitable defaultcenter" | |||
|- style="background:#def;" | |||
| colspan="2" |'''Input'''|| '''Output''' | |||
|- style="background:#def;" | |||
| A || B || Q | |||
|- | |||
| {{no2|0}} || {{no2|0}} || {{yes2|1}} | |||
|- | |||
| {{no2|0}} || {{yes2|1}} || {{yes2|1}} | |||
|- | |||
| {{yes2|1}} || {{no2|0}} || {{yes2|1}} | |||
|- | |||
| {{yes2|1}} || {{yes2|1}} || {{no2|0}} | |||
|} | |||
|- | |- | ||
|[[NOR gate]] | |[[NOR gate]] | ||
| Line 73: | Line 108: | ||
|<math>\overline { A + B }</math> or <math>\neg(A \lor B)</math> | |<math>\overline { A + B }</math> or <math>\neg(A \lor B)</math> | ||
| | | | ||
{{Table alignment}} | |||
{| class="wikitable defaultcenter" | |||
|- style="background:#def;" | |||
| colspan="2" |'''Input''' || '''Output''' | |||
|- style="background:#def;" | |||
| A || B || Q | |||
|- | |||
| {{no2|0}} || {{no2|0}} || {{yes2|1}} | |||
|- | |||
| {{no2|0}} || {{yes2|1}} || {{no2|0}} | |||
|- | |||
| {{yes2|1}} || {{no2|0}} || {{no2|0}} | |||
|- | |- | ||
| | | {{yes2|1}} || {{yes2|1}} || {{no2|0}} | ||
| | |} | ||
| | |||
| | |||
|- | |- | ||
|[[XOR gate]] | |[[XOR gate]] | ||
| Line 83: | Line 128: | ||
|<math>A \oplus B</math> or <math>A \underline \lor B</math> | |<math>A \oplus B</math> or <math>A \underline \lor B</math> | ||
| | | | ||
{{Table alignment}} | |||
{| class="wikitable defaultcenter" | |||
|- style="background:#def;" | |||
| colspan="2" |'''Input'''|| '''Output''' | |||
|- style="background:#def;" | |||
| A || B || Q | |||
|- | |||
| {{no2|0}} || {{no2|0}} || {{no2|0}} | |||
|- | |||
| {{no2|0}} || {{yes2|1}} || {{yes2|1}} | |||
|- | |||
| {{yes2|1}} || {{no2|0}} || {{yes2|1}} | |||
|- | |||
| {{yes2|1}} || {{yes2|1}} || {{no2|0}} | |||
|} | |||
|- | |- | ||
|[[XNOR gate]] | |[[XNOR gate]] | ||
| Line 88: | Line 148: | ||
|<math>\overline { A \oplus B }</math> or <math>A \odot B</math> | |<math>\overline { A \oplus B }</math> or <math>A \odot B</math> | ||
| | | | ||
{{Table alignment}} | |||
{| class="wikitable defaultcenter" | |||
|- style="background:#def;" | |||
| colspan="2" |'''Input'''|| '''Output''' | |||
|- style="background:#def;" | |||
| A || B || Q | |||
|- | |||
| {{no2|0}} || {{no2|0}} || {{yes2|1}} | |||
|- | |||
| {{no2|0}} || {{yes2|1}} || {{no2|0}} | |||
|- | |||
| {{yes2|1}} || {{no2|0}} || {{no2|0}} | |||
|- | |||
| {{yes2|1}} || {{yes2|1}} || {{yes2|1}} | |||
|} | |||
|} | |} | ||
{{Stub}} | {{Stub}} | ||
= See also = | |||
* [[Combinational logic]] | |||
* [[List of 4000 series integrated circuits]] | |||
* [[List of 7400 series integrated circuits]] | |||
* [[Logic level]] | |||
{{Digital systems}} | |||
[[Category:Logic gates]] | [[Category:Logic gates]] | ||
Revision as of 14:47, 9 November 2023
A logic gate is an idealized or physical device that performs a Boolean function, a logical operation performed on one or more binary inputs that produces a single binary output.
Symbols
| Type | ANSI symbol | Boolean algebra | Truth table | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Single-input gates | |||||||||||||||||||||
| Buffer | Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle A} |
| |||||||||||||||||||
| Inverter | Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \overline A} or Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \neg A} |
| |||||||||||||||||||
| AND gate | Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle A \cdot B} or Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle A \land B} |
| |||||||||||||||||||
| OR gate | Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle A + B} or Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle A \lor B} |
| |||||||||||||||||||
| NAND gate | Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \overline { A \cdot B }} or Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \neg(A \land B)} |
| |||||||||||||||||||
| NOR gate | Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \overline { A + B }} or Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \neg(A \lor B)} |
| |||||||||||||||||||
| XOR gate | Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle A \oplus B} or Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle A \underline \lor B} |
| |||||||||||||||||||
| XNOR gate | Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \overline { A \oplus B }} or Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle A \odot B} |
| |||||||||||||||||||