Joe64 Posted March 10, 2022 Report Share Posted March 10, 2022 Hi, I'm new to SystemC and am a student that is highly passionate in hardware verification. However, I'm having difficult time understanding what the reset_signal_is function is doing. What I think its doing is reseting all of the non-sc_inputs/outputs. The reason why I think this is because in the fir filter example I found there isn't any reseting of the 'taps' of the filter pipeline. Does reset_signal_is performing this reset automatically? Thank you! Quote Link to comment Share on other sites More sharing options...
David Black Posted March 11, 2022 Report Share Posted March 11, 2022 The reset_signal_is() method stop any currently executing process when the designated signal channel becomes active (high or low depending on the arguments). Then it resets the context of the thread-style processes so that they are called from the beginning. It does not actually reset or change the values of any other channels. It does not need to do that for the method-style processes because they don't hold any state like threads do. 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.