Behavior Changes to config_rtl -module_auto_prefix - 2020.2 English

Vitis HLS Migration Guide (UG1391)

Document ID
UG1391
Release Date
2020-11-24
Version
2020.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. In 2020.1 Vitis HLS, 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