v_last.data:=RESIZE_DP_DATA(v_last.data(g_in_dat_w-1downto0));-- wrap when >= 2**g_in_dat_w
v_last.data:=RESIZE_DP_DATA(v_last.data(g_in_dat_w-1downto0));-- wrap when >= 2**g_in_dat_w
v_last.re:=INCR_UVEC(v_sosi.re,g_pkt_len-1);
v_last.re:=RESIZE_DP_DSP_DATA(v_last.re(g_in_dat_w-1downto0));-- wrap when >= 2**g_in_dat_w
v_last.im:=INCR_UVEC(v_sosi.im,g_pkt_len-1);
v_last.im:=RESIZE_DP_DSP_DATA(v_last.im(g_in_dat_w-1downto0));-- wrap when >= 2**g_in_dat_w
last_snk_in<=v_last;
last_snk_in<=v_last;
-- Signal end of stimuli
-- Signal end of stimuli
proc_common_wait_some_cycles(clk,g_wait_last_evt);-- latency from stimuli to verify depends on the flow control, so wait sufficiently long for last packet to have passed through
-- . latency from stimuli to verify depends on the flow control, so wait sufficiently long for last packet to have passed through