Figure 14: The results of FIR filter testbench. (a) Magnitude spectrum of input signal. (b) FIR filter frequency response (filter response parameters: sampling frequency = 10 kHz, lower cutoff frequency = 2.190 kHz, higher cutoff frequency = 22.15 kHz, passband ripple = 3 dB, stopband attenuation = 80 dB, and number of coefficients = 95). (c) Magnitude spectrum of Matlab FIR filter output. (d) Magnitude spectrum of FPGA FIR filter output.