add_usage (::quartus::chip_planner)

The following table displays information for the add_usage Tcl command:

Tcl Package and Version

Belongs to ::quartus::chip_planner 2.0

Syntax add_usage [-h | -help] [-long_help] [-gen_id <gen id> ] [-node <node id> ] [-port_id <port id> ] -port_type <port type>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-gen_id <gen id> Input port generic id
-node <node id> Node id
-port_id <port id> Input port id
-port_type <port type> Type of port usage to add
Description
Adds a new usage to the specified input port.

Returns 1, if the usage is added. Returns 0,
otherwise.
Example Usage
add_usage -node 0 -port_id 4 -port_type DATAC
add_usage -gen_id 21 -port_type DATAC
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: Illegal iport generic ID: %u. Specify a legal iport 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.