Introduction - If you have any usage issues, please Google them yourself
Shift register design the entire circuit is completed by a master timing process each rising edge of the clock, according to the value of the mode [1:0] is cleared, the left or right to operate in the master timing process completed by the case statement shift operation to complete the 8-digit hexadecimal number of bit-wise move for .... loop statement.