3.20. Self Port dialog

Use the Self Port dialog to add a port to the top-level component. To display the dialog in Figure 3.52, without having anything selected in the Block Diagram view click Add Ports, or click Add Port from the Object menu.

Figure 3.52. Self Port dialog

Self Port dialog

The dialog has the following controls:

Instance name

Specify the name of the port.

Array Size

Enter the number of ports is the new port is to be a port array. Leave the box empty, or enter 1, for normal ports.

Protocol

Enter the name of the protocol for the port. To display a list of available protocols, click the Select... button.

Type

Select Master port or Slave Port.

Attributes

If required, specify the optional attributes for the port:

  • Addressable for bus ports

  • Internal for ports between subcomponents. The port is not visible if the current component is added to a system.

Create LISA method templates according to selected protocol

Select an option from the drop-down list to create implementation templates for methods, or behaviors, for the selected protocol:

  • Do not create method templates.

  • Create only required methods. This is the default

  • Create all methods, including optional behaviors.

Only methods corresponding to the selected port type, that is, for either master or slave, are created.

Editing the existing port might result in the creation of new methods, but existing methods will not be deleted.

Mirror port image

Reverse the direction of the port.

Copyright © 2007-2009 ARM Limited. All rights reserved.ARM DUI 0370H
Non-Confidential