inserting a dummy state
[hwmod.git] / src / pc_communication.vhd
index 89dff252be4bc9cd13891311d76123ad7465a19a..dcdb06018fee35ab21380ff1c7d35a6342215e80 100644 (file)
@@ -87,13 +87,14 @@ begin
                        when FETCH =>
                                get_next <= '1';
                        when WAIT_HIST =>
-                       tx_data_i_next <= pc_char;
+                               tx_data_i_next <= pc_char;
                        when FORWARD =>
                                new_i_next <= '1';
                        when WAIT_UART =>
                                null;
                        when UART_DONE =>
                                if tx_data_i = x"00" or spalte = hspalte_max then
+                                       tx_data_i_next <= x"0a";
                                        zeile_next <= zeile + 1;
                                        spalte_next <= 1;
                                        if zeile = hzeile_max then
@@ -105,7 +106,7 @@ begin
                end case;
        end process output_pc;
 
-       next_state_pc : process (btn_a, pc_busy, pc_done, rx_new, rx_data, spalte, 
+       next_state_pc : process (btn_a, pc_busy, pc_done, rx_new, rx_data, spalte,
                state, tx_data_i ,tx_done_i, zeile)
        begin
                state_next <= state;