X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=hwmod.git;a=blobdiff_plain;f=src%2Fbeh_scanner_tb.vhd;h=795e4e86f38bffa0fafed35f36610d1a43ec68ec;hp=d3cfe69fa864b9370bceaa1475906cfaf2b468be;hb=b42b2b9d669e1d12db43c70704b4657901d1ab02;hpb=d070f8eadaa8f62b9c5c0709f9e447eb24d590d9 diff --git a/src/beh_scanner_tb.vhd b/src/beh_scanner_tb.vhd index d3cfe69..795e4e8 100644 --- a/src/beh_scanner_tb.vhd +++ b/src/beh_scanner_tb.vhd @@ -81,7 +81,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; @@ -97,7 +97,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;