Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
139b234d
Commit
139b234d
authored
Nov 17, 2014
by
Maxime Perrotin
Browse files
Fix TM/TC inversion with PI/RI
parent
17086320
Changes
1
Hide whitespace changes
Inline
Side-by-side
AdaGenerator.py
View file @
139b234d
...
...
@@ -262,7 +262,7 @@ package {process_name} is'''.format(process_name=process_name,
# Generate code for the mini-cv template
params
=
[(
param_name
,
type_name
(
signal
[
'type'
],
use_prefix
=
False
),
'IN'
)]
if
'type'
in
signal
else
[]
minicv
.
append
(
aadl_template
(
signal
[
'name'
],
params
,
'
P
I'
))
minicv
.
append
(
aadl_template
(
signal
[
'name'
],
params
,
'
R
I'
))
pi_header
+=
' is'
taste_template
.
append
(
pi_header
)
...
...
@@ -345,7 +345,7 @@ package {process_name} is'''.format(process_name=process_name,
# Generate code for the mini-cv template
params
=
[(
param_name
,
type_name
(
signal
[
'type'
],
use_prefix
=
False
),
'IN'
)]
if
'type'
in
signal
else
[]
minicv
.
append
(
aadl_template
(
signal
[
'name'
],
params
,
'
R
I'
))
minicv
.
append
(
aadl_template
(
signal
[
'name'
],
params
,
'
P
I'
))
taste_template
.
append
(
'procedure Register_{sig}'
'(Callback:{sig}_T) is'
...
...
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