Skip to content

Commit

Permalink
util_fir_int: Shifted data so that the amplitude at the output of the…
Browse files Browse the repository at this point in the history
… filter is the same with the input
  • Loading branch information
acostina committed Apr 12, 2017
1 parent 096aadb commit 75409ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/util_fir_int/util_fir_int.v
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 75409ee

Please sign in to comment.