Accessing SystemC from standard C/C++

Status
Not open for further replies.

delouvre

Newbie level 1
Joined
Nov 9, 2011
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,287
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
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…