Reported Tripcount Values - 2025.1 English - XD261

Vitis Tutorials: Vitis HLS (XD261)

Document ID
XD261
Release Date
2025-06-17
Version
2025.1 English
  1. If loop bounds are compile-time constants, they are reported in Code Analyzer;

  2. Otherwise, if a tripcount pragma is provided, this value is used by Code Analyzer;

  3. Otherwise, the tripcount value is measured when running the C-testbench.

In any case, the reported tripcounts account for the loop unrolling: loop tripcounts are divided by unrolling factors. Fully unrolled loops will always have a reported tripcount of 1.