rahuljn Posted April 11, 2016 Report Share Posted April 11, 2016 Hello 1. In IEEE doc @112, I see the following Because the time at which deferred port binding is completed is implementation defined, it is implementation defined whether get_interface returns a pointer to a channel or a null pointer. So where I shoudl check whether the port is bounded or not and accordingly take action so that my code works fine with all implementations. 2. For a multiport how to get all interfaces connected to that port. The get_interface returns only the pointer to first channel instance Thanks RJ Quote Link to comment Share on other sites More sharing options...
Roman Popov Posted April 11, 2016 Report Share Posted April 11, 2016 Check following member functions described in IEEE1666-2011 5.12.8 Member functions for bound ports and port-to-port binding 5.12.8.1 size 5.12.8.2 operator-> 5.12.8.3 operator[] Looks like everything should be bound before end_of_elaboration callback You can also look into reference SystemC implementation source code to get the details. maehne 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.