DSP Builder for Intel® FPGAs (Advanced Blockset): Handbook

ID 683337
Date 7/15/2024
Public
Document Table of Contents

14.4.46. Polynomial

The Polynomial block takes input x, and provides the result of evaluating a polynomial of degree, n:

f(x) = a0 + a1x + a2x2 + … + anxn

.

Table 238.  Parameters for the Polynomial Block
Parameter Description
Coefficient banks A vector of (n +1) components. Specify the coefficients in the order a0, a1, a2, …, an.

If input x is driven by a vector signal, then a matrix with (n+1) columns, and one row per vector component can be specified. Each output component is the result of evaluating an independently defined polynomial of degree n.

For more than one coefficient bank, the number of rows in the matrix should be v*u, for v vector components, and u banks. The coefficients for a given bank are ordered contiguously in the matrix.

Number of coefficient banks
  • Set to the default value of 1, for only one input, x.
  • Set to greater than 1, for a second input, b, to specify which bank of coefficients DSP Builder uses to evaluate the polynomial.

.

Table 239.  Port Interface for the Polynomial Block
Signal Direction Type Description Vector Data Support Complex Data Support
x Input Floating-point Data Yes No
b Input Integer Bank selector No No
q Output Floating-point Data Yes No