From 046e79e4df4c5114daa22fd12f62a7b95cfe9db3 Mon Sep 17 00:00:00 2001 From: Manfred Date: Tue, 11 Jan 2011 12:45:25 +0100 Subject: [PATCH] tx fix2 --- cpu/src/rs232_tx_arc.vhd | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cpu/src/rs232_tx_arc.vhd b/cpu/src/rs232_tx_arc.vhd index ac431d8..db56984 100755 --- a/cpu/src/rs232_tx_arc.vhd +++ b/cpu/src/rs232_tx_arc.vhd @@ -102,19 +102,19 @@ begin when 9 => -- counter = 9 => Stopbit versenden bus_tx_nxt <= '1'; - -- stop_bit 0 heit 1 stop bit - if stop_bit = '0' then - cnt_next <= 0; - idle_sig_next <= '1'; - end if; when 10 => bus_tx_nxt <= '1'; -- stop_bit 1 heit 2 stop bits - if stop_bit = '1' then + if stop_bit = '0' then cnt_next <= 0; -- Signalisieren dass der Sendevorgang beendet ist idle_sig_next <= '1'; end if; + when 11 => + bus_tx_nxt <= '1'; + cnt_next <= 0; + -- Signalisieren dass der Sendevorgang beendet ist + idle_sig_next <= '1'; when others => -- counter von 1 bis 8 => Datenbits versenden bus_tx_nxt <= tx_data(cnt-1); -- 2.25.1