Generic FIR filter