Odd Parity Generator

Generate an odd parity bit for an 8-bit data word: parity is 1 when the data has an even number of ones, so that data plus parity always contains an odd number of ones. Input: data, 8 bits. Output: parity, 1 bit. The testbench applies all 256 data values.

Compiler Output
Waveform Viewer