| Target Support Package™ TC6 | ![]() |
C64x DSP Library — Filtering

The C64x Real IIR block filters a real input signal X using a real autoregressive moving-average (ARMA) IIR Filter. This filter is implemented using a direct form I structure. You must use at least eight input samples.
There must be five AR coefficients and five MA coefficients. The first AR coefficient is always assumed to be one. Inputs, coefficients, and output are Q.15 data types.
The Real IIR block supports discrete sample times and supports little-endian code generation only.

Specify the source of the filter coefficients:
Specify via dialog — Enter the coefficients in the MA (numerator) coefficients and AR (denominator) coefficients parameters in the dialog box
Input ports — Accept the coefficients from ports MA and AR
Designate the moving-average coefficients of the filter in vector format. There must be five MA coefficients. This parameter is only visible when Specify via dialog is selected for the Coefficient sources parameter. This parameter is tunable in simulation.
Designate the autoregressive coefficients of the filter in vector format. There must be five AR coefficients, however the first AR coefficient is assumed to be equal to one. This parameter is only visible when Specify via dialog is selected for the Coefficient sources parameter. This parameter is tunable in simulation.
If the input state initial conditions are
All the same, you need only enter a scalar.
Different within channels but the same across channels, enter a vector containing the input state initial conditions for one channel. The length of this vector must be four.
Different across channels, enter a matrix containing all input state initial conditions. This matrix must have four rows.
If the output state initial conditions are
All the same, you need only enter a scalar.
Different within channels but the same across channels, enter a vector containing the output state initial conditions for one channel. The length of this vector must be four.
Different across channels, enter a matrix containing all output state initial conditions. This matrix must have four rows.
In simulation, the Real IIR block is equivalent to the TMS320C64x DSP Library assembly code function DSP_iir. During code generation, this block calls the DSP_iir routine to produce optimized code.
C64x Real Forward Lattice All-Pole IIR
![]() | C64x Real Forward Lattice All-Pole IIR | C64x Reciprocal | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |