dni::get_ports (::quartus::dcmd_dni)

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

Tcl Package and Version

Belongs to ::quartus::dcmd_dni 1.0

Syntax dni::get_ports [-h | -help] [-long_help] [-exact] [-filter <expression> ] [-hierarchical] [-nocase] [-of_objects <objects> ] [-quiet] [ <patterns> ]
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-exact exact patterns to search for object. Exact patterns cannot include wildcard characters "*" or "?" and escaped characters "\".
-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
-quiet Suppress error, warning, or information messages
<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 ports from the current design,
relative to the current instance.
Example Usage
# Creates a collection of ports from top module.
dni::get_ports

# Creates a collection of ports filter by output direction.
dni::get_ports -filter {direction==output}

# Creates a collection of ports connected to net n1.
dni::get_ports -of_objects [dni::get_nets n1]
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful