util_fir_int: Shifted data so that the amplitude at the output of the filter is the same with the input

main
Adrian Costina 2017-03-08 14:29:26 +02:00
parent 660dddf1e8
commit eb946b54cc
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ module util_fir_int (
end
end
assign {channel_1, channel_0} = (interpolate == 1'b1) ? m_axis_data_tdata_s : s_axis_data_tdata;
assign {channel_1, channel_0} = (interpolate == 1'b1) ? {m_axis_data_tdata_s[30:16],1'b0,m_axis_data_tdata_s[14:0], 1'b0} : s_axis_data_tdata;
assign s_axis_data_tready = (interpolate == 1'b1) ? s_axis_data_tready_r : dac_read;
fir_interp interpolator (