chaitusvk Posted June 12, 2022 Report Share Posted June 12, 2022 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 ... Quote Link to comment Share on other sites More sharing options...
David Black Posted June 12, 2022 Report Share Posted June 12, 2022 For threads, context changes when you call sc_core::wait(). How that is accomplished depends on the operating system and is the responsibility of the SystemC library implementation. Quote Link to comment Share on other sites More sharing options...
chaitusvk Posted June 13, 2022 Author Report Share Posted June 13, 2022 Thank you .... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.