为了满足信号处理快速和灵活的要求,基于FPGA实现的FIR滤波器有这两方面的优势,使用Matlab中的FDATool计算出滤波器系数并分析其幅频特性,利用FPGA分别设计实现串行结构、全并行结构以及基于IP核的FIR数字滤波器。利用Matlab软件进行FIR滤波器仿真,并与基于FPGA实现滤波器的Modelsim仿真输出数据进行比较,结果表明,设计的FIR滤波器功能正确、滤波性能良好。通过对不同结构滤波器的资源占用情况和数据处理速度进行分析,得出不同应用场合可选择不同的滤波器结构的结论。
Since the actual signal processing has the requirements of real?time response and flexibility,the implementation of FPGA?based FIR filter has the two advantages. The filter coefficient is calculated and the magnitude?frequency characteristic is analyzed by FDATool in Matlab. The FIR digital filters of serial structure,parallel structure and IP core based were designed and realized respectively by FPGA. FIR filters are simulated by Matlab,and compared with the data output by Modelsim simula?tion of the filter implemented by FPGA,the results show that functions of the designed FIR filters are correct,and filtering per?formance is better. The resource occupation situation and data processing speed of different structure filters are analyzed,and the conclusion of filters with different structures can be chosen to apply to suitable situation was obtained.