Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top