Even Parity Generator

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

Compiler Output
Waveform Viewer