Logic gate: Difference between revisions
Jump to navigation
Jump to search
(Created page with "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 = {{Table alignment}} {| class="wikitable defaultcenter" |+ !Type !ANSI symbol !Boolean algebra !Truth table |- ! colspan="4" |Single-input gates |- |Buffer |File:Buffer ANSI.svg |<math>A</math> | |- |Inverter |File:Inverter ANSI.svg |<math>\overline A</math>...") |
mNo edit summary |
||
| Line 16: | Line 16: | ||
|<math>A</math> | |<math>A</math> | ||
| | | | ||
{{Table alignment}} | |||
{| class="wikitable defaultcenter" | |||
|- style="background:#def;" | |||
|'''Input''' || '''Output''' | |||
|- style="background:#def;" | |||
| A || Q | |||
|- | |||
| {{no2|0}} || {{no2|0}} | |||
|- | |||
| {{yes2|1}} || {{yes2|1}} | |||
|} | |||
|- | |- | ||
|[[Inverter]] | |[[Inverter]] | ||
| Line 21: | Line 32: | ||
|<math>\overline A</math> or <math>\neg A</math> | |<math>\overline A</math> or <math>\neg A</math> | ||
| | | | ||
{{Table alignment}} | |||
{| class="wikitable defaultcenter" | |||
|- style="background:#def; text-align:center;" | |||
| '''Input''' || '''Output''' | |||
|- style="background:#def; text-align:center;" | |||
| A || Q | |||
|- | |||
| {{no2|0}} || {{yes2|1}} | |||
|- | |||
| {{yes2|1}} || {{no2|0}} | |||
|} | |||
|- | |- | ||
| | | | ||
Revision as of 06:55, 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} | ||||||||||