Debug Options - Debug Options - 2025.2 English - UG1399

Vitis High-Level Synthesis User Guide (UG1399)

Document ID
UG1399
Release Date
2026-01-22
Version
2025.2 English

The syn.debug commands enable debugging in the HLS component and specify where to write debugging output.

syn.debug.enable
Enable debug file generation. If you do not enable it, the HLS you can optimize the component during compilation. However, the component cannot support debug.
syn.debug.enable=1
Tip: This option relates to the v++ -c -g option. You must manually enable this option in the HLS component when debugging at the Application level.
syn.debug.directory
Specifies the location of to write the output of HLS debugging. If you do not specify it, the location sets to hls/.debug.
syn.debug.directory=../../debug