Stack size allocation - 2023.2 English

Vitis Libraries

Release Date
2023.2 English

Similarly, the test harness provided with each library unit estimates the stack size required for a variety of cases and creates a formula to assign sufficient amount of memory for stack purposes. When the library unit is instanced within your design, compilation may fail with insufficient stack allocated for a specific kernel. Error message should suggest a minimum figure that is required.

Please use compiler argument to allocate enough stack as advised by the compiler message. Alternatively, search the Makefile provided for STACK_SIZE and use the formula for the library unit to calculate sufficient stack size and allocate accordingly.