diff options
-rw-r--r-- | bindings/sim_cic3_pdm.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bindings/sim_cic3_pdm.cc b/bindings/sim_cic3_pdm.cc index d5366b8..323b2dd 100644 --- a/bindings/sim_cic3_pdm.cc +++ b/bindings/sim_cic3_pdm.cc @@ -19,6 +19,14 @@ pdm2pcm_cic3(const uint8_t *pdm, int64_t pdm_length, int16_t *pcm, int32_t pcm_l //top->dc_alpha = hpf_alpha; //top->scale_shift = scale_shift; + // Reset on start + top->rst = 0; + top->eval(); + top->rst = 1; + top->eval(); + top->rst = 0; + top->eval(); + // Start clock off top->clk = 0; |