]> jspc29.x-matter.uni-frankfurt.de Git - trbnet.git/commitdiff
another bug...
authorhadeshyp <hadeshyp>
Mon, 2 Mar 2009 14:27:17 +0000 (14:27 +0000)
committerhadeshyp <hadeshyp>
Mon, 2 Mar 2009 14:27:17 +0000 (14:27 +0000)
trb_net16_api_base.vhd

index 9ebf7da4e25041d58b5c240d6fa131c5d6d6da3b..e374692166cfa6153f7a62951fcb317228e3a29d 100644 (file)
@@ -730,7 +730,7 @@ INT_MASTER_DATAREADY_OUT  <= buf_INT_MASTER_DATAREADY_OUT;
           when sa_WRONG_ADDR =>
             fifo_to_apl_read <= not fifo_to_apl_empty;
             throw_away <= '1';
-            if saved_fifo_to_apl_packet_type = TYPE_TRM and fifo_to_apl_long_PACKET_NUM_OUT = c_F3 then
+            if saved_fifo_to_apl_packet_type = TYPE_TRM and fifo_to_apl_long_PACKET_NUM_OUT = c_F3 and last_fifo_to_apl_read = '1' then
               next_state_to_apl <= sa_INACTIVE;
               slave_end <= '1';
             end if;