Circuits/Sequential Logic
On each rising edge, shift the stored bits toward bit 3 and load serial_in into bit 0.
serial_in