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()LogicGatesLogicGates16HalfAdderFullAdderMultiBitAdderBitAdder16Increment16Subtract16SwitchLogicUnitArithmeticUnitALUConditionsSRLatchDataLatchDataFlipFlopRegisterCounterRAMUnifiedMemoryInstructionControlUnit