SANDESH M K Posted June 7, 2018 Report Share Posted June 7, 2018 - How to update the signal writing with same value. - How to trigger method/thread sensitive to sc_signal when signal is written with same value? Quote Link to comment Share on other sites More sharing options...
AmeyaVS Posted June 7, 2018 Report Share Posted June 7, 2018 Hello @SANDESH M K, You are probably looking for sc_buffer<T>. sc_buffer will generate the event notification for every write performed. Hope it helps. Regards, Ameya Vikram Singh Quote Link to comment Share on other sites More sharing options...
Eyck Posted June 7, 2018 Report Share Posted June 7, 2018 sc_signal only triggers an event if you write a value different from the current one. If you want to trigger events and hence invoke method/sc_thread you need to use sc_buffer instead of sc_signal. It is a drop-in replacement. Best regards David Black 1 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.