Skip to content
Snippets Groups Projects
Commit 5e023ed4 authored by Daniel van der Schuur's avatar Daniel van der Schuur
Browse files

-Resetting unused bits to zero in func_dp_stream_deconcat.

 . Functionally it was OK but looked off in wave window.
parent 82746e51
No related branches found
No related tags found
No related merge requests found
......@@ -1185,6 +1185,9 @@ PACKAGE BODY dp_stream_pkg IS
BEGIN
FOR i IN v_src_out_arr'RANGE LOOP
v_src_out_arr(i) := snk_in;
v_src_out_arr(i).data := (OTHERS=>'0');
v_src_out_arr(i).re := (OTHERS=>'0');
v_src_out_arr(i).im := (OTHERS=>'0');
v_src_out_arr(i).data( data_w-1 DOWNTO 0) := snk_in.data((i+1)* data_w-1 DOWNTO i* data_w);
v_src_out_arr(i).re( v_compl_data_w-1 DOWNTO 0) := snk_in.re ((i+1)*v_compl_data_w-1 DOWNTO i*v_compl_data_w);
v_src_out_arr(i).im( v_compl_data_w-1 DOWNTO 0) := snk_in.im ((i+1)*v_compl_data_w-1 DOWNTO i*v_compl_data_w);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment