Constraints - Constraints - 2026.2 English

Vitis IP Libraries

Release_Date
2026-11-12
Version
2026.2 English

To apply constraints within the FIR instance for successful design mapping, you need to know the internal instance names for graph and kernel objects.

Each FIR variant has a variety of access methods to help assign a constraint on a kernel and/or a net, for example:

  • getKernels() which returns a pointer to an array of kernel pointers, or
  • getInNet() which returns a pointer to a net indexed by method’s argument(s).

More details are provided in the API Reference Overview.

When configured for SSR operation, the FIR has a two-dimensional array (paths x phases) of units that are themselves FIRs, though each atomic FIR in this structure can itself be a series of kernels as described by TP_CASC_LEN. The getKernels() access function returns a pointer to the array of kernels within the SSR FIR. This array has TP_SSR * TP_SSR * TP_CASC_LEN members. The index in the array is determined by its path number, phase number, and cascade position as shown in the following equation.

Kernel Index = Kernel Path * TP_SSR * TP_CASC_LEN + Kernel Phase * TP_CASC_LEN + Kernel Cascade index

For example, in a design with TP_CASC_LEN = 2 and TP_SSR = 3, the first kernel of the last path has an index 12.

The nets returned by the getInNet() function can be assigned custom fifo_depths values to override the defaults.