16-bit CPU built in Python documentation
A 16-bit CPU built in Python by Neo Sahadeo.
The documentation explains the interal logic of the CPU.
The documentation does not contain circuit diagrams; it does include the relevant logic gates.
The main Github repository https://github.com/NeoSahadeo/16Bit-Python-CPU
- Implementation Specific (implspec.py)
- Units (units.py)
- Memory (memory.py)
- Processor (processor.py)
- Main (main.py)
- API Reference
generate16Bits()
generate4Bits()
generate8Bits()
generateStreamBits()
isLessThanZero()
pushToTuple()
tupleToBinary()
LogicGates
LogicGates16
HalfAdder
FullAdder
MultiBitAdder
BitAdder16
Increment16
Subtract16
Switch
LogicUnit
ArithmeticUnit
ALU
Conditions
SRLatch
DataLatch
DataFlipFlop
Register
Counter
RAM
UnifiedMemory
Instruction
ControlUnit