axi_adc_decimate/cic_decim: Fix clk_enable warning
- fix clk_enable zero replication warningmain
parent
fd7db4fcf3
commit
3f5d930cde
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue