Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 6/20/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.1.3.6. get_iports (::quartus::chip_planner)

The following table displays information for the get_iports Tcl command:

Tcl Package and Version

Belongs to ::quartus::chip_planner

Syntax get_iports [-h | -help] [-long_help] [-as_gen_id] [-gen_id <gen id> ] [-node <node id> ] [-src_gen_id <gen id> ]
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-as_gen_id Option to return results as generic ID
-gen_id <gen id> Node generic ID
-node <node id> Node id
-src_gen_id <gen id> Source port generic ID
Description
Returns a collection of input ports for the specified node.

You can use the collection with the "foreach_in_collection"
command.
Example Usage
get_iports -node 3
get_iports -src_gen_id 5
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: Conflicting arguments. Consult help for the Tcl command for details.
TCL_ERROR 1 ERROR: Illegal node generic ID: %u. Specify a legal node generic ID.
TCL_ERROR 1 ERROR: Illegal node ID: %u. Specify a legal node ID.
TCL_ERROR 1 ERROR: Illegal oport generic ID: %u. Specify a legal oport generic ID.
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.