]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
CTS typo
authorManuel Penschuck <manuel.penschuck@stud.uni-frankfurt.de>
Fri, 23 May 2014 14:00:36 +0000 (16:00 +0200)
committerManuel Penschuck <manuel.penschuck@stud.uni-frankfurt.de>
Fri, 23 May 2014 14:00:36 +0000 (16:00 +0200)
cts/source/cts.vhd

index cc7997ebfce6dadcd4b84bc8509378e9a11193b6..7d345dfa7bcf9ae948f8577bcda09e474743f2bb 100755 (executable)
@@ -695,12 +695,12 @@ begin
             get_next_eb := '0';
          end if;
          
-         if (eb_aggr_threshold_i = x"00" or eb_mask_i = x"0") then
+         if (eb_aggr_threshold_i = x"00" or eb_mask_i = x"0000") then
             -- no round-robin active
             eb_selection_i <= x"0";
             get_next_eb := '0';
             
-         elsif (eb_aggr_threshold_i /= x"00" and eb_mask_i /= x"0" and ro_next_cycle_i = '1')  then
+         elsif ro_next_cycle_i = '1' then
             -- round-robin active active, and a new event just started
             if eb_aggr_threshold_i = eb_aggr_counter_i then
                eb_aggr_counter_i <= (others => '0');
@@ -714,7 +714,6 @@ begin
 
          end if;
          
-         
          -- increment (with overflow) next_eb_selection until we find an active eb
          -- with this sequential approach, the result is ready in at most 16 cycles,
          -- i.e. the result is ready long before we need it for the (worst case) next event ...