get_port_info (::quartus::chip_planner)

The following table displays information for the get_port_info Tcl command:

Tcl Package and Version

Belongs to ::quartus::chip_planner 2.0

Syntax get_port_info [-h | -help] [-long_help] [-gen_id <gen id> ] -info <information type> [-node <node id> ] [-port_id <port id> ] [-type <iport|oport> ]
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-gen_id <gen id> Port generic ID
-info <information type> Type of information
-node <node id> Node ID
-port_id <port id> Port ID
-type <iport|oport> Option to specify the port as an input or output port
Returns the requested type of information for
the specified port.

To get available information types, use the
get_info_parameters command.

If the information type is legal for the specified
port, the result is the requested information.
Otherwise, the result is an empty string.
Example Usage
get_port_info -node 3 -port_id 2 -type iport -info port_name
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: Unable to find port ID: %u. Specify a different port ID.
TCL_ERROR 1 ERROR: Conflicting arguments. Consult help for the Tcl command for details.
TCL_ERROR 1 ERROR: <string> value <string> is not valid for the specified port. Specify a legal value.
TCL_ERROR 1 ERROR: Illegal node ID: %u. Specify a legal node ID.
TCL_ERROR 1 ERROR: Illegal port generic ID: %u. Specify a legal port generic ID.
TCL_ERROR 1 ERROR: The node you specified is a legalization node. Modification of legalization nodes is not supported.
TCL_ERROR 1 ERROR: Unable to find Chip Planner netlist. Read the netlist by using the read_netlist command.