+ if (spalte_up = '1') then
+ if (spalte > X"45") then
+ spalte_next <= "0000000";
+ zeile_tmp := to_integer(unsigned(zeile));
+ zeile_tmp := zeile_tmp + 1;
+ zeile_next <= hbyte(to_unsigned(zeile_tmp,8));
+ else
+ spalte_tmp := to_integer(unsigned(spalte));
+ spalte_tmp := spalte_tmp + 1;
+ spalte_next <= hbyte(to_unsigned(spalte_tmp,8));
+ zeile_next <= zeile;
+ end if;
+ spalte_up <= '0';
+ end if;
+ end process;
+
+ async_push_history : process (rx_new, rx_data, btn_a)
+ begin
+ if rx_new = '1' then
+ if rx_data = X"41" then
+ push_history_next <= '1';
+ else
+ push_history_next <= '0';
+ end if;
+ elsif btn_a = '1' then
+ push_history_next <= '1';