variable state : std_logic_vector(7 downto 0) := "00000001";
variable direction : std_logic := '0';
begin
if (rising_edge(clk_i)) then
variable state : std_logic_vector(7 downto 0) := "00000001";
variable direction : std_logic := '0';
begin
if (rising_edge(clk_i)) then