Jump to content

What exactly is reset_signal_is function doing?


Joe64

Recommended Posts

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!

Link to comment
Share on other sites

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.

 

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