projects
/
hwmod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cc40345
)
display: bei nullbyte space bitte!
author
Bernhard Urban
<lewurm@gmail.com>
Fri, 21 May 2010 18:08:21 +0000
(20:08 +0200)
committer
Bernhard Urban
<lewurm@gmail.com>
Fri, 21 May 2010 18:08:21 +0000
(20:08 +0200)
src/display.vhd
patch
|
blob
|
history
diff --git
a/src/display.vhd
b/src/display.vhd
index ccb8ba3befae217af250e649d361bf56cd03f6a3..fb6649f9d71e3fed56f01e428c4cf4cb938e679a 100644
(file)
--- a/
src/display.vhd
+++ b/
src/display.vhd
@@
-182,7
+182,7
@@
begin
when S_PUTCH1 =>
state_next <= S_PUTCH2;
when S_PUTCH2 =>
when S_PUTCH1 =>
state_next <= S_PUTCH2;
when S_PUTCH2 =>
- if free = '0'
or (free = '1' and d_char = x"00")
then
+ if free = '0' then
state_next <= S_WAIT;
end if;
when S_WAIT =>
state_next <= S_WAIT;
end if;
when S_WAIT =>
@@
-312,8
+312,10
@@
begin
when S_GETCH =>
d_get_next <= '1';
when S_PUTCH1 =>
when S_GETCH =>
d_get_next <= '1';
when S_PUTCH1 =>
- if d_char /= x"00" then
- command_next <= COMMAND_SET_CHAR;
+ command_next <= COMMAND_SET_CHAR;
+ if d_char = x"00" then
+ command_data_next <= x"ffffff" & x"20";
+ else
command_data_next <= x"ffffff" & std_logic_vector(d_char);
end if;
when S_PUTCH2 => null;
command_data_next <= x"ffffff" & std_logic_vector(d_char);
end if;
when S_PUTCH2 => null;