You can also add custom menu commands using the create_gui_custom_command
Tcl command. Enter the command in the Tcl
Console of the Vivado IDE or source the command from a Tcl file.
Following is an example:
create_gui_custom_command -name showVersion -menu_name showVersion -description
“Display the tool version” -show_on_toolbar -command version