Book creator (disable)

Electronics/Basic gates

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

Contents

[edit] Overview

There are six different basic gates used in performing logic operations:
AND, OR, NOT, NAND, NOR, and XOR gates

[edit] Basic Gates

[edit] AND Gate

When both inputs are high then the output will be high; otherwise the output will be low

AND gate
A B A.B
0 0 0
0 1 0
1 0 0
1 1 1

[edit] OR Gate

When either input is high then the output will be high; otherwise the output will be low

OR gate
A B A+B
0 0 0
0 1 1
1 0 1
1 1 1

[edit] NOT Gate

When the input is high, the output will be low; when the input is low, the output will be high

NOT gate
NOT
A A'
0 1
1 0

[edit] NAND Gate

When both inputs are high then the output will be low; otherwise the output will be high

NAND gate
A B Q
0 0 1
0 1 1
1 0 1
1 1 0

[edit] NOR Gate

When both inputs are low, the output will be high; otherwise the output will be low

NOR gate
NOR
A B Q
0 0 1
0 1 0
1 0 0
1 1 0

[edit] XOR gate

When one input are high and one is low, the output will be high; otherwise the output will be low

XOR gate
XOR
A B Q
0 0 0
0 1 1
1 0 1
1 1 0