diff --git a/top/firmware/hdl/emp_payload.vhd b/top/firmware/hdl/emp_payload.vhd index daf1a7821f29f45eab56b26fddde4297fe320da0..f0ebbcb4fb30781cbac9c8373ba5e21db77893b6 100644 --- a/top/firmware/hdl/emp_payload.vhd +++ b/top/firmware/hdl/emp_payload.vhd @@ -308,7 +308,7 @@ pHistogram: process(clk_p) begin if rising_edge(clk_p) then if stubs(0).valid = '1' and histogram_enable = '1' then - if stubs0).data(50) = '0' then + if stubs(0).data(50) = '0' then hist_l0_0_stub <= stubs(0); hist_l0_1_stub <= LWORD_NULL; else