projects
/
calu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9b5a205
)
tx fix2
author
Manfred
<xzarion@l0725898.(none)>
Tue, 11 Jan 2011 11:45:25 +0000
(12:45 +0100)
committer
Manfred
<xzarion@l0725898.(none)>
Tue, 11 Jan 2011 11:45:25 +0000
(12:45 +0100)
cpu/src/rs232_tx_arc.vhd
patch
|
blob
|
history
diff --git
a/cpu/src/rs232_tx_arc.vhd
b/cpu/src/rs232_tx_arc.vhd
index ac431d874b3cefc2fa4affc37aba6d513b10b9cc..db56984ca5217b5376cbea412714d766740e2e0c 100755
(executable)
--- 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';
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
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;
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);
when others =>
-- counter von 1 bis 8 => Datenbits versenden
bus_tx_nxt <= tx_data(cnt-1);