allgemein: konstanten verwenden
[hwmod.git] / src / post_scanner_tb.vhd
index 0a1ff8386b90167b9badd5362184a1c37dba2a54..6d5956edebe36a2f13e8dd208b76ba7e4cce10e7 100644 (file)
@@ -140,7 +140,7 @@ begin
                        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;
@@ -156,7 +156,7 @@ begin
                        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;