The default global option configures the solution for either Vitis application acceleration development flow or Vivado IP development flow.
open_solution -flow_target [vitis | vivado]
This global option is replacing the old config option (config_sdx
).
Vivado Flow:
Configures the solution to run in support of the Vivado IP generation flow, requiring strict use of pragmas and directives, and exporting the results as Vivado IP.
open_solution -flow_target vivado
Default Control Settings | Vivado HLS | Vitis HLS |
---|---|---|
config_compile
-pipeline_loops
|
0 | 64 |
config_export
-vivado_optimization_level
|
2 | 0 |
set_clock_uncertainty
|
12.5 | 27% |
config_export
-vivado_optimization_level
|
20 | 255 |
config_interface
-m_axi_alignment_byte_size
|
N/A | 0 |
config_interface
-m_axi_max_widen_bitwidth
|
N/A | 0 |
config_export
-vivado_phys_opt
|
place | none |
config_interface
-m_axi_addr64
|
false | true |
config_schedule
-enable_dsp_full_reg
|
false | true |
config_rtl
-module_auto_prefix
|
false | true |
interface pragma defaults | ip mode | ip mode |
Vitis Flow (Kernel Mode):
Configures the solution for use in the Vitis application acceleration development flow. This configures the Vitis HLS tool to properly infer interfaces for the function arguments without the need to specify the INTERFACE pragma or directive, and to output the synthesized RTL code as a Vitis kernel object file (.xo).
open_solution -flow_target vitis
Default Control Settings | Vivado HLS | Vitis HLS |
---|---|---|
interface pragma defaults | ip mode | kernel mode (check default interfaces) |
config_interface -m_axi_alignment_byte_size
|
N/A | 64 |
config_interface -m_axi_max_widen_bitwidth
|
N/A | 512 |
config_compile -name_max_length
|
256 | 255 |
config_compile -pipeline_loops
|
64 | 64 |
set_clock_uncertainty
|
27% | 27% |
config_rtl -register_reset_num
|
3 | 3 |
config_interface -m_axi_latency
|
0 | 64 |