Stack Size Allocation - Stack Size Allocation - 2026.2 English

Vitis IP Libraries

Release_Date
2026-11-12
Version
2026.2 English

The test harness also estimates the stack size required for a variety of cases and provides a formula to assign enough memory for stack purposes. When you instantiate the library unit within your design, compilation may fail due to insufficient stack for a specific kernel. The error message indicates the minimum stack size required.

Pass the compiler argument advised by the error message to allocate enough stack. Alternatively, search the Makefile for STACK_SIZE and use the formula provided to calculate and allocate an appropriate stack size.