hstring: length fix
[hwmod.git] / src / beh_parser_tb.vhd
index 732f3642bdf5b354c0e9116c3be3a8b1953c9323..cb4c5b5c21188f5fa0756f69955ff4e8d1bcfd6d 100644 (file)
@@ -76,7 +76,7 @@ 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);
@@ -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;