Commit 139b234d authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix TM/TC inversion with PI/RI

parent 17086320
......@@ -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, 'PI'))
minicv.append(aadl_template(signal['name'], params, 'RI'))
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, 'RI'))
minicv.append(aadl_template(signal['name'], params, 'PI'))
taste_template.append('procedure Register_{sig}'
'(Callback:{sig}_T) is'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment