HDLbits
Browse Problems

Circuits/Sequential Logic

Enabled Shift Register

easy
shift-registerenablesequential

On a rising edge with enable high, shift the byte left and load serial_in into bit 0. Otherwise keep the current state.