About Targeted Application

This topic describes the generic concepts of target specifications.

This page discusses:

Software Production Operations (SPO)

Software Production Operations (SPO) are used to produce software assets. These software assets can be various types of physical resources depending on the target. See Software Assets.

The target can be:

  • An Operating System (OS) running on a computer (for example, Windows or Linux)
  • An embedded board
  • A standard (for example, AUTOSAR or PLCopen)

The targeted application is the final result of a complete generation process, which can involve multiple SPOs. A targeted application is produced for a target.

Layers

The target and targeted application are composed of four layers that can be represented as follows:

Layer Description Example
Components Contains the algorithmic part of the generated code. Generated C code
Middleware Connects the behavior to a specific target. Description of the C code behavior on the Hardware Abstraction layer.
Hardware Abstraction Can be an operating system or an environment. Windows, Linux...
Hardware The physical device hosting the code. Computer

More precisely, the Components layer and the Middleware layer are subdivided:

  • The Components layer is composed of the following elements:
    Components layer content Description
    Components Components:
    • Implement algorithm
    • Exchange data
    • Rely on Middleware for realtime services
    • Can be target-dependent or independent

    Comments are target-dependent or target-independent.

    Communication and Scheduling component For more information, see Communication and Scheduling.
    See below Components Layer.
  • The Middleware layer is composed of the Target Abstraction that implements target specific realtime service. See below Middleware Layer.

Components Layer

The Components layer contains the algorithm of a software and is composed of components and the connections between these components.

The Components layer interacts with the Middleware layer and can communicate directly with the Hardware Abstraction layer.

The Components layer is composed of components and the communication and scheduling component.

A component is composed of:

  • An implementation or algorithm. It can use realtime services delivered by the target abstraction module.
  • Communication points: These points are used to support Sender/Receiver and Client/Server communication patterns.

The communication and scheduling component is composed of:

  • The scheduler configuration-mapping behaviors to tasks
  • The communication connecting components with each other and with the target

Note: Even if it is possible to access to the Hardware Abstraction layer from the Components layer, this design is not recommended as the component implementation becomes target specific.

Middleware Layer

The Middleware layer plays multiple roles:

  • It offers a set of APIs used by the Components layer
  • It establishes connection between components from the Components layer and the Target layer
  • It schedules the behaviors

The Middleware layer is composed of the Target Abstraction implementing a collection of realtime services for a specific target based on standardized interfaces. The Target Abstraction is target-dependant and is fixed.

For more information, see Target Abstraction.