Chargement…
Chargement…
Even parity: the total number of '1's (data + parity bit) must be even. Output o_parity is the computed parity bit. Output o_error indicates a parity error on the received word.
| Signal | Direction | Width | Description |
|---|---|---|---|
i_data | Input | 7 bits | Data |
o_parity | Output | 1 bit | Generated even parity bit |
i_word | Input | 8 bits | Full word (7 data + 1 parity) to check |
o_error | Output | 1 bit | '1' if parity error detected |