Logic gate: Difference between revisions

From Fox Labs Wiki
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
Input Output
A Q
0 0
1 1
Inverter or
Input Output
A Q
0 1
1 0
AND gate or
OR gate or
NAND gate or
NOR gate or
XOR gate or
XNOR gate or