X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=hwmod.git;a=blobdiff_plain;f=src%2Fpc_communication.vhd;h=dcdb06018fee35ab21380ff1c7d35a6342215e80;hp=89dff252be4bc9cd13891311d76123ad7465a19a;hb=c4835e02b7f9b0d71547aec609667b7b5aed75ce;hpb=b6503f8ccf6fb6d0e88e514a306e32d7a7c1a5d7 diff --git a/src/pc_communication.vhd b/src/pc_communication.vhd index 89dff25..dcdb060 100644 --- a/src/pc_communication.vhd +++ b/src/pc_communication.vhd @@ -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;