### David Lamb (@gretzteam)

We agree that the pole is on the unit circle no matter what. The question is about 'The specific frequency might be off'. For quantized a2 it is off, so, doesn't...

The value of the feedback coefficient in the Goertzel algorithm it given by:c = 2*cos( 2*pi*k/N); where k is the bin number and N is the number of points.Here...

+1 for this answer. I have been looking into this lately for a similar problem and the delta transform is simple yet extremely powerful.Interestingly, applying the...

I would approach this as a frequency domain problem and come up with the frequency response that you want (using whatever filter type that suits you: FIR, IIR,...

Farrow is just generic structure for implementing polynomials (including linear interp).Now the frequency response of polynomial based filter doesn't improve much...

This isn't accurate. The Farrow structure is generic and can implement any polynomial type and order. The coefficients determine which polynomial is implemented:...

There is a pretty good write-up here about the two path allpass Hilbert transform.http://yehar.com/blog/?p=368

I would ignore the CIC filter part and read up about standard FIR filters and their polyphase implementation when used for decimation.CIC is just a clever recursive...

Those are the frequency responses of each individual 'polyphase' of the full FIR filter. The frequency response you're most likely interested in is that of the full...

Hi,I think this only has to do with the "phase" at which you clock the differentiators relative to the first non zero input going into the integrators. Changing...

Hi Rick,I wonder how this is even allowed to be a 'paper':Denis A. Gudovskiy and Lichung Chu, "An Accurate and Stable Sliding DFT Computed by a Modified CIC Filter", IEEE...

All those filters should have exactly the same frequency response (according to your description). Recursive vs non-recursive vs polyphase using stages vs polyphase...

This is discussed in the original Hogenauer paper. If I remember right some of the stages benefit from rounding, but for others floor() was just as good (or something...

1 lsb error is probably what you should expect. You'll always get up to 1 lsb since there is truncation.

I haven't looked a Rick'code but you certainly don't need more bits than 43 at any given stage. I would guess a negative Bj value is really a 0, so here your first...

All the suggestions so far would work (skip/repeat sample, linear interpolation, quadratic, cubic...). Those are all polynomial filters of different orders. They...

Hi,This is pretty cool! Have you thought of using cocotb for the testbench / bit-accurate modeling?https://github.com/cocotb/cocotbhttps://cocotb.readthedocs.io/en/latest/It's...

This is extremely helpful. I've been a Matlab user for many years and the 'fi()' library is tremendously helpful in getting things done quickly avoiding stupid mistakes....

Hi, Imagine a case where you cannot control the input rate. Say the data comes from an ADC running at a fixed rate from its own oscillator. In such a case all you...

Hi Kaz,This has nothing to do with FPGA or ASIC implementation. The problem of irrational rate conversion happens all the time. The case you highlighted is one of...

Hi,The way I think of it is as follow:(1) integer: ...(2) fractional: any number that can be represented as a fraction of integers...like the case here.(3) irrational:...

Hi,Depending on your hardware constraints and filter response requirements, one efficient structure for this is the so-called transposed farrow structure. It typically...

Like everybody said, you need to define what is optimal to you (area, power, complexity, reusability...).But big picture, you want to decimate in multiple stages...

Yes you can definitely do this. But as Tim pointed out in one answer, make sure you get the wordlength right. Draw the two filters in cascade, with the wordlength at...

Hi,It's interesting how you quickly start to get errors once the magnitude is not defined across the whole bandwidth. For example, say you only have magnitude data...

Hi,Actually, as I was posting this is occurred to me that the Hilbert transform probably wants to see the complete spectrum (not just positive frequencies...).Fixed...

Hi,I'm trying to calculate the minimum phase response of a given magnitude response (measured). It is well known that there is a 1:1 relationship between the magnitude...

I wouldn't go that far...To me it's just an observation that the recursive structure of those filters is not always the preferred one depending on sampling rate,...

You are correct, polyphase CIC is just a fancy name for FIR filter. Since it's decimating, you can use all the tricks that exists for decimating FIR filter, one...

Then typically what people do is either:1) split the CIC filter into multiple CIC stages. The constraints on the first stage will be less stringent so you can get...

Make sure you're using delaying integrator so that the critical path is only that of one adder. Many CIC filters are drawn using non-delaying integrator, creating...

Without having run the math, I feel like a zero-order hold filter should be good enough at this oversampling ratio. That would be much simpler as you don't need...

Hi,There are indeed a few tricks you can play since your data is already oversampled. It isn't ideally oversampled because of the sigma-delta noise, but you can...

Hi,First I do agree with all the replies so far: something seems odd with the problem statement from the OP. Now assuming that the OP really needs to decimate by...

So you're trying to decimate by:2e6 / 192e3 = 10.4167First I would question the requirements - is this really necessary? Can you change the system clocking so this...

Use this form to contact **gretzteam**

Before you can contact a member of the *Related Sites:

- You must be logged in (register here)
- You must confirm you email address