Link to this headingGates
Building a Modern Computer From First Principles
Game to Create all Circuits
Link to this headingNot Gate
+5V
|
Resistor
|
|----- Out
|
/(C)
In ---(B) Transistor
\(E)
|
|
Ground
Link to this headingOR Gate
+5V
|
Resistor
|
|--------------\
| |
| |
| /(C)
| In A ----(B) Transistor
| \(E)
| |
| |
| |
| |
/(C) |
In ---(B) Transistor |
\(E) |
| |
|--------------+---- Out
|
Ground
Link to this headingNOR Gate
+5V
|
|
Resistor
|
+----- Out
|
|
+----------------\
| |
| |
/(C) |
In A -----(B) Transistor |
\(E) |
| |
| |
| /(C)
| In B -----(B) Transistor
| \(E)
| |
| |
| |
Ground Ground
Link to this headingNAND gate
+5V
|
Resistor
|
+------------Out
|
|
/(C)
In A -----(B) Transistor
\(E)
|
|
|
|
/(C)
In B -----(B) Transistor
\(E)
|
|
|
Ground
Link to this headingAND gate
+5V
|
|
/(C)
In A -----(B) Transistor
\(E)
|
|
/(C)
In B -----(B) Transistor
\(E)
|
+----- Out
|
|
Resistor
|
|
Ground
Link to this headingXOR Gate
-------------------|-----\
/ | NAND |---\
Input A ------|-----\ ----|-----/ ---|-----\
| NAND |----/ | NAND |---- Output
Input B ------|-----/ \----|-----\ ---|-----/
\ | NAND |---/
--------------------|-----/
Link to this headingMultiplexer
Input A -----------------------|-----\
---------------- | NAND |---\
/ --|-----\ \----|-----/ ---|-----\
Select ----| | NAND |---- | NAND |---- Output
--|-----/ \----|-----\ ---|-----/
| NAND |---/
Input B -----------------------|-----/
Link to this headingDeMultiplexer
Input A -------------------------------|-----\ ---|-----\
| | NAND |----| | NAND |---- Output A
| --|-----\ ---|-----/ ---|-----/
| Select ----| | NAND |--/
| \ --|-----/ --|-----\ ---|-----\
| ---------------/ | NAND |----| | NAND |---- Output B
\------------------------------|-----/ ---|-----/
Link to this headingHalf Adder
--------------------|-----\
/ | NAND |---\
| -------|-----/ -----\
| | -----\
Input A -------|-----\ | ----|-----\ ---|-----\
| NAND |--|--| | NAND |--- Carry | NAND |--- Sum
Input B -------|-----/ | ----|-----/ ---|-----/
| | -----/
| -------|-----\ -----/
\ | NAND |---/
--------------------|-----/
Link to this headingFull Adder
Carry In -----------------------------|------------|--- Sum
| Half Carry |
Input A ---|------------|--- Sum ----|------------|--- Carry ---\----\
| Half adder | | OR |--- Carry
Input B |------------|--- Carry -----------------------------/----/
Link to this headingALU
Link to this headingSet Reset Flip-Flop
Reset -------------------|-----\
| NAND |-------- Q
------|-----/ |
| |
-----------------------/
| |----------------
| \
----------|-----\ |
| NAND |--------- Not Q
Set --------------------|-----/
Link to this headingData Flip-Flop
Data --------------------|-----\
| | NAND |------|-----\
| ---|-----/ | NAND |------ Data
| | ---|-----/ |
| | | |
| | | /-------
| Clock ---| --- | ----
| | | |
| | | -------------
| | ------|-----\ |
| |----\ ---|-----\ | NAND |------ Not(Data)
--| NOT >--- | NAND |------|-----/
|----/ \-----|-----/
Link to this headingRAM
Link to this headingPC