How cherry-txt/hamming-code-detector- works
This repository contains a small interactive Hamming(15,11) detector: a user enters 15 bits, the script calculates four even-parity checks, combines them into a syndrome, and flips the indicated bit when the syndrome is nonzero. The README also describes a C codeword generator, but its source is absent from the provided tree, so it is not mapped as an implemented component. The workflow is based on the excerpted Python script and README.
Main entry points: Hammingdetect.py Bit input
Components 5
Other components
- User
- Bit input
Hammingdetect.py - Parity checks
Hammingdetect.py - Syndrome
Hammingdetect.py - Bit correction
Hammingdetect.py
Connections 4
- User → Bit input: enters bits
README.md - Bit input → Parity checks: checks bits
Hammingdetect.py - Parity checks → Syndrome: forms syndrome
Hammingdetect.py - Syndrome → Bit correction: flips indicated bit
Hammingdetect.py