loop3 analysis - 2024.1 English - XD261

Vitis Tutorials: Vitis HLS (XD261)

Document ID
XD261
Release Date
2024-06-19
Version
2024.1 English

For loop 3: there is also a double nested loop with same tripcount for all loops.

However, with this example, Code Analyzer estimates that II=2.

Code Analyzer process loop3 investigations

A similar analysis and computation to the previous section can be performed and arrive to the conclusion that the innermost-loop has TI=TRIPCOUNT*II=16*2=32 and the outermost-loop has an overall TI=TRIPCOUNT*II=16*32=512, finally adding 2 extra cycles for the state machine gives TI=512+2=514.