make_output_port (::quartus::chip_planner)

The following table displays information for the make_output_port Tcl command:

Tcl Package and Version

Belongs to ::quartus::chip_planner 2.0

Syntax make_output_port [-h | -help] [-long_help] [-gen_id <gen id> ] [-literal_index <literal index> ] [-node <node id> ] -port_type <port type>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-gen_id <gen id> Generic ID of the node to which to add the port
-literal_index <literal index> Literal index of new output port
-node <node id> ID of the node for adding the port
-port_type <port type> Type of new output port
Description
Adds a new output port to the specified node. The
output port must not already exist.

Returns the port index, if a new output port is added
to the node. Returns -1, otherwise.
Example Usage
make_output_port -node 0 -port_type REGOUT
make_output_port -node 0 -port_type REGOUT -literal_index 0
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: Conflicting arguments. Consult help for the Tcl command for details.
TCL_ERROR 1 ERROR: Illegal node generic ID: %u. Specify a legal node generic ID.
TCL_ERROR 1 ERROR: Illegal node ID: %u. Specify a legal node ID.
TCL_ERROR 1 ERROR: Illegal port type: <string>. Specify a legal port type.
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.