projects
/
hwmod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5377f28
)
pc-com: dumpen bei zeichen 'A' -- geht mit minicom als auch mit cat
author
Bernhard Urban
<lewurm@gmail.com>
Fri, 28 May 2010 10:53:08 +0000
(12:53 +0200)
committer
Bernhard Urban
<lewurm@gmail.com>
Fri, 28 May 2010 16:51:25 +0000
(18:51 +0200)
src/pc_communication.vhd
patch
|
blob
|
history
diff --git
a/src/pc_communication.vhd
b/src/pc_communication.vhd
index 290f1fd1914104add23882c7ca13fcd662324270..88a5cf88d9ea0d6f351fb476036319daefa1ff8e 100644
(file)
--- a/
src/pc_communication.vhd
+++ b/
src/pc_communication.vhd
@@
-80,8
+80,9
@@
begin
state_next <= state;
case state is
when IDLE =>
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;
state_next <= PRINT_NO1;
end if;
@@
-198,8
+199,6
@@
begin
end if;
if zeile = HZEILE_MAX then
state_next <= IDLE;
end if;
if zeile = HZEILE_MAX then
state_next <= IDLE;
- zeile_next <= 0;
- spalte_next <= 1;
end if;
end case;
end process;
end if;
end case;
end process;