Home › Practice › RTL Design › 8-bit conditional bit reverser
8-bit conditional bit reverser
EasyRTLcombinational
Build a byte-order bit-reversal stage for serial interfaces (MSB-first vs LSB-first).
- When
rev=1, reverse the bit order ofa:y[7] = a[0],y[6] = a[1], ...,y[0] = a[7]. - When
rev=0, passastraight through:y = a. - No clock.
No install and no sign-up needed. You write your answer in the editor and Nishkam checks it.