Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 9/26/2022
Public

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

Document Table of Contents

4.1.5.9. dni::get_pins (::quartus::dcmd_sdc)

The following table displays information for the dni::get_pins Tcl command:

Tcl Package and Version

Belongs to ::quartus::dcmd_sdc

Syntax dni::get_pins [-h | -help] [-long_help] [-filter <expression> ] [-hierarchical] [-nocase] [-of_objects <objects> ] [ <patterns> ]
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-filter <expression> filter search by expression
-hierarchical search level-by-level down from current instance
-nocase perform case insensitive search
-of_objects <objects> search based on relationship to objects
<patterns> patterns to search for object. Patterns can include wildcard characters "*" or "?". Wildcard characters do not match with hierarchy separator
Description
This command creates a collection of instance ports from given search specifications.
Example Usage
# Creates a collection of instance ports with prefix out from top module.
dni::get_pins out*

# Creates a collection of instance ports connected to net h1_i1|n1.
dni::get_pins -of_objects [dni::get_nets h1_i1|n1]

# Creates a collection of instance ports from hierarchy h1* with direction as input and name prefix.
dni::get_pins h1*|* -filter {direction==input && name=~in*}]
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful