Not all configurations of a given library unit might be supported. For instance, the range of TP_DECIMATE_FACTOR is affected by the choice of input sample data type TT_DATA. Where possible, such configurations will throw a static_assert compile-time error very early in compilation, or if the library element is being generated from Vitis Model Composer, an error will be reported there prior to generation. The corresponding error messages describe the reason for the error, such as the parameters involved in the conflict, but the static_assert statement does not allow configuration-specific values to be included in the error message.
However, it is not practical in general to predict when the resources required by a configuration will exceed the availability of each resource on the target device (e.g., memory use). In such cases, compile-time errors will still be generated, but they will be generated by the aiecompiler tool, at a later stage of compilation.
Please refer to Configuring the Library Elements which describes a configuration utility. This utility will help guide the user to a legal configuration before the compilation stage.