Specifying the access and activation policy for asynchronous active elements

In the Features window for a Rhapsody implementation block (RIMB), on the Access & Activation tab, you can specify the activation policy for asynchronous active elements and specify which elements on ports are accessed by which active elements.

About this task

On the Access & Activation tab, an activation policy must be defined for each asynchronous active operation and Rhapsody implementation block, if the block is asynchronous. Otherwise, the activation policy never runs.

Note: This topic details only which elements are accessed. The access mode, which can be implicit or explicit, is specified in the level of attributes on Rhapsody implementation block interfaces.

Procedure

To specify the activation policy for asynchronous active elements and to specify which elements on ports are accessed by which active elements:

  1. In the Active Element column, select an active operation from the list.
    AR_BMTPackage1 window showing Access & Activation tab
    The Rhapsody implementation block is listed. The function associated with the runnable in this case is the doExecute command for the Rhapsody implementation block.
  2. In the Activation Policy column, select an activation policy. The activation policies correspond to the types of Runtime Environment (RTE) events. If a Wakeup on policy is specified, the Runtime Environment activates the active element from a wait point. If you want to define an access policy instead of an activation policy, select N/A.
    Note: If the activation policy is set to Data Received Event or Wakeup on Data Received Event, this entry line defines both an activation policy and the access to the data element.
  3. In the Context column, select the port that carries the data element or operation in respect to the specified activation policy or access. The ports in the list are filtered according to the selected activation policy. If you select All, the activation policy or access is defined in respect to all elements on all ports.
  4. In the Element column, select a data element or operation on the interface typing the port specified in the Context column. If you select All, the activation policy or access is defined in respect to all elements on the port that is specified in the Context column. If the Context column is set to All, the Element column must also be All.
    Note: A given active element can have multiple entry lines in the table on the Access & Activation tab. In this case, the defined activation policy and access are the sum of all the entry lines on the table.

Feedback