From d39ed3d4dbb698b31da9e57afb0c91e102671fea Mon Sep 17 00:00:00 2001 From: AndreiGrozav Date: Tue, 28 Jul 2020 09:08:29 +0300 Subject: [PATCH] axi_dac_interpolate: Fix oversampling by 2 When using an oversampling of 2 for axi_dac_interpolate the rate was the same as with oversampling by 1(bypassing). This commit removes the bypass for the ratio of 2. --- library/axi_dac_interpolate/axi_dac_interpolate_filter.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/axi_dac_interpolate/axi_dac_interpolate_filter.v b/library/axi_dac_interpolate/axi_dac_interpolate_filter.v index 62fdef05e..474dad29c 100644 --- a/library/axi_dac_interpolate/axi_dac_interpolate_filter.v +++ b/library/axi_dac_interpolate/axi_dac_interpolate_filter.v @@ -133,7 +133,7 @@ module axi_dac_interpolate_filter #( // paths randomly ready, only when using data buffers always @(posedge dac_clk) begin - if (interpolation_ratio == 0 || interpolation_ratio == 1) begin + if (interpolation_ratio == 0) begin dac_int_ready <= dac_filt_int_valid; end else begin if (dac_filt_int_valid &