Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
buildsupport
Commits
b9fd4328
Commit
b9fd4328
authored
Jul 01, 2016
by
Maxime Perrotin
Browse files
Add new backend to work on model optimization
parent
4bd02e39
Pipeline
#406
skipped
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
c/model_transformation.c
0 → 100644
View file @
b9fd4328
/* Buildsupport is (c) 2008-2016 European Space Agency
* contact: maxime.perrotin@esa.int
* License is LGPL, check LICENSE file */
/* model_transformation.c
Group all the sporadic messages between two functions into a single
"Telecommand" with a CHOICE parameter.
Create the CHOICE datatype in ASN.1 and generate the code that
mux/demux the message.
This is done to limit the number of generated threads in a system.
*/
#include
<stdio.h>
#include
<string.h>
#include
<stdlib.h>
#include
<sys/stat.h>
#include
<assert.h>
#include
<stdbool.h>
#include
"my_types.h"
#include
"practical_functions.h"
#include
"c_ast_construction.h"
/* External interface */
void
ModelTransformation_Backend
(
System
*
s
)
{
(
void
)
s
;
// FOREACH (node, Process, s->processes, {
// });
}
include/backends.h
View file @
b9fd4328
...
...
@@ -27,6 +27,7 @@ extern void Process_Directives(FV *);
extern
void
AADL_CV_Unparser
();
extern
void
Preprocessing_Backend
(
System
*
);
extern
void
ModelTransformation_Backend
(
System
*
);
extern
void
Semantic_Checks
();
extern
void
GLUE_OG_Backend
(
FV
*
);
extern
void
GLUE_RTDS_Backend
(
FV
*
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment