Commit d2688f71 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Return size in bytes, not in bits

parent 82080dd7
......@@ -193,7 +193,7 @@ def _process(process, simu=False, **kwargs):
# Functions to get gobal variables (length and value)
for var_name, (var_type, _) in process.variables.viewitems():
process_level_decl.append("function l_{name}_size return integer "
"is (l_{name}'Size) with Export, "
"is (l_{name}'Size/8) with Export, "
"Convention => C, "
'Link_Name => "{name}_size";'
.format(name=var_name))
......
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