Key Behavioral Differences - 2024.1 English

Vitis High-Level Synthesis User Guide (UG1399)

Document ID
UG1399
Release Date
2024-07-03
Version
2024.1 English

This section highlights some of the key behavioral differences between HLS and AMD Vitis™ HLS. These key differences can be the source of big quality of results (QoR) differences and therefore, it is necessary to understand these key differences when comparing QoR between different versions of HLS tools. AMD recommends reviewing this section before using Vitis HLS.

Tip: Due to the behavioral differences between Vitis HLS and Vivado HLS, you might need to differentiate your code for use in the Vitis tool. To enable the same source code to be used in both tools, Vitis HLS supports the __VITIS_HLS__ predefined macro to encapsulate source code written specifically for use in that tool. Use #if defined( __VITIS_HLS__) type pre-processor declarations to encapsulate tool specific code.