Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

Ansys Learning Forum Forums Discuss Simulation Embedded Software Missing file in compilation Reply To: Missing file in compilation

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
[bingo_chatbox]