Tool Mentor: UPB Fibex to TADL2 Conversion
FIBEX („Field Bus Exchange Format“) offers data exchange between tools and applications dealing with bus communication systems. It offers the description of the communication (messages) itself as well as the timing specification of the communication for several buses like FlexRay and CAN.
FIBEX offers numerous entities describing the system topology, functional level, signals and other system properties. FIBEX defines several entities representing the exchanged information on communication level, like e.g. FRAME, PDU (Protocol Data Unit) or FRAME- and PDU-Triggering. Additionally, the TIMING entity in FIBEX defines the timing behavior of a FRAME/PDU on a communication channel. This specification of FRAME/PDU triggering and timing behavior relates to the EventTriggeringConstraints (Periodic, Sporadic, ConcretePattern,…) in TADL2. Other FIBEX requirements are related to different constraints in TADL2.
Since FIBEX is limited to the description of bus communication, only the corresponding subset of the TADL2 elements and constraints is relevant and applicable for the transformation between FIBEX and TADL2. Therefore, our proposed transformation approach will enable and simplify the data exchange between FIBEX-based and TADL2-based tools.
Relationships
Main Description

Abstraction level

Design/Implementation

Use Case Tasks

·         UC#0008 - Exchange Models

Covered aspect

Model transformation algorithms

Algorithm

Transformations between file formats: FIBEX->TADL2

Inputs

FIBEX file with the necessary information and timing specifications for bus communication.

Particular constraints on inputs

none

Preparation of input

FIBEX is a standardized XML format (in different versions). Therefore, arbitrary FIBEX editors supporting these versions can be utilized to generate the input.

During the transformation process the necessary (subset) data of the FIBEX file is parsed, interpreted and transformed to the corresponding TADL2 constraints.

Invocation of the algorithm

Transformation algorithm is activated via command line with input and output file name as parameter.

Outputs

TADL2 file containing information (subset data) derived from FIBEX file.

Visualization of results

The generated TADL2 file can be visualized with the TADL2-Editor.