openETCS / toolchain

WP7: Top Level Project for the toolchain
26 stars 30 forks source link

Timeline and Deliverables for Migration from Scade to an open alternative #500

Closed jastram closed 8 years ago

jastram commented 9 years ago

The following represents a mini project-plan for this important backlog issue (US-Scade-to-Open). @dalzilio - please adapt as you see fit.

Deliverable

The output of this task will be a document that contains:

dalzilio commented 9 years ago

Hello Michael,

Sorry for answering you so late.

I will propose an outline for the report at the next WP7 Friday meeting. I have already received the documentation on Scade from Uwe Steinke at the end of August but I have not been able to look in depth at the OpenETCS Scade model since we do not have a Scade licence locally. (I have followed the discussion on the evolution of the model but I am not sure to have the last, up-to-date info on the models that is on github).

We have already scheduled a meeting next week in Toulouse, with Marc Pantel and others local researchers, in order to converge quickly on a good proposal. I will keep you posted.

Sincerely,

Silvano

On 25 September 2015 at 08:39, Michael Jastram notifications@github.com wrote:

The following represents a mini project-plan for this important backlog issue (US-Scade-to-Open). @dalzilio https://github.com/dalzilio - please adapt as you see fit. Deliverable

The output of this task will be a document that contains:

  • A high-level description of the Scade Artifacts from WP3 and WP4, both content and format
  • A high-level description of the open alternatives
  • Selection of the most promising alternative(s)
  • Detailed migration path to the most promising alternative

Timeline

  • Week 40: Outline complete
  • Week 42: First draft
  • Week 44: Document complete
  • Week 46: Review complete

— Reply to this email directly or view it on GitHub https://github.com/openETCS/toolchain/issues/500.

      Silvano DAL ZILIO           CNRS / LAAS - Vertics Group
 http://www.laas.fr/~dalzilio  Tel: +33 561 33 78 20 Fax: - 64 11

7 avenue du Colonel Roche, BP 54200, F-31031 Toulouse Cedex 4

jastram commented 9 years ago

Hi Silvano,

Thank you for the update. I'll put you on Friday's agenda.

Best,

dalzilio commented 9 years ago

Description of the existing solution

What were the decision on modeling; what are the choices in modeling that are directly influenced by the choice of Scade ; what was very useful to the modeler in the tooling ; influence of the modeling choices on the execution platform (does the modeling precludes some implementation choices)

Existing open-source solution around (or similar to) Scade

Choice of a Domain Specific Modeling Language (DSML)

Possible migration path to one or several possible alternatives

dalzilio commented 9 years ago

Goal of this Project (what do we want)

We can try to establish a wish list:

We do not expect to have a working implementation for the end of the project but we can define a roadmap of the possible scenarios for a following project.

Supported Output Formats from Scade Suite

XML format keeping all editor-specific information (see Sect. 2 of TechnicalManual_SC-TM-R16). Advantage: no information loss Disadvantage: format not very well-documented (related XML Schema not provided !?)

"parsers" are available from OSATE plugin and the S3 tool by Systerel (see below).

SCADE Suite KCG can generate a kcg_xml_filter_out.scade file which contains the translation of the graphical SCADE format into a textual format Advantage: no information loss; except for the placement of graphical elements if we want to target a graphical format ; easier to parse Disadvantage: format not very well-documented

"parser" available in the Scade2B project (https://github.com/cercles/scade2b)

textual format close to Lustre Advantage: Many open-source Lustre implementation are available Disadvantage: we loose the state machines and many information on the underlying "architecture" of the model (hierarchical components are flattened) ; name of variables and ports are quite obfuscated ; KCG is an extension of Lustre

Lustre is not a normalized language and the existing implementations have slightly different syntax. There are some works that have addressed the problem of converting "Scade's version" of Lustre to, for example, VERIMAG Lustre. Nonetheless none of these tools are mature.

Possible Scenarios

Particularity of the OpenETCS model

jastram commented 8 years ago

This can be closed now, as the resulting document is tracked via #505 .