From 594bdb32b9d0648ab4718b3672f54008c46ee3a6 Mon Sep 17 00:00:00 2001 From: Jon Nordby Date: Sun, 27 Apr 2025 17:17:51 +0200 Subject: Remove unused pdm_out --- cocotb_try/cic3_pdm.v | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cocotb_try/cic3_pdm.v b/cocotb_try/cic3_pdm.v index e350fda..2826715 100644 --- a/cocotb_try/cic3_pdm.v +++ b/cocotb_try/cic3_pdm.v @@ -6,8 +6,7 @@ module cic3_pdm ( input wire rst, // active-high synchronous reset input wire pdm_in, // 1-bit PDM data input output wire signed [15:0] pcm_out, // Decimated PCM output - output wire pcm_valid, // High when pcm_out is valid - output reg pdm_out + output wire pcm_valid ); parameter DECIMATION = 64; // Decimation factor @@ -60,7 +59,6 @@ module cic3_pdm ( delay_2 <= comb_1; // Bit-shift down to get 16-bit output (tune shift based on DECIMATION and stage count) - pdm_out <= pdm_in; pcm_out_r <= comb_2[OUTPUT_SHIFT + 15 : OUTPUT_SHIFT]; pcm_valid_r <= 1; end -- cgit v1.2.3