removed rx_ keypressed
authorAlexander Oh <oh.a@gmx.at>
Thu, 27 May 2010 05:59:21 +0000 (07:59 +0200)
committerAlexander Oh <oh.a@gmx.at>
Thu, 27 May 2010 05:59:21 +0000 (07:59 +0200)
src/pc_communication.vhd

index dcdb06018fee35ab21380ff1c7d35a6342215e80..e2e38222892fee51653aff09db2c820d6bca88c6 100644 (file)
@@ -91,7 +91,7 @@ begin
                        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";
@@ -112,7 +112,8 @@ begin
                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 =>