X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=hwmod.git;a=blobdiff_plain;f=src%2Fbeh_parser_tb.vhd;h=cb4c5b5c21188f5fa0756f69955ff4e8d1bcfd6d;hp=92b685c5dc31176dcf2e6aada8487b0281f7932c;hb=a808051e1631ed84fed6e5b394e4a54856ea63b0;hpb=1f62802d156d7312d3008e2e74b3f4e873863b9d diff --git a/src/beh_parser_tb.vhd b/src/beh_parser_tb.vhd index 92b685c..cb4c5b5 100644 --- a/src/beh_parser_tb.vhd +++ b/src/beh_parser_tb.vhd @@ -76,12 +76,12 @@ begin i := 1; f_loop : while not endfile(f) loop - realresult := (71 => nul, others => ' '); + realresult := (72 => nul, others => ' '); f1_loop : while not endfile(f) loop readline (f, l); input := (others => nul); - if (l'length <= 71) then + if (l'length <= 72) 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 <= 71) then + if (l'length <= 72) then expectedresult(1 to l'length) := l.all; if (expectedresult(1) = '#') then next f2_loop; @@ -113,10 +113,10 @@ begin -- ergebnis string richtig formatieren hstrtmp := expectedresult; - expectedresult := (71 => nul, others => ' '); - for x in 1 to 70 loop + expectedresult := (72 => nul, others => ' '); + for x in 1 to 71 loop if hstrtmp(x) /= nul then - expectedresult((70-y) + x) := hstrtmp(x); + expectedresult((71-y) + x) := hstrtmp(x); end if; end loop; @@ -128,7 +128,7 @@ begin icwait(sys_clk, 5); do_it <= '1'; run_tc := true; - j := 1; k := 70; + j := 1; k := 71; while run_tc loop wait on p_rget, p_wtake, p_finished, finished;