From: Manfred Date: Tue, 11 Jan 2011 11:45:25 +0000 (+0100) Subject: tx fix2 X-Git-Tag: bootrom_v1~10 X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=calu.git;a=commitdiff_plain;h=046e79e4df4c5114daa22fd12f62a7b95cfe9db3 tx fix2 --- 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);