first data receive, data garbage
authorAlexander Oh <oh.a@gmx.at>
Thu, 27 May 2010 04:22:58 +0000 (06:22 +0200)
committerAlexander Oh <oh.a@gmx.at>
Thu, 27 May 2010 04:22:58 +0000 (06:22 +0200)
src/beh_pc_communication_tb.vhd

index 9d12996ecce539546c6c302ddca3142cb56e8d5c..d2a693e017c6c688626255cfd54c6d244cfb026f 100644 (file)
@@ -85,11 +85,10 @@ begin
                        while i < l'length loop
                                pc_done <= '0';
                                wait until rising_edge(pc_get);
                        while i < l'length loop
                                pc_done <= '0';
                                wait until rising_edge(pc_get);
-                               wait for 90 ns;
-                               pc_busy <= '1';
+                               wait for 150 ns;
                                pc_char <= (others => '0');
                                pc_char <= (others => '0');
-                               wait for 300 ns;
-
+                               pc_busy <= '1';
+                               wait for 30 ns;
                                pc_char <= hbyte(std_logic_vector(to_unsigned(character'pos(buf(i)),8)));
                                i := i + 1;
                                pc_busy <= '0';
                                pc_char <= hbyte(std_logic_vector(to_unsigned(character'pos(buf(i)),8)));
                                i := i + 1;
                                pc_busy <= '0';