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

Page 191: Description, Example, Get_port_info –61

Advertising
background image

Chapter 3: Tcl Packages & Commands

3–61

chip_planner

© July 2013

Altera Corporation

Quartus II Scripting Reference Manual

get_port_info

Usage

get_port_info [-gen_id <gen id>] -info <information type> [-node <node id>] [-port_id
<port id>] [-type <iport|oport>]

Options

-gen_id <gen id>: Port generic ID

-info <information type>: Type of information

-node <node id>: Node ID

-port_id <port id>: Port ID

-type <iport|oport>: Option to specify the port as an input or output port

Description

Returns the requested type of information for the specified port.

To get available information types, use the get_info_parameters command.

If the information type is legal for the specified port, the result is the requested information. Otherwise, the
result is an empty string.

Example

get_port_info -node 3 -port_id 2 -type iport -info port_name

Advertising