16#ifndef SIMICS_SYSTEMC_AWARENESS_SC_PORT_CONNECTION_H
17#define SIMICS_SYSTEMC_AWARENESS_SC_PORT_CONNECTION_H
41 typedef std::pair<sc_core::sc_interface *, std::string>
keytype;
42 typedef std::vector<sc_core::sc_port_base *>
valuetype;
45 void init(sc_core::sc_object *
object,
53 static std::map<keytype, valuetype>
ports_;
58 Item(sc_core::sc_interface *iface)
59 : iface_(iface), port_(NULL) {}
60 Item(sc_core::sc_port_base *port)
61 : iface_(NULL), port_(port) {}
63 sc_core::sc_interface* iface_;
64 sc_core::sc_port_base* port_;
67 int countLevels(sc_core::sc_object *
object);
68 std::string extractStem(sc_core::sc_object *
object);
69 conf_object_t *ifaceToObj(sc_core::sc_interface *iface);
70 bool compareStem(std::string stem, sc_core::sc_object *
object);
71 std::vector<Item> bind_info_;
72 sc_core::sc_port_base *base_;
73 std::string base_typename_;
74 int max_number_of_proxies_;
Definition: sc_port_connection.h:39
static std::map< keytype, valuetype > ports_
Definition: sc_port_connection.h:53
virtual const char * if_typename()
void init(sc_core::sc_object *object, iface::SimulationInterface *simulation)
virtual ~ScPortConnection()
virtual int max_number_of_proxies()
std::pair< sc_core::sc_interface *, std::string > keytype
Definition: sc_port_connection.h:41
std::vector< sc_core::sc_port_base * > valuetype
Definition: sc_port_connection.h:42
virtual std::vector< conf_object_t * > port_to_proxies()
Definition: sc_port_interface.h:27
Interface to the SystemC simulation.
Definition: simulation_interface.h:27
Definition: pci_bus_interface.h:24