projects
/
hwmod.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allgemein: konstanten verwenden
[hwmod.git]
/
src
/
post_scanner_tb.vhd
diff --git
a/src/post_scanner_tb.vhd
b/src/post_scanner_tb.vhd
index 0a1ff8386b90167b9badd5362184a1c37dba2a54..6d5956edebe36a2f13e8dd208b76ba7e4cce10e7 100644
(file)
--- a/
src/post_scanner_tb.vhd
+++ b/
src/post_scanner_tb.vhd
@@
-140,7
+140,7
@@
begin
f1_loop : while not endfile(f) loop
readline (f, l);
input := (others => nul);
f1_loop : while not endfile(f) loop
readline (f, l);
input := (others => nul);
- if (l'length <=
72
) then
+ if (l'length <=
HSPALTE_MAX+1
) then
input(1 to l'length) := l.all;
if (input(1) = '#') then
next f1_loop;
input(1 to l'length) := l.all;
if (input(1) = '#') then
next f1_loop;
@@
-156,7
+156,7
@@
begin
f2_loop : while not endfile(f) loop
readline (f, l);
expectedresult := (others => nul);
f2_loop : while not endfile(f) loop
readline (f, l);
expectedresult := (others => nul);
- if (l'length <=
72
) then
+ if (l'length <=
HSPALTE_MAX+1
) then
expectedresult(1 to l'length) := l.all;
if (expectedresult(1) = '#') then
next f2_loop;
expectedresult(1 to l'length) := l.all;
if (expectedresult(1) = '#') then
next f2_loop;