amaranatha.reddy Posted December 17, 2014 Report Share Posted December 17, 2014 Hi, Does ports like sc_in<> follow request-update thing? For example, If I write to a port sc_In will it be updated immediately or after delta time(like in signals)? Pruthvi015 1 Quote Link to comment Share on other sites More sharing options...
ralph.goergen Posted December 17, 2014 Report Share Posted December 17, 2014 Hi. Yes. A port does not hold a value. Whenever you access a port (read or write) you actually access the channel or signal bound to it. So, the port behaves like that signal. (But you should not write to an input port ) Greetings Ralph David Black, Pruthvi015 and Philipp A Hartmann 3 Quote Link to comment Share on other sites More sharing options...
David Black Posted December 29, 2014 Report Share Posted December 29, 2014 To re-emphasize: ports do not hold values. Instead they are connected to a channel that implements behavior. sc_in<>, sc_inout<> and sc_out<> are all required to bind (connect) to sc_signal<> channels, which exhibit the behavior you describe. 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.