Parity Bit Appender

Extend a 7-bit data word to 8 bits by appending an even parity bit as the new most significant bit, so the 8-bit result always has an even number of ones.

Input: data, 7 bits.
Output: out, 8 bits = {parity, data}.

The testbench applies all 128 inputs.

Contributed by Indicore

Compiler Output
Waveform Viewer