X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=hwmod.git;a=blobdiff_plain;f=src%2Fpost_scanner_tb.vhd;h=6d5956edebe36a2f13e8dd208b76ba7e4cce10e7;hp=0a1ff8386b90167b9badd5362184a1c37dba2a54;hb=b42b2b9d669e1d12db43c70704b4657901d1ab02;hpb=d070f8eadaa8f62b9c5c0709f9e447eb24d590d9 diff --git a/src/post_scanner_tb.vhd b/src/post_scanner_tb.vhd index 0a1ff83..6d5956e 100644 --- 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); - 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;