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