Hi, I have a problem with my IIR filter. I coded this filter that works well in simulation. Now that I want to test it on the hardware it no longer works. He’s not stable at all. I use the concept of fixed comma with 10 bit for integers and more or less extra bit for decimals. The problem is in the output samples probably. For an IIR filter it works well: Yn = Xn * 0.125 or Yn = Xn - 2 X(n-10) + X(n-20). Sample frequency is 250 Mhz (like clock) if you have any ideas
thanks the code is attached