Bit Reverser

Reverse the bit order of an 8-bit word: out[7] = in[0], out[6] = in[1], and so on, so 10100000 becomes 00000101.

Input: in, 8 bits.
Output: out, 8 bits.

The testbench applies all 256 inputs.

Contributed by Indicore

Compiler Output
Waveform Viewer