Logic Gates

Logic Gates

Below is a presentation of logic gates used in combinatorial logic, along with their truth tables.

You can manipulate these gates using a simulator, for example the one from CircuitVerse: https://circuitverse.org/simulator

NOT

The NOT gate is the simplest: it produces as output the inverse of its input.

inputoutput
10
01

AND

input1input2output
111
100
010
000

OR

input1input2output
111
101
011
000

NAND

input1input2output
110
101
011
001

XOR

input1input2output
110
101
011
000

NOR

input1input2output
110
100
010
001