]> jspc29.x-matter.uni-frankfurt.de Git - trbnet.git/commitdiff
GbE bug on SCTRL fixed, causing the last word of last packet to get lost sometimes
authorMichael Boehmer <mboehmer@ph.tum.de>
Wed, 8 Jun 2022 13:14:54 +0000 (15:14 +0200)
committerJan Michel <j.michel@gsi.de>
Wed, 8 Jun 2022 14:20:21 +0000 (16:20 +0200)
gbe_trb/protocols/trb_net16_gbe_response_constructor_SCTRL.vhd

index 667d14109e915519c2982c6eda4c2ec2241bebd3..467ceaf3ff275d28202fd5f4665470959c14a95b 100644 (file)
@@ -554,7 +554,8 @@ begin
                
                when LOAD_TO_HUB =>
                        state <= x"4";
-                       if (rx_fifo_q(17) = '1') then
+--                     if (rx_fifo_q(17) = '1') then
+                       if ((rx_fifo_q(17) = '1') and (GSC_INIT_READ_IN = '1')) then
                                if (reset_detected = '1') then
                                        dissect_next_state <= CLEANUP;
                                else