Transistors as Switches
• VBB voltage controls whether the transistor
conducts in a common base configuration.
A B C
0 0 0
Both inputs has to be high 0 1 0
To get a sensible output 1 0 0
While acting as a switch it 1 1 1
Will work as a series.
OR
Current flows if either switch is closed
¤ Logic notation A + B = C
A B C
0 0 0
Any one inputs has to be high
0 1 1
To get a sensible output
While acting as a switch it 1 0 1
Will work as as parallel 1 1 1
Inversion (NOT)
A Q
0 1
Logic: QA 1 0
Exclusive OR (XOR)
A B AB AB
Accumulating our results: Binary addition is the
result of XOR plus AND
NAND (NOT AND)
A B Q
Q AB 0 0 1
0 1 1
1 0 1
1 1 0
NOR (NOT OR)
A B Q
QAB 0 0 1
0 1 0
1 0 0
1 1 0
Exclusive NOR
Q AB A B Q
0 0 1
0 1 0
Equality Detector
1 0 0
1 1 1
Summary
Summary for all 2-input gates
0 0 0 1 0 1 0 1
0 1 0 1 1 0 1 0
1 0 0 1 1 0 1 0
1 1 1 0 1 0 0 1
Logic Gates and Symbols
AND
NAND
More Gates and Symbols
OR
NOR
NOT
And More
XOR
NXOR