Benjamin Descorps
Ansys Employee

Hello,

For instance, the kcg assign macro must be provided by the end-user either through the user cong mechanism or through a kcg assign.h file. This is why it is not generated automatically by KCG.
 
The user shall provide her/his kcg_assign.h file containing the definition of the kcg_assign macro. An example of the kcg_assign.h file is available in the SCADE installation repository (used for Simulation purpose):
 
#ifndef kcg_assign
#include "string.h"
#define kcg_assign(kcg_C1, kcg_C2, kcg_size) (memcpy((kcg_C1), (kcg_C2), (kcg_size)))
#endif /* kcg_assign */
 
Benjamin