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

Page 198: Description, Example, Make_output_port –68

Advertising
background image

3–68

Chapter 3: Tcl Packages & Commands

chip_planner

Quartus II Scripting Reference Manual

© July 2013

Altera Corporation

make_output_port

Usage

make_output_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 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

make_output_port -node 0 -port_type REGOUT
make_output_port -node 0 -port_type REGOUT -literal_index 0

Advertising