From e440fc873593821254b6b2741a5daec6bccdef47 Mon Sep 17 00:00:00 2001 From: Jon Nordby Date: Fri, 8 Aug 2025 21:26:58 +0200 Subject: pdm: Try add high pass filter for DC blocking/removal Does not work right... --- bindings/sim_cic3_pdm.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bindings/sim_cic3_pdm.cc') diff --git a/bindings/sim_cic3_pdm.cc b/bindings/sim_cic3_pdm.cc index 0368217..cb612f8 100644 --- a/bindings/sim_cic3_pdm.cc +++ b/bindings/sim_cic3_pdm.cc @@ -15,6 +15,8 @@ pdm2pcm_cic3(const uint8_t *pdm, int pdm_length, int16_t *pcm, int pcm_length) Vcic3_pdm *top = new Vcic3_pdm{cp}; + top->hpf_alpha = 240; + // Start clock off top->clk = 0; -- cgit v1.2.3