6.1. Loop Initiation Interval (ii Pragma)
- The loop is not critical to the throughput of your component.
- The running time of the loop is small compared to other loops it might contain.
You can also apply the ii pragma to force a loop to an II of 1 and accept a possible fMAX penalty.
The <desired_initiation_interval> parameter is required and is an integer that specifies the number of clock cycles to wait between the beginning of execution of successive loop iterations.
#pragma ii <desired_initiation_interval>
You can also direct the compiler to attempt to achieve an II for your component with the hls_component_ii (<N>) component attribute. For more information, refer to hls_component_ii .
Did you find the information on this page useful?