Variable latency for HLS streaming interfaces
Hi!
I`m testing an HLS component with two explicit streaming interfaces. First interface is input and second is output. Component`s body incorporates if-else statement, and positive branch has computational latency of 36 clocks when I compile it alone.. Negative branch has computational latency of 0 clocks when I compile it alone.
When I compile entire component I expect to get variable latency based on what condition has been triggered in if-else statement by the input stream. But I always get latency of 36 cycles.
Is it possible to get variable latency for HLS streaming interfaces?
Hi @pavlovconst,
Thank you for posting in Intel community forum and hope all is well.
For the concept pipeline for hardware design, you can refer to the best practice guide, it has some explaining there.
Another useful section that helps explain on conditional statement can be found in the page #25 in the link above.
Hope that clarify your doubts.Best Wishes
BB