beautypg.com

Make_input_port, Usage, Options – Altera Quartus II Scripting User Manual

Page 197: Description, Example, Make_input_port –67

background image

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 ] [-literal_index ] [-node ]
-port_type

Options

-gen_id : Generic ID of the node for the port

-literal_index : Literal index of new input port

-node : ID of the node for the port

-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