File size: 566 Bytes
21ed043 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
---
license: mit
tags:
- pytorch
- safetensors
- threshold-logic
- neuromorphic
- error-correction
- bch
- hamming
---
# threshold-bch-encoder
BCH(7,4) encoder (Hamming code). Encodes 4 data bits to 7-bit codeword. Can correct 1 error.
## Encoding
```
D3 D2 D1 D0 β C6 C5 C4 C3 C2 C1 C0
βββββββββββ ββββββββ
data bits parity
```
## Parameters
| | |
|---|---|
| Data bits | 4 |
| Codeword | 7 |
| Correction | 1 bit |
| Parameters | 65 |
## License
MIT
|