Viewing Suggestions in Tcl or Text Format - 2023.2 English

Vivado Design Suite User Guide: Design Analysis and Closure Techniques (UG906)

Document ID
Release Date
2023.2 English

Suggestion objects are stored in binary: as a consequence, the only way to read the suggestion is to load the design, read the suggestions, and run report_qor_suggestions. Support for viewing and executing suggestions in Tcl is available for users who do not wish to use the object flow.

To write out suggestions in Tcl, use the following command:

write_qor_suggestions -tcl_output_dir <outputDir>

Running this command outputs one or more Tcl files to the stated directory. This option is not available in the Vivado IDE.

For the Tcl scripts generated for the implementation commands, add them to implementation runs using the Tcl Pre or Post hooks, typically before opt_design is best to use. They can be read using Tcl source command in a non project flow. For the synthesis Tcl scripts, they must be added to the constraints set in project mode (update the file filter to Tcl in order to see them), or in non project mode accessed using read_xdc -unmanaged <Tcl file>.

When the objects are in Tcl, it is the user's responsibility to maintain the Tcl to remove objects that are no longer required and apply only the suggestions that they want to apply. Any newly generated Tcl scripts will need to be appended to the existing Tcl scripts.

Suggestions that are entered using Tcl are no longer reported by report_qor_suggestions.