Karthik Rao Posted May 14, 2019 Report Share Posted May 14, 2019 Hi All, I am using an input port of type double to trigger my method. Irrespective of whether I give dont_initialize() property to the method or not, the method is getting triggered once during initialization phase. It is not triggering when there is a change in the value of the port to which the method is sensitive to. I also tried giving .value_changed_event() to the port. How should I handle this? Thanks in advance for your inputs Best Regards, Karthik Rao Quote Link to comment Share on other sites More sharing options...
David Black Posted May 14, 2019 Report Share Posted May 14, 2019 Show some code. [Use the code quotations <> above and specify language C/C++] What do you mean by "input port"? Are you using the default sc_port or specialized signal port? Have you registered the method? Where are you using value_changed_event()? Why are you using `operator.` rather than operator-> ? 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.