When using a window API, for example, the window buffer must fit into a 32 kByte memory bank. Because this includes the margin, it limits the maximum window size. Therefore, it also indirectly sets an upper limit on TP_FIR_LEN.
The single_buffer() constraint is also needed to implement window buffers of > 16 kB. For more details, refer to: Single Buffer Constraint.
As a guide, a single rate symmetric FIR can support up to:
- 8k for 16-bit data, that is, int16 data
- 4k for 32-bit data, that is, cint16, int32, float
- 2k for 64-bit data, that is, cint32, cfloat
Another limiting factor when considering an implementation of a high-order FIR is the Program Memory and sysmem requirements.
Increasing the FIR length requires greater amounts of heap and stack memory to store coefficients. Program Memory footprint also increases as the number of instructions grows.
As a result, a single FIR kernel can only support a limited number of coefficients. Longer FIRs have to be split into a design consisting of multiple FIR kernels using the
TP_CASC_LEN parameter.