diff --git a/library/axi_adc_decimate/cic_decim.v b/library/axi_adc_decimate/cic_decim.v index 2f9643703..5066c0706 100644 --- a/library/axi_adc_decimate/cic_decim.v +++ b/library/axi_adc_decimate/cic_decim.v @@ -63,7 +63,7 @@ module cic_decim ( reg [15:0] rate; - wire [4:0] enable = filter_enable & {5{clk_enable}}; + wire [4:0] enable = (clk_enable == 1'b1) ? filter_enable : 5'b0; always @(*) begin case (rate_sel)