Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can SCADE Notes and-or Comments be propagated to the generated code?

0
Posted

How can SCADE Notes and-or Comments be propagated to the generated code?

0

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

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123