fixed testbench anomaly
[hwmod.git] / src / beh_pc_communication_tb.vhd
index 0775e5e28f8915c8a4b8286f23beaa7cc8663ae1..63ba7cc6a076981d194c1112da2d2f1244dbb7c2 100644 (file)
@@ -97,12 +97,10 @@ begin
 
        stub_uart : process
        begin
-               tx_done <= '0';
                while true loop
+                       tx_done <= '0';
                        wait until sys_res_n = '1';
-
                        wait until rising_edge(tx_new);
-                       tx_done <= '0';
                        wait for 300 ns;
                        tx_done <= '1';
                        wait for 30 ns;