Hamming Code & Error Detection

Generate even-parity Hamming(7,4) or Hamming(12,8) codewords and simulate single-bit error syndrome correction. Built for Digital Logic, this workbench updates the hamming parity bit layout and scalar readouts in real time as parameters change.

Technical Reference & Equations

  • De Morgans Laws: \overline{A \cdot B} = \bar{A} + \bar{B}, \quad \overline{A + B} = \bar{A} \cdot \bar{B} (Break the bar and flip the operator between AND and OR.)
  • Hamming Parity Bit Requirement: 2^r \ge m + r + 1 (m: data bits, r: minimum parity bits placed at power-of-two positions 1, 2, 4, 8...)
  • Consensus & Absorption Identities: A + AB = A, \quad A + \bar{A}B = A + B (Core algebraic reductions mirrored visually by K-map groupings.)

View full Digital Logic Formula Sheet | Constants Table

Related Digital Logic Calculators