--- license: mit tags: - pytorch - safetensors - threshold-logic - neuromorphic - error-correction - bch - hamming --- # threshold-bch-decoder BCH(7,4) decoder. Extracts data bits and computes syndrome. ## Decoding ``` R6 R5 R4 R3 R2 R1 R0 → D3 D2 D1 D0 | S2 S1 S0 ────────── ──────── data syndrome ``` Syndrome = 0 means no error. ## Parameters | | | |---|---| | Inputs | 7 | | Outputs | 7 | | Parameters | 128 | ## License MIT