util_fir_int: Shifted the output data to the left so that the amplitude remains constant
parent
ac8a6124af
commit
d9b756e7ad
|
@ -54,7 +54,7 @@ module util_fir_int (
|
|||
wire [31:0] m_axis_data_tdata_s;
|
||||
wire s_axis_data_tready_s;
|
||||
|
||||
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_s : dac_read;
|
||||
|
||||
fir_interp interpolator (
|
||||
|
|
|
@ -9,6 +9,7 @@ CONFIG.Clock_Frequency {128.8} \
|
|||
CONFIG.CoefficientSource {COE_File} \
|
||||
CONFIG.Coefficient_File {../../../../coefile_int.coe} \
|
||||
CONFIG.Coefficient_Fractional_Bits {0} \
|
||||
CONFIG.Data_Fractional_Bits {15} \
|
||||
CONFIG.Coefficient_Sets {1} \
|
||||
CONFIG.Coefficient_Sign {Signed} \
|
||||
CONFIG.Coefficient_Structure {Inferred} \
|
||||
|
|
Loading…
Reference in New Issue