open_solution
目标将会为 Vivado IP 流程或 Vitis 内核流程配置编译器。这将根据指定流程来更改工具的默认行为。下表显示了这两个流程的默认设置,以便您快速判定默认配置中的差异。
提示: 除了默认配置外,Vitis HLS 工具还有其它功能特性可用于支持其中某一流程,而不支持另一流程,或者两个流程之间采用不同配置。在本文档中,会高亮显示此类差异。
基于 | Vivado | Vitis |
---|---|---|
set_clock_uncertainty | 27% | 27% |
config_compile -pipeline_loops | 64 | 64 |
config_compile -name_max_length | 255 | 255 |
config_export -vivado_optimization_level | 0 | 0 |
config_export -vivado_phys_opt | none | none |
config_rtl -module_auto_prefix | true | true |
config_rtl -register_reset_num | 0 | 3 |
config_schedule -enable_dsp_full_reg | true | true |
INTERFACE 编译指示默认设置 | IP 模式 | 内核模式 |
config_interface -m_axi_addr64 | true | true |
config_interface -m_axi_latency | 0 | 64 |
config_interface -m_axi_alignment_byte_size | 0 | 64 |
config_interface -m_axi_max_widen_bitwidth | 0 | 512 |
config_interface -default_slave_interface | s_axilite | s_axilite |
config_interface -m_axi_offset | slave | slave |