4. Reviewing the DATAFLOW Optimization - 2023.1 English

Vitis Tutorials: Getting Started with Vitis and Vitis HLS

Document ID
XD098
Release Date
2023-06-20
Version
2023.1 English

In the earlier steps, you found different ways to optimize the DCT algortithm so that you could achieve an II=1 with the pipelined loops. In this step, you use the DATAFLOW directive to enable task-level parallelism for functions or loops. For more information, refer to set_directive_dataflow in the Vitis HLS flow of the Vitis Unified Software Platform documentation (UG1416).

The DATAFLOW optimization tries to create task-level parallelism between the various functions in the code, on top of the loop-level parallelism where possible.