The array size is equal to the length of the FIR multiplied by the number of channels and divided equally by AI Engine kernels used, that is:
TapsPerRtpPort = (TP_FIR_LEN * TP_TDM_CHANNELS) / (TP_SSR * TP_CASC_LEN)
For example, if TP_FIR_LEN = 6 and TP_TDM_CHANNELS = 16, if TP_SSR = 2 and TP_CASC_LEN = 3, the coefficient array is divided into 2 * 3 = 6 parts.
The FIR TDM graph class provides a helper method: getTapsPerRtpPort(int kernelNo) to get the number of FIR taps per RTP port. For more details, refer to: API Reference Overview.