Connecting components

You can connect ports graphically in the Diagram Window or by selecting the start and end point from port lists.

When you are connecting components, you must observe the following rules:

Note

To create a bit-slice connection, first create a full-width connection between two ports by selecting Tools → IP-XACT Connections, and then edit the connection. For instructions, see Changing a full-width connection to a bit-slice connection.

To connect ports graphically:

  1. Make sure that the Canvas is in Connect mode by clicking Connect in the toolbar.

  2. Place the cursor over the first port to be connected. The cursor changes to the Connect Ports Mode cursor and the port is highlighted.

  3. Left-click the port and move the cursor to the second port to be connected.

    The Canvas automatically creates an orthogonal wire when you move the cursor to the second port. To complete the connection, place the cursor over the second port to be connected, and when the port is highlighted, left-click the mouse to complete the connection. You can cancel the connection by pressing Esc any time before left-clicking the second port connection.

    Note

    If you attempt to connect ports that are not of the correct types, the connection is not made.

  4. To move a connection line or change the names that AMBA Designer automatically generates for a connection, switch to Edit mode by clicking Edit in the toolbar.

  5. To move a connection line, left-click it, grab a control point, and then shift the line.

  6. To rename a connection, right-click it, then select Rename.

    Edit the name field and click OK.

To connect ports by selecting them from lists:

  1. Make sure that the Canvas is in Edit mode by clicking Edit in the toolbar.

  2. Right-click on an empty section of the Diagram Window and select Add Connection.... The Create IP-XACT Connection dialog box appears, see Figure 14.

    Figure 14. Create IP-XACT Connection

    Create IP-XACT Connection

The Bus Interface tab enables you to connect the bus interfaces and create external ports.

  1. To create a connection:

    1. Select a port in the left-hand Select a Port pane.

    2. Select a port in the right-hand Select a Port pane.

    3. Click Connect to connect the selected ports.

  2. To create external bus interface ports:

    1. Select Create External Port (Multi Select).

    2. Press the Ctrl key and select one or more ports in the left-hand Select a Port pane.

    3. Click Connect to create an external port for each of the selected ports.

Table 2 shows the settings you can use to filter the ports to display and name a bus interface connection.

Table 2. Create IP-XACT Connection, Bus Interface settings

Option

Description

Auto Gen Connection Name

When selected, AMBA Designer assigns a name for the connection.

When deselected, you can enter a name for the connection. However, you cannot enter a name if Create External Port (Multi Select) is selected.

Show Unconnected Ports OnlyWhen selected, the Select a Port pane displays unconnected ports only.
Connection NameDisplays the name of the connection.
Select a Bus Interface Type
VendorWhen selected, the drop-down list displays the vendor name.
LibraryWhen selected, the drop-down list displays the library name.
NameWhen selected, the drop-down list displays the product name.
VersionWhen selected, the drop-down list displays the product version.
Select Component A and port
Select a Port

Displays bus interfaces. To filter the results, you can:

  • Use the Select Component A and port drop-down list.

  • Enter text in the Select Component A and port search box.

  • Use the Select Bus Interface Type drop-down list.

Create External Port (Multi Select)

When selected, you can select multiple bus interfaces and create an external port for each interface.

Select Component B and port
Select a Port

Displays bus interfaces. To filter the results, you can:

  • Use the Select Component B and port drop-down list.

  • Enter text in the Select Component B and port search box.

  • Use the Select Bus Interface Type drop-down list.


The Ports tab enables you to connect ports, tie-off ports to fixed values, and create external ports.

  1. To create a connection:

    1. Select a port in the left-hand Select a Port pane.

    2. Set the left-hand Left and Right fields to select which bits of the port you require.

      Note

      This step is only applicable to multi-bit ports, that is, when the Left or Right fields display nonzero values.

    3. Select a port in the right-hand Select a Port pane.

    4. Set the right-hand Left and Right fields to select which bits of the port you require. The bit width must match that chosen in step b.

      Note

      This step is only applicable to multi-bit ports.

    5. Click Connect to connect the selected ports.

  2. To tie a port to a fixed value:

    1. Select a port in the left-hand Select a Port pane. You must select an input port.

    2. Click Enable.

    3. Set the left-hand Left and Right fields to select which bits of the port you require.

      Note

      This step is only applicable to multi-bit ports, that is, when the Left or Right fields display nonzero values.

    4. Enter a value in the Value field. The value sets the tie-off value and must be appropriate to the bit width you chose in step c.

    5. Click Connect to tie off the port.

  3. To change a tie-off input port value:

    1. Select an input port in the left-hand Select a Port pane. The right-hand Select a Port pane displays the tie-off value.

    2. Click on the tie-off value in the right-hand pane.

    3. Enter a value in the Value field. The value must be appropriate to the bit width that the Left and Right fields display.

    4. Click Update Connection to update the tie-off value.

  4. To remove a tie-off input port value:

    1. Select an input port in the left-hand Select a Port pane. The right-hand Select a Port pane displays the tie-off value.

    2. Click on the tie-off value in the right-hand pane.

    3. Click Disconnect to remove the tie-off.

  5. To create external ports:

    1. Select Create External Port (Multi Select).

    2. Press the Ctrl key and select one or more ports in the left-hand Select a Port pane.

    3. Click Connect to create an external port for each of the selected ports.

The Clk / Reset tab enables you to connect clocks, connect resets, and create external ports.

  1. To connect clocks:

    1. Set the Select Clk or Reset port type drop-down list to CLK.

    2. Press the Ctrl key and select one or more clock ports in the Select Ports to connect pane.

    3. Click Connect to connect the selected clocks.

  2. To connect clocks to an external clock port:

    1. Set the Select Clk or Reset port type drop-down list to CLK.

    2. Press the Ctrl key and select one or more clock ports in the Select Ports to connect pane.

    3. Select an external clock port from the Select destination port drop-down list.

    4. Click Connect to connect the selected clocks to the selected external clock port.

  3. To connect resets:

    1. Set the Select Clk or Reset port type drop-down list to RESET.

    2. Press the Ctrl key and select one or more reset ports in the Select Ports to connect pane.

    3. Click Connect to connect the selected resets.

  4. To connect resets to an external reset port:

    1. Set the Select Clk or Reset port type drop-down list to RESET.

    2. Press the Ctrl key and select one or more reset ports in the Select Ports to connect pane.

    3. Select an external reset port from the Select destination port drop-down list.

    4. Click Connect to connect the selected resets to the selected external reset port.

Show/hideSee also

Copyright © 2006-2013 ARM. All rights reserved.ARM DUI 0333O
Non-ConfidentialID092413