diff --git a/top/firmware/hdl/LinkAggregatorCore.vhd b/top/firmware/hdl/LinkAggregatorCore.vhd index d589302f92cb5113ed64f35791fdf81509ae78fe..0e402e65e5f9bc97425987f0de2e1b2378372331 100644 --- a/top/firmware/hdl/LinkAggregatorCore.vhd +++ b/top/firmware/hdl/LinkAggregatorCore.vhd @@ -452,7 +452,7 @@ begin if reset = '1' then bx_valid_count(0) <= (others => '0'); else - if bx_valid_variable = '1' then + if bx_valid_variable = '1' and pBx_counter < 8 then bx_valid_count(0) <= std_logic_vector(unsigned(bx_valid_count(0)) + 1); end if; end if;