Skip to content
Snippets Groups Projects
Commit 995b6a0e authored by Reinier van der Walle's avatar Reinier van der Walle
Browse files

set reset value of interval counter to 1 instead of 0 as it is a total

counter and not an index counter
parent 62331149
No related branches found
No related tags found
1 merge request!144Resolve L2SDP-425
......@@ -134,10 +134,10 @@ ARCHITECTURE str OF sdp_statistics_offload IS
nof_cycles_dly : NATURAL;
payload_err : STD_LOGIC;
interval_cnt : NATURAL;
integration_interval : NATURAL;
integration_interval : NATURAL;
END RECORD;
CONSTANT c_reg_rst : t_reg := (0, 0, '0', (OTHERS => '0'), (OTHERS => '0'), 0, '0', 0, 0);
CONSTANT c_reg_rst : t_reg := (0, 0, '0', (OTHERS => '0'), (OTHERS => '0'), 0, '0', 0, 1); -- integration interval should start at 1 as it is a total count and not an index count.
SIGNAL r : t_reg;
SIGNAL nxt_r : t_reg;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment