systemc: Make BindInfo track ports or interfaces.
Change-Id: I0ca0d5de8de59d92cb65af56c25f418ff32696f4 Reviewed-on: https://gem5-review.googlesource.com/12083 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
This commit is contained in:
@@ -38,7 +38,16 @@ namespace sc_gem5
|
||||
class BindInfo
|
||||
{
|
||||
public:
|
||||
BindInfo(::sc_core::sc_interface *interface) :
|
||||
interface(interface), port(nullptr)
|
||||
{}
|
||||
|
||||
BindInfo(::sc_core::sc_port_base *port) :
|
||||
interface(nullptr), port(port)
|
||||
{}
|
||||
|
||||
::sc_core::sc_interface *interface;
|
||||
::sc_core::sc_port_base *port;
|
||||
};
|
||||
|
||||
} // namespace sc_gem5
|
||||
|
||||
Reference in New Issue
Block a user