Intel® Quartus® Prime Pro Edition User Guide: Scripting
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: reference_TCL_tcl_pkg_sta_ver_1_0_cmd_get_port_info
Ixiasoft
Visible to Intel only — GUID: reference_TCL_tcl_pkg_sta_ver_1_0_cmd_get_port_info
Ixiasoft
3.1.29.32. get_port_info (::quartus::sta)
The following table displays information for the get_port_info Tcl command:
Tcl Package and Version | Belongs to ::quartus::sta |
||
Syntax | get_port_info [-h | -help] [-long_help] [-edge_rate] [-is_inout_port] [-is_input_port] [-is_output_port] [-name] [-type] <port_object> | ||
Arguments | -h | -help | Short help | |
-long_help | Long help with examples and possible return values | ||
-edge_rate | Return the edge_rate value | ||
-is_inout_port | Return true if it is an inout port, or false otherwise | ||
-is_input_port | Return true if it is an input port, or false otherwise | ||
-is_output_port | Return true if it is an output port, or false otherwise | ||
-name | Return the port name | ||
-type | Return the port type | ||
<port_object> | Port object | ||
Description | Returns information about the specified port (referenced by port ID). Port ID's can be obtained by Tcl commands such as get_ports. The -type option returns "port". The -name, -type, -edge_rate, -is_input_port, -is_output_port and is_inout_port options are mutually exclusive. |
||
Example Usage | |
||
Return Value | Code Name | Code | String Return |
TCL_OK | 0 | INFO: Operation successful | |
TCL_ERROR | 1 | ERROR: Options are mutually exclusive: <string>. Specify only one of the these options. | |
TCL_ERROR | 1 | ERROR: Object with ID <string> is not an object of type <string>. Specify the ID of an object with the correct type. | |
TCL_ERROR | 1 | ERROR: Cannot find object of ID <string>. Specify an existing object ID. | |
TCL_ERROR | 1 | ERROR: Unsupported object type: <string>. Specify a supported object type. |