How can SCADE Notes and-or Comments be propagated to the generated code?
About Comments: Any comment is automatically inserted in the saofd Lustre file, just before the commented SCADE object. Additionally, if the CommentsToC option associated to every comment is checked, the comment will also be inserted at the appropriate place in the ADA/C generated code. About Annotations: All annotations related to a SCADE node (either type, constant, variable or operator) are stored in a .ann file relative to each node. If one wants these annotations to systematically appear as comments in the textual Lustre saofd files, the Save notes as comments option of the Save Format tab of the project properties has to be checked. Additionally, if one wants the annotations to appear as comments in the generated ADA/C code, not only the Save notes as comments option has to be checked, but also the to_c option associated to every annotation. Yet, one should be aware about the fact that annotation visibility in the ADA/C code could depend on the expansion of the generated code (fo
How can SCADE Notes and-or Comments be propagated to the generated code?