From f8e631655ba28757ae43a37ed70afed4afae8f6b Mon Sep 17 00:00:00 2001 From: Manuel Penschuck Date: Fri, 23 May 2014 16:00:36 +0200 Subject: [PATCH] CTS typo --- cts/source/cts.vhd | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cts/source/cts.vhd b/cts/source/cts.vhd index cc7997e..7d345df 100755 --- a/cts/source/cts.vhd +++ b/cts/source/cts.vhd @@ -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 ... -- 2.43.0