Digital Electronics/Logic Gates/Fundamental Digital Gates

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Digital Gates[edit]

Digital gate is a Digital Device used to perform the logic operation on the input(s) to produce an equivalent logic in the output. The output produced from the inputs are listed in a table called a Truth table. The relation between output and inputs can also be represented by a mathematic equation .

There are 5 basic digital gates used to perform Logic Operation namely Buffer, NOT, AND, OR, XOR

Basic Digital Gates[edit]

Basic Logic Gates Symbol Mathmatical Formula Truth Table
Buffer Buffer ANSI Labelled.svg Q = A
A Q
0 0
1 1
NOT NOT ANSI Labelled.svg Q = NOT A
A Q
0 1
1 0
AND AND Gate Q = A . B
A B Q
0 0 0
0 1 0
1 0 0
1 1 1
OR Logic-gate-or-us.png Q = A + B
A B Q
0 0 0
0 1 1
1 0 1
1 1 1
XOR XOR ANSI Labelled.svg Q = A (+) B
A B Q
0 0 0
0 1 1
1 0 1
1 1 0