Some Transistor Gates + Implementation for deepening my knowledge about transistor gates.
A | Q |
---|---|
0 | 1 |
1 | 0 |
there exist alternative implementations of the NOT gate / Inverter gate but this is the smallest in size(and probably also the fastest), other implementations use NAND or NOR gates that have both gate inputs tied to the same driver, this is because both NAND, NOR or XNOR gates are naturally inverting.
A | Q |
---|---|
0 | 0 |
1 | 1 |
2 inverters back to back, in the end Output is equal to the input, regeneration of the signal happens because output is taken straight from the power rails(VDD/VSS) rather then the input
A | B | Q |
---|---|---|
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |
A\B | 0 | 1 |
---|---|---|
0 | 0 | 1 |
1 | 1 | 1 |
A | B | Q |
---|---|---|
0 | 0 | 1 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 0 |
A\B | 0 | 1 |
---|---|---|
0 | 1 | 0 |
1 | 0 | 0 |
Inverted EQUALITY checker, if inputs are not the same then return True
A | B | Q |
---|---|---|
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
A\B | 0 | 1 |
---|---|---|
0 | 0 | 1 |
1 | 1 | 0 |
- sum of products =
$B \cdot \overline{A} + A \cdot \overline{B}$ - product of sums =
$A+B \cdot \overline{A} + \overline{B}$
Achieved through:
Size: 16 transistors = 4 x NAND2 = 4 x 4 = 16
Size: 20 transistors = 5 x NOR2 = 5 x 4 = 20
size: 20 transistors = 2 x NAND2 + 4 x NOT + 1 x NOR2 = 2 x 4 + 4 x 2 + 1 x 4 = 20
To generate a XOR we will get:
size: 12 transistors = 1x8 + 2xNOT = 1x8 + 2x2 = 12
Schematic a) is created as if
Going from a) to b) could be imagined as untwisting a)'s PUN.
EQUALITY checker, if inputs are the same return True
A | B | Q |
---|---|---|
0 | 0 | 1 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
A\B | 0 | 1 |
---|---|---|
0 | 1 | 0 |
1 | 0 | 1 |
A | B | Q |
---|---|---|
0 | 0 | 0 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
A | B | Q |
---|---|---|
0 | 0 | 1 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
A | B | C | Q |
---|---|---|---|
0 | 0 | 0 | 1 |
0 | 0 | 1 | 1 |
0 | 1 | 0 | 1 |
0 | 1 | 1 | 1 |
1 | 0 | 0 | 1 |
1 | 0 | 1 | 1 |
1 | 1 | 0 | 1 |
1 | 1 | 1 | 0 |
AB\C | 0 | 1 |
---|---|---|
00 | 1 | 1 |
01 | 1 | 1 |
11 | 1 | 0 |
10 | 1 | 1 |
A | B | C | Q |
---|---|---|---|
0 | 0 | 0 | 0 |
0 | 0 | 1 | 1 |
0 | 1 | 0 | 1 |
0 | 1 | 1 | 0 |
1 | 0 | 0 | 1 |
1 | 0 | 1 | 0 |
1 | 1 | 0 | 0 |
1 | 1 | 1 | 1 |
AB\C | 0 | 1 |
---|---|---|
00 | 0 | 1 |
01 | 1 | 0 |
11 | 0 | 1 |
10 | 1 | 0 |