Nithin Posted September 24, 2020 Report Share Posted September 24, 2020 Hi, Is it possible to trigger an SC_THREAD based on bool value rather than the edge? For eg: SC_THREAD(a_func) sensitive <<A a_func should be called when A = 1 (not when A transitions from 0 to 1). Is this possible? Thanks, Nithin Quote Link to comment Share on other sites More sharing options...
Eyck Posted September 24, 2020 Report Share Posted September 24, 2020 No, a bool does not provide events. More over of A is true for a longer time how often should the thread be activated? I guess what you need is a clock. Quote Link to comment Share on other sites More sharing options...
Nithin Posted September 24, 2020 Author Report Share Posted September 24, 2020 Thank you Eyck 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.