Jump to content

In Which function of Systemc Code thread Switch happen ?


chaitusvk

Recommended Posts

HI am newbie to systemc , to understand Temporal decoherence  , i went to read systemc code ....

please Suggest me how to Read the code ...

 

From my understanding 

1. There is only one sim_context 

2. Modules has constructor which registers it with sim_context ;

3. IN eloborate function all port,export ,prim_channel,module registry is done 

4. sc_runnable*   m_runnable; stores the all runnable threads 

5. sc_simcontext::prepare_to_simulate preaers it ...

6. I wan to know Where the is threads are suspended and when it it ran (Wait of thread calls Suspend me .. but when i am running it ...)

7. How to print context Between threads working ...

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.

Guest
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...