The HDL Blockset in Model Composer includes a FIR Compiler block that targets the dedicated DSP48E1, DSP48E2, and DSP58 hardware resources in the 7 series, UltraScaleā¢ and VersalĀ® devices respectively to create highly optimized implementations. Configuration options allow generation of single rate, interpolation, decimation, Hilbert, and interpolated implementations. Standard MATLABĀ® functions such as fir2 or the MathWorks FDA tool can be used to create coefficients for the XilinxĀ® FIR Compiler.
Figure 1. FDA Tool Example