This AR describes the Vivado Synthesis -flatten_hierarchy switch option, which can be applied both in project and non-project mode.
In the project mode, the -flatten_hierarchy switch option can be set using the Synthesis Settings button within the Vivado Integrated Design Environment. This is used to control the manner in which the Vivado synthesis tool can synthesize a design hierarchy. The following are the various -flatten_hierarchy options:
In the non-project mode, -flatten_hierarchy switch along with one of the options for-flatten_hierarchy (none, full, rebuilt)can be passed to synth_design Tcl command. Here is a sample example:
synth_design -top bft -part xc7k70tfbg484-2 -flatten_hierarchy none