Modules generate the following files:
●<module_name>.c
- Contains the code for the module, all the procedures listed above, and the declarations for all the textual elements in the procedures.
●<module_name>.h
- Is the include file that includes all types and external declarations defined within the MODEL scope of the related module.
●<procedure_name>.c
- Contains the code for functions/ procedures. This is consistent with the rest of the generated code where separate files are generated for each function and procedure used within the related model scope.
●TOP_<module_name>.h
- Contains declarations of types defined outside (above), but used within the module scope.