Jump to content

How to reset a thread in SystemC


ANKUR SAINI

Recommended Posts

I am currently trying to implement some feature for which I need to reset/re-start a thread based on some event raised from other thread. I got to know that this type of behavior can be achieved by using async_reset_signal_is OR with help of enable/disable feature of thread handling.
But the problem here is all these advanced features comes with SystemC 2.3 on wards, but because of some limitations and constraints, I have to stick to use SystemC 2.2 version. Is there any way to achieve this with SystemC 2.2 ?

Please help me with this!!

Link to comment
Share on other sites

On 2/2/2019 at 2:39 AM, David Black said:

Use SystemC 2.3 is your only easy option. I would expect much help from others to recreate what has already been done.

You could also recast threads into cthreads (which has always worked).

 

Thanks for reverting back David..
Would it be possible for you to give few good pointers for - 'recasting threads into cthreads' to refer; since definitely it is something which I have to explore and don't know much right now..

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