PREVIEW
Fig. 1 — Parity Generator and Checker INTERACTIVE

您将学到什么

  • Generate an even-parity bit with an XOR tree
  • Detect single-bit errors by comparing parity
  • See why XOR is the parity operation

工作原理

An XOR tree combines the four data bits into an even-parity bit (high when an odd number of data bits are 1). The checker XORs the generated parity against a received parity bit; a mismatch lights the Error output, catching single-bit errors.

使用的组件

实际应用

Memory and bus error detection, serial protocols (UART parity), and storage integrity checks.