From e4e2b0bac043701bdcdae029e87d7d1bb8dbb364 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Fri, 28 May 2010 12:53:08 +0200 Subject: [PATCH] pc-com: dumpen bei zeichen 'A' -- geht mit minicom als auch mit cat --- src/pc_communication.vhd | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/pc_communication.vhd b/src/pc_communication.vhd index 290f1fd..88a5cf8 100644 --- a/src/pc_communication.vhd +++ b/src/pc_communication.vhd @@ -80,8 +80,9 @@ 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' or btn_a = '0') and tx_done_i = '0' then + zeile_next <= 0; + spalte_next <= 1; + if ((rx_new = '1' and rx_data = x"41") or btn_a = '0') and tx_done_i = '0' then state_next <= PRINT_NO1; end if; @@ -198,8 +199,6 @@ begin end if; if zeile = HZEILE_MAX then state_next <= IDLE; - zeile_next <= 0; - spalte_next <= 1; end if; end case; end process; -- 2.25.1