make_input_port (::quartus::chip_planner)

The following table displays information for the make_input_port Tcl command:

Tcl Package and Version

Belongs to ::quartus::chip_planner 2.0

Syntax make_input_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 for the port
-literal_index <literal index> Literal index of new input port
-node <node id> ID of the node for the port
-port_type <port type> Type of new input port
Description
Adds a new input port to the specified node.

To use this command, the input port must not exist.

Returns the port index, if a new input port is added
to the node. Returns -1, otherwise.
Example Usage
make_input_port -node 0 -port_type DATAA
make_input_port -node 0 -port_type DATAA -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.