delouvre
Newbie level 1
Hi,
I would like to know if there is a way to access SystemC module from C and C++ just with a function call.
Standard C++ classes can be easily accessed from C by using extern "C" {} feature. However, I failed to create a C wrapper function for SystemC sc_module classes by using this solution, and it seems not to be easy .
It would be great if you let me know any simple example as well as the gcc/g++ options. Thanks in advance.
Best Regards,
KN
I would like to know if there is a way to access SystemC module from C and C++ just with a function call.
Standard C++ classes can be easily accessed from C by using extern "C" {} feature. However, I failed to create a C wrapper function for SystemC sc_module classes by using this solution, and it seems not to be easy .
It would be great if you let me know any simple example as well as the gcc/g++ options. Thanks in advance.
Best Regards,
KN