projects
/
hwmod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
70a4a89
)
history: anmerkung update
author
Bernhard Urban
<lewurm@gmail.com>
Sat, 22 May 2010 05:38:27 +0000
(07:38 +0200)
committer
Bernhard Urban
<lewurm@gmail.com>
Sat, 22 May 2010 05:38:50 +0000
(07:38 +0200)
src/history.vhd
patch
|
blob
|
history
diff --git
a/src/history.vhd
b/src/history.vhd
index 9a65e590e4071023efebb1f6e80ccb5f25b78aab..d97605708d34108859faf71e616bf51a5f461b4b 100644
(file)
--- a/
src/history.vhd
+++ b/
src/history.vhd
@@
-235,13
+235,12
@@
begin
pos_next <= std_logic_vector(unsigned(pos_int) + to_unsigned(1,H_RAM_WIDTH));
end if;
when SIDLE =>
pos_next <= std_logic_vector(unsigned(pos_int) + to_unsigned(1,H_RAM_WIDTH));
end if;
when SIDLE =>
- -- TODO: tmp fix
d_new_result_next <= '0';
when S_S_INIT =>
null;
when S_S_WRITE =>
-- nur bei < 71 weiter machen
d_new_result_next <= '0';
when S_S_INIT =>
null;
when S_S_WRITE =>
-- nur bei < 71 weiter machen
- --
TODO: '/=' billiger als '<' ?
+ --
Hint: '/=' billiger als '<'
if unsigned(s_cnt_int) /= 71 then
wr_next <= '1';
address_next <= std_logic_vector(unsigned(pos_int) + unsigned(s_cnt_int));
if unsigned(s_cnt_int) /= 71 then
wr_next <= '1';
address_next <= std_logic_vector(unsigned(pos_int) + unsigned(s_cnt_int));