Make_input_port, Usage, Options – Altera Quartus II Scripting User Manual
Page 197: Description, Example, Make_input_port –67
Chapter 3: Tcl Packages & Commands
3–67
chip_planner
© July 2013
Altera Corporation
Quartus II Scripting Reference Manual
make_input_port
Usage
make_input_port [-gen_id <gen id>] [-literal_index <literal index>] [-node <node id>]
-port_type <port type>
Options
-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
make_input_port -node 0 -port_type DATAA
make_input_port -node 0 -port_type DATAA -literal_index 0