ETD

Digital archive of theses discussed at the University of Pisa

 

Thesis etd-09142021-094936


Thesis type
Tesi di laurea magistrale
Author
SULAS, ROBERTO
URN
etd-09142021-094936
Thesis title
C code generation from Discrete-Event actor-oriented models for generic embedded applications
Department
INFORMATICA
Course of study
INFORMATICA
Supervisors
relatore Prof. Milazzo, Paolo
relatore Prof. Di Natale, Marco
controrelatore Prof. Bruni, Roberto
Keywords
  • code generation
  • model-based design
  • discrete-event
  • embedded systems
Graduation session start date
08/10/2021
Availability
Partial
Release date
08/10/2091
Summary
Model-based design is an effective technique for designing cyber-physical systems. This approach relies on the use of models to represent the system elements and their relationship.
A Discrete-Event System (DES) is a discrete-state, event-driven system in which its state evolution depends entirely on the occurrence of asynchronous discrete events over time.
Ptolemy II is an open-source actor-oriented modeling and simulation tool which allows the use of different models of computation.
Acceleo is an open-source template-based model-driven code generator originally developed by Obeo and now part of the Eclipse Foundation. It allows the creation of custom templates and Java services for transforming models, provided the relative metamodel.
We developed Discrete-Event specific templates and Java services for generating embedded C code from Discrete-Event models created using Ptolemy II. This was accomplished through techniques for efficiently grouping the elements of the models and dealing with models which contain feedback loops.
File