Users can use the get_intf_pins()
API to read the interface pins of an IP such as the AXI Interfaces. Here, I used thre axi_gpio cell object discovered above
Vitis [0]: axi_gpio_intf_pins = HwDesign.get_intf_pins(of_object=cells[0])
Vitis [0]: print(axi_gpio_intf_pins)
S_AXI GPIO
Again, users can read the interface pin properties to read the downstream AXI interface of the axi_gpio cell object
Vitis [0]: ds_axi_gpio_intf_pins = HwDesign.get_intf_pins(of_object=cells[0],filter='TYPE==SLAVE')
Vitis [0]: print(ds_axi_gpio_intf_pins)
S_AXI_0
Similar API are shown below
get_nets()
get_intf_nets()
get_ports()
get_intf_ports()