Skip to content
Snippets Groups Projects
Commit 15ee0139 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Use nof_cycles_dly +1 to ensure proper hdr_input.integration_interval also on node 0.

parent b0e5a786
No related branches found
No related tags found
1 merge request!280Use g_try_xst_restart = FALSE to verify nof_cycles_dly +1 to ensure proper...
......@@ -339,6 +339,10 @@ BEGIN
-- . O_rn is first GN index in ring, so O_rn <= gn_index
-- . c_sdp_offload_time = 600000 * 5 ns = 3 ms, so for max gn_index = 31 the
-- offload starts after 93 ms, to just fit within XST T_int min is 100 ms.
-- . use +1 for nof_cycles_dly to ensure that hdr_input.integration_interval gets the correct
-- value also for node 0 with zero delay. Otherwise node 0 will read an integration_interval
-- value that depends on when the remaining sop_cnt of the last interval in case of a XST
-- processing restart.
p_reg_parameters : PROCESS(dp_clk)
BEGIN
IF rising_edge(dp_clk) THEN
......@@ -347,7 +351,7 @@ BEGIN
p.offset_rn <= TO_UINT(ring_info.O_rn);
p.rn_index <= p.gn_index - p.offset_rn;
p.local_si_offset <= p.pn_index * c_sdp_S_pn;
p.nof_cycles_dly <= p.gn_index * g_offload_time;
p.nof_cycles_dly <= p.gn_index * g_offload_time + 1; -- +1 to ensure proper hdr_input.integration_interval also on node 0
p.nof_rn <= TO_UINT(ring_info.N_rn);
p.nof_used_P_sq <= smallest(p.nof_rn / 2 + 1, g_P_sq);
p.remote_rn <= func_ring_nof_hops_to_source_rn(r.instance_count, p.rn_index, p.nof_rn, g_crosslets_direction);
......
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