At each rising edge, shift right when shift_right is high, otherwise shift left. Load serial_in into the vacated position.
At each rising edge, shift right when shift_right is high, otherwise shift left. Load serial_in into the vacated position.