Quantcast
Channel: SystemC Language Forum RSS Feed
Viewing all articles
Browse latest Browse all 595

sc_port get_interface() method

$
0
0

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


Viewing all articles
Browse latest Browse all 595

Trending Articles