User Procs without Command Line Argument - 2020.2 English

Vivado Design Suite User Guide: Using Tcl Scripting (UG894)

Document ID
UG894
Release Date
2021-03-30
Version
2020.2 English

If the user proc does not provide any command line arguments, the meta-comment Argument Usage, although mandatory, must be left empty. For example:

proc ::tclapp::mycompany::template::my_command2 {} {
    # Summary : A one line summary of what this proc does
    # Argument Usage:
    # Return Value: 
    # TCL_OK is returned with result set to a string
    # Categories: xilinxtclstore, template
…
}