Scheduling Result
(Ask a Question)The scheduling result section shows trip count, iteration time, total time, and initiation interval (II) for any pipelined or unpipelined loops, or functions. The loops are grouped under their parent function in a tree structure to show the hierarchy.
The descriptions for these columns are as follows:
- Trip Count
- The number of iterations of the loop.
- Iteration Latency
- The number of clock cycles one iteration takes.
- II (Initiation Interval)
- For pipelined loops, the number of cycles between the initiation of successive loop iterations. Since loop iterations can overlap, this value is chosen to avoid violating data dependencies or resource constraints in the pipeline. The II is "undef" (undefined) for loops that are not pipelined.
- Total Latency
- Total number of clock cycles counted from the first cycle of the first loop iteration to the last cycle of the final loop iteration.
As example table is as follow:
+---------------------------------------------------------------------------------------------------------+
| Function: row_cumulative_sum takes 40804 cycles |
+---------------------------+--------------------+------------+-------------------+-------+---------------+
| Loop | Location In Source | Trip Count | Iteration Latency | II | Total Latency |
+---------------------------+--------------------+------------+-------------------+-------+---------------+
| for.loop:main.cpp:7:5 | line 7 of main.cpp | 200 | 204 | undef | 40800 |
| |__ for.loop:main.cpp:9:9 | line 9 of main.cpp | 199 | 3 | 1 | 201 |
+---------------------------+--------------------+------------+-------------------+-------+---------------+
SmartHLS™ Schedule Viewer also shows the same information.