v.start_address:=r.start_address+c_sdp_X_sq*c_nof_complex*c_sdp_W_statistic_sz;-- continue with next packet in this instance
v.crosslet_count:=r.crosslet_count+1;
v.crosslet_count:=r.crosslet_count+1;
IFr.crosslet_count=TO_UINT(nof_crosslets)-1THEN
v.start_address:=r.instance_address+2**c_sdp_ram_st_xsq_addr_w;-- jump to first packet in next instance
v.crosslet_count:=0;
v.instance_count:=r.instance_count+1;
v.instance_address:=v.start_address;-- use v.start_address to avoid multipier needed in (r.instance_count + 1) * 2**c_sdp_ram_st_xsq_addr_w
ENDIF;
v.start_pulse:='1';
v.packet_count:=r.packet_count+1;
ELSE
ELSE
-- For XST after nof_crosslets do:
NULL;-- do nothing in case of unknown g_statistics_type
v.crosslet_count:=0;
-- skip block indices for unused XST blocks in this P_sq iteration by setting the block count to the next multiple of N_crosslets_max i.e. 7, 14, 21, etc.