3.4.7 Using port arrays

This section describes how to expand, collapse, and hide port arrays.

Procedure

  1. Right click on one of the axi_if_in ports in the PL340 component to open a context menu. Select Collapse Port to reduce the port array to a single visible item in the component.
  2. Select the PL340 component and then select Object Properties from the Object menu.
  3. Select the Ports tab in the Component Instance Properties dialog.
    The axi_if_in port is a port array as indicated by the + beside the port name. Click the + to expand the port tree view.
  4. Deselect the checkboxes beside axi_if_in[2] and axi_if_in[3] to hide the chosen array ports so that expanding the port array still does not display them. Click OK to close the dialog.
    You can also hide a port by using the port context menu and selecting Hide Port.
  5. To expand the axi_if_in port in the PL340 component, you can:
    • Right click on the port and select Expand Port from the port context menu.
      1. Display the Component Instance Properties dialog.
      2. Select the Ports tab.
      3. Click the + next to the port array to expand the port tree view.
      4. Select the Show as Expanded radio button.
    Only the axi_if_in[0] and axi_if_in[1] ports are shown.
  6. To redisplay the axi_if_in[2] and axi_if_in[3] ports, you can:
    • Use the port context menu and select Show All Ports.
    • Reverse the deselection step, selecting the checkboxes next to the hidden ports, in the Component Instance Properties dialog.

    Ports with more than eight items are shown collapsed by default.

Postrequisites

The rest of this tutorial does not require the PL340 component, so you can delete it.

Figure 3-6 Example system with added components
Example system with added components


Non-ConfidentialPDF file icon PDF versionARM 100965_1101_00_en
Copyright © 2014–2017 ARM Limited or its affiliates. All rights reserved.