set_port_info (::quartus::chip_planner)
The following table displays information for the set_port_info Tcl command:
Tcl Package and Version |
Belongs to ::quartus::chip_planner 2.0 |
|||
Syntax | set_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 and the new value | |||
-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 | |||
Description |
Sets the requested information for the specified port. To get available information types, use the get_info_parameters command. Returns 1, if the information type and new value are legal for the specified port, or returns 0 and the port remains unchanged. |
|||
Example Usage |
set_port_info -node 3 -info invert 1 -port_id 2 -type iport |
|||
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: Illegal number of arguments. Specify %u argument(s) for option <string>. | ||
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. |