Embedded Target for Texas Instruments C6000 DSPs | ![]() ![]() |
Filter a real input signal using a real FIR filter
Library
Description
The General Real FIR block filters a real input signal X using a real FIR filter. This filter is implemented using a direct form structure.
The filter coefficients are specified by a real vector H, which must contain at least five elements. The coefficients must be in reversed order. All inputs, coefficients, and outputs are Q.15 signals.
The General Real FIR block supports discrete sample times and both little-endian and big-endian code generation.
Dialog Box
Specify via dialog
--Enter the coefficients in the Coefficients (H) parameter in the dialog
Input port
--Accept the coefficients from port H. This port must have the same rate as the input data port X
Specify via dialog
is selected for the Coefficient source parameter. This parameter is tunable in simulation.Algorithm
In simulation, the General Real FIR block is equivalent to the TMS320C62x DSP Library assembly code function DSP_fir_gen
. During code generation, this block calls the DSP_fir_gen
routine to produce optimized code.
See Also
Complex FIR, Radix-4 Real FIR, Radix-8 Real FIR, Symmetric Real FIR
![]() | From Rtdx | LMS Adaptive FIR | ![]() |