Santhosh_Michael Posted August 11, 2017 Report Share Posted August 11, 2017 Why sc_method is preferred over sc_thread ? Quote Link to comment Share on other sites More sharing options...
Philipp A Hartmann Posted August 11, 2017 Report Share Posted August 11, 2017 I wouldn't say that in this generality. Both process types have their advantages, depending on the use case. Quote Link to comment Share on other sites More sharing options...
swami-cst Posted August 12, 2017 Report Share Posted August 12, 2017 As Philip suggests above - both SC_METHODS and SC_THREADS have their advantages; and it also depends on the coding style adopted by the developer. That being said SC_METHOD doesn't pay the context switch penalty that is paid when using SC_THREAD. This can potentially speed up simulation. 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.