After analysis, you will most likely need or want to optimize the performance of your function. Even if it is performing well there may be opportunities for improvement. This section discusses the mechanisms for applying optimizations to your project. Refer to Optimizing Techniques and Troubleshooting Tips for a discussion of the various types of optimizations you can perform.
You can add optimization directives directly into the source code as
compiler pragmas, using various HLS PRAGMAS, or you can use Tcl
set_directive commands to apply optimization directives in a Tcl script to
be used by a solution.
In addition to optimization pragmas and directives, AMD Vitis™ HLS provides a number of configuration settings to let you manage the default results of simulation and synthesis. These configuration settings are accessed using the menu command, and clicking the Add command to add configuration settings. Refer to Configuration Commands for more information on applying specific configuration settings.