]> jspc29.x-matter.uni-frankfurt.de Git - trbnet.git/commitdiff
reset keeps APL_WRITE_OUT low, Ingo
authorhadeshyp <hadeshyp>
Fri, 23 Mar 2007 14:00:47 +0000 (14:00 +0000)
committerhadeshyp <hadeshyp>
Fri, 23 Mar 2007 14:00:47 +0000 (14:00 +0000)
testbench/trb_net_dummy_apl.vhd

index dcf18802e373b4db9696fbd6c0c68153a6fc9622..bd8981f059b7bf66bb7b9fdb9dbeb575e190c435 100644 (file)
@@ -67,7 +67,7 @@ architecture trb_net_dummy_apl_arch of trb_net_dummy_apl is
   end generate;
 
     
-  SENDER_CTRL: process (current_state, APL_FIFO_FULL_IN, reg_counter, APL_RUN_IN)
+  SENDER_CTRL: process (current_state, APL_FIFO_FULL_IN, reg_counter, APL_RUN_IN, RESET)
     begin  -- process
       APL_SEND_OUT <=  '0';
       next_state <=  MY_ERROR;
@@ -109,6 +109,9 @@ architecture trb_net_dummy_apl_arch of trb_net_dummy_apl is
           next_counter <=  (others => '0');
         end if;
       end if;                           -- end state switch
+    if RESET = '1' then
+      APL_WRITE_OUT <=  '0';
+    end if;
     end process;