Behavior Changes to Module Names and Module Prefix - 2023.2 English

Vitis High-Level Synthesis User Guide (UG1399)

Document ID
UG1399
Release Date
2023-12-18
Version
2023.2 English

In Vivado HLS, when config_rtl -module_auto_prefix was enabled the top RTL module would have its name prefixed with its own name. SinceVitis HLS 2020.1, this auto prefix will only be applied to sub-modules.

There is no change to the -module_prefix behavior. If this option is used, the specified prefix value will be prepended to all modules including the top module. The -module_prefix option also still takes precedence over -module_auto_prefix.

# vivado HLS 2020.1 generated module names (top module is "top")
top_top.v      
top_submodule1.v
top_submodule2.v
 
# Vitis HLS 2020.1 generated module names
top.v             <-- top module no longer has prefix
top_submodule1.v
top_submodule2.v