dni::get_ports (::quartus::dcmd_sdc)
The following table displays information for the dni::get_ports Tcl command:
Tcl Package and Version |
Belongs to ::quartus::dcmd_sdc 1.0 |
|||
Syntax | dni::get_ports [-h | -help] [-long_help] [-filter <expression> ] [-hierarchical] [-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 | |||
-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 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 |