A question about the clock signal of the CIC filter IP
Excuse me, I am testing the frequency response of the CIC filter IP using Quartus 19.1 Standard Edition and Arria V GX, and I have a question on the clock signal of the CIC filter IP core. I use the filter IP as a decimator to convert a PDM signal to a PCM signal. I mainly refers to this documentation for the IP's connections.
Does the clock signal (clk) determines the input sampling frequency (F_s) on page 4 of this second documentation ? If so, should the clock of the filter and the clk of the input source (av_st_in_data) be the same signal? I first tried this solution, but the CIC filter outputted constant 0. Then I tried to use a higher frequency clock for the filter and a lower frequency clock for the input source. In this setting, the filter's output is roughly correct but the noise is larger than expected and it does not correspond with the filter's frequency response.
Another minor problem is that the output value of the CIC filter is always non-positive when I assign a higher frequency clock to the CIC filter. Is this expected behavior or is it abnormal?
When I use the same clock signal for both the filter and the input source, I get constant warnings in ModelSim:
Warning: NUMERIC_STD."=": metavalue detected, returning FALSE
The signal having problem is "cic_ii_0/core/<protected>/ready_FIFO". The warnings disappear when I assign a higher frequency clock to the filter. This may help with the debugging.