Finite Impulse Response (FIR) Filter 是 DSP 系统内最常见和最基础的构建模块之一。尽管它的算法非常简单，但实现细节上的变异可能也很大，对于今天的硬件工程师来说，会耗费大量的时间，尤其是在数字无线电等滤波器控制系统中。FIR 编译器不仅可缩短按下按钮的滤波器实现时间，同时还可为用户提供在 FIR 滤波器规范的不同硬件架构之间进行权衡的能力。
Before configuring the FIR Compiler, use a Filter Design tool, such as MATLAB®, to generate coefficients for the application.
Once you have the coefficients, configure the IP customization options. For details, the Customizing and Generating the Core section in the Design Flow Steps chapter of the FIR Compiler Product Guide (PG149).
Start by configuring the following options:
In addition, review the following tabs on the left side of the GUI:
After the IP has been configured, generate the IP solution.
The FIR Compiler generates an example test bench along with the IP. Information on the test bench can be found in the Test Bench chapter of the FIR Compiler Product Guide (PG149). The best way to test a FIR Compiler implementation is to implement an impulse and review the impulse response in simulation. Many simulation tools allow formatting of the output in an analog format, which will give a visual view of the impulse response that can be reviewed in addition to the data response.
Now you are ready to integrate the FIR Compiler into your own application. The user interface is described in the Port Description section in the Product Specification chapter of the FIR Compiler Product Guide (PG149). Review the simulation in Step 3 as a reference on the expected waveforms for the interface ports.