diff --git a/libraries/base/dp/src/vhdl/dp_bsn_align.vhd b/libraries/base/dp/src/vhdl/dp_bsn_align.vhd index 8c7110b46abd9fc0fc41e16817c843f98450bb9d..8f530c9253c8949b040fd37a2e8d0cbce2d8f4e5 100644 --- a/libraries/base/dp/src/vhdl/dp_bsn_align.vhd +++ b/libraries/base/dp/src/vhdl/dp_bsn_align.vhd @@ -372,7 +372,7 @@ BEGIN VARIABLE v_siso_arr_src : t_dp_siso_arr(g_nof_input-1 DOWNTO 0); VARIABLE v_sosi_arr : t_dp_sosi_arr(g_nof_input-1 DOWNTO 0); -- auxiliary sosi variable VARIABLE v_blk_buf : t_dp_sosi; -- auxiliary sosi variable - CONSTANT c_init_all_ones : STD_LOGIC_VECTOR(c_dp_stream_dsp_data_w-1 DOWNTO 0) := array_init('1', c_dp_stream_dsp_data_w); + CONSTANT c_init_all_zeros : STD_LOGIC_VECTOR(c_dp_stream_dsp_data_w-1 DOWNTO 0) := array_init('0', c_dp_stream_dsp_data_w); BEGIN -- default semi-constant v_siso_arr controls taking account of the dynamic r.in_en_arr v_siso_arr_hold := func_dp_stream_arr_select(r.in_en_arr, c_dp_siso_hold, c_dp_siso_flush); @@ -446,7 +446,7 @@ BEGIN v_sosi_arr := func_dp_stream_arr_select(r.in_en_arr, next_src_buf_arr, v_sosi_arr); v_sosi_arr := func_dp_stream_arr_set_control(v_sosi_arr, v_blk_buf); v_sosi_arr := func_dp_stream_arr_copy_valid_bsn(v_sosi_arr, r.in_en_arr); -- Copy the BSN of one of the valid streams to all other streams - v_sosi_arr := func_dp_stream_set_data(v_sosi_arr, c_init_all_ones, "ALL", r.in_en_arr); -- Fill the RE and IM fields of the disabled channels with ones. + v_sosi_arr := func_dp_stream_set_data(v_sosi_arr, c_init_all_zeros, "ALL", r.in_en_arr); -- Fill the RE and IM fields of the disabled channels with ones. nxt_r.src_out_arr <= v_sosi_arr; -- <<< End of same code as in s_data @@ -488,7 +488,7 @@ BEGIN v_sosi_arr := func_dp_stream_arr_select(r.in_en_arr, next_src_buf_arr, v_sosi_arr); -- output the pending input frame of all enabled user inputs v_sosi_arr := func_dp_stream_arr_set_control(v_sosi_arr, v_blk_buf); -- use the same reference block sosi control for all outputs v_sosi_arr := func_dp_stream_arr_copy_valid_bsn(v_sosi_arr, r.in_en_arr); -- Copy the BSN of one of the valid streams to all other streams - v_sosi_arr := func_dp_stream_set_data(v_sosi_arr, c_init_all_ones, "ALL", r.in_en_arr); -- Fill the RE and IM fields of the disabled channels with ones. + v_sosi_arr := func_dp_stream_set_data(v_sosi_arr, c_init_all_zeros, "ALL", r.in_en_arr); -- Fill the RE and IM fields of the disabled channels with ones. nxt_r.src_out_arr <= v_sosi_arr; -- at end of every block