Jump to content

Multi-threading and SystemC

Recommended Posts

Hello everyone, 


I was wondering if I could run in parallel a number of processes from different modules using multi-threading in SystemC. Take into account that these processes make use of SystemC elements like signal.read etc, from the SystemC library . That means SystemC library should be multi-threading safe. The reason why i want to use multi-threading is to decrease the simulation time, i.e. increase the performance of the simulation. 


I found this link: http://www.accellera.org/activities/committees/systemc-language/ 

that states about recent activities on SystemC 2.3.0:  "  In addition, an improved simulation API and a new thread safety mechanism will allow much better interaction with external tools and support for multi-threading."


Does it mean, I can parallelize the execution of processes? and if yes how can I do it? 


Thanks in advance


Link to comment
Share on other sites

The new thread safe mechanism added to SystemC was designed to allow interaction between SystemC and other OS threads and processes. It does nothing to improve SystemC processes (SC_THREAD, SC_METHOD, etc). There have been several presentations on the former (look on NASCUG for info). There is also going to be a very interesting talk at this years NASCUG annual DAC users meeting in San Francisco on Monday afternoon (June 2). The meeting is free for attendance. It is an opportunity to talk with SystemC experts about these topics. There is also plans for an informal meeting at DAC, but date/time is not yet confirmed.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...