Logic gate
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 |
| ||||||||||||||||||||
| Inverter | or |
| |||||||||||||||||||
| AND gate | or |
| |||||||||||||||||||
| OR gate | or |
| |||||||||||||||||||
| NAND gate | or |
| |||||||||||||||||||
| NOR gate | or |
| |||||||||||||||||||
| XOR gate | or |
| |||||||||||||||||||
| XNOR gate | or |
| |||||||||||||||||||