diff options
author | Jon Nordby <jononor@gmail.com> | 2025-04-27 17:17:51 +0200 |
---|---|---|
committer | Jon Nordby <jononor@gmail.com> | 2025-05-02 21:00:12 +0200 |
commit | 594bdb32b9d0648ab4718b3672f54008c46ee3a6 (patch) | |
tree | 68f9bd22cb0128bf620b73a5e165e6ab6443bd29 /cocotb_try | |
parent | 6f6536101682085e8093572a0b23cd8a7e4bf584 (diff) |
Remove unused pdm_out
Diffstat (limited to 'cocotb_try')
-rw-r--r-- | cocotb_try/cic3_pdm.v | 4 |
1 files changed, 1 insertions, 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 |