when FORWARD =>
new_i_next <= '1';
when WAIT_UART =>
- null;
+ new_i_next <= '1';
when UART_DONE =>
if tx_data_i = x"00" or spalte = hspalte_max then
tx_data_i_next <= x"0a";
state_next <= state;
case state is
when IDLE =>
- if (rx_new = '1' and rx_data = x"0a" ) or btn_a = '0' then
+-- if (rx_new = '1' and rx_data = x"0a") or btn_a = '0' then
+ if (rx_new = '1') or btn_a = '0' then
state_next <= FETCH;
end if;
when FETCH =>