]> jspc29.x-matter.uni-frankfurt.de Git - trbnet.git/commitdiff
remove one counter check to allow empty events
authorJan Michel <j.michel@gsi.de>
Thu, 16 Jul 2020 15:23:45 +0000 (17:23 +0200)
committerJan Michel <j.michel@gsi.de>
Thu, 16 Jul 2020 15:23:45 +0000 (17:23 +0200)
gbe_trb/base/trb_net16_gbe_event_constr.vhd

index 9e19f87a8d20d34f56f4560a9a35ec9cc5554516..7b97c6a30c5d4b22c088d79a600c08cfb68d73be 100644 (file)
@@ -588,7 +588,7 @@ begin
 
                        when LOAD_DATA =>
                                load_state <= x"5";
-                               if (load_eod_q = '1' and term_ctr = 33) then
+                               if (load_eod_q = '1') then -- JMJM and term_ctr = 33
                                        if (insert_padding = '1') then
                                                load_next_state <= LOAD_PADDING;
                                        else
@@ -675,11 +675,11 @@ begin
                                else
                                        header_ctr <= 15;
                                end if;
-                       elsif (load_current_state = LOAD_DATA and load_eod_q = '1' and term_ctr = 33 and loaded_queue_bytes = actual_q_size and insert_padding = '0') then
+                       elsif (load_current_state = LOAD_DATA and load_eod_q = '1' and loaded_queue_bytes = actual_q_size and insert_padding = '0') then --JMJM  and term_ctr = 33
                                header_ctr <= 31;
-                       elsif (load_current_state = LOAD_DATA and load_eod_q = '1' and term_ctr = 33 and loaded_queue_bytes /= actual_q_size and insert_padding = '0') then
+                       elsif (load_current_state = LOAD_DATA and load_eod_q = '1' and loaded_queue_bytes /= actual_q_size and insert_padding = '0') then --JMJM  and term_ctr = 33
                                header_ctr <= 15;
-                       elsif (load_current_state = LOAD_DATA and load_eod_q = '1' and term_ctr = 33 and loaded_queue_bytes /= actual_q_size and insert_padding = '1') then
+                       elsif (load_current_state = LOAD_DATA and load_eod_q = '1' and loaded_queue_bytes /= actual_q_size and insert_padding = '1') then --JMJM  and term_ctr = 33
                                header_ctr <= 3;
                        elsif (load_current_state = LOAD_TERM and header_ctr = 0) then
                                header_ctr <= 3;