Related objects can be queried using the
-of
option to the relevant
get_*
command. For example, to get a list of pins connected to a
cell object, do the following:-
get_pins -of [get_cells inst_1]
The following image shows object types in the Vivado tool and their
relationships, where an arrow from one object to another object indicates that you can
use the
-of
option to the get_*
command to traverse logical connectivity and get Tcl references to
any connected object. For more information on first class objects and their
relationships, refer to the
Vivado Design
Suite Properties Reference Guide (UG912). Figure 1. First Class Object Relationships