Go to the documentation of this file.
45 reportError(
const char *
id,
const char *add_msg,
46 const char *
name,
const char *kind)
50 msg =
csprintf(
"%s: port '%s' (%s)", add_msg,
name, kind);
75 m->ports.push_back(
this);
76 _gem5Port = new ::sc_gem5::Port(
this, max_size);
87 static bool warned =
false;
90 "interface and/or port binding in port constructors "
99 std::ostringstream
ss;
101 ss << add_msg <<
": ";
102 ss <<
"port '" <<
name() <<
"' (" <<
kind() <<
")";
void warn_port_constructor() const
const char SC_ID_IEEE_1666_DEPRECATION_[]
const char SC_ID_PORT_OUTSIDE_MODULE_[]
void report_error(const char *id, const char *add_msg) const
sc_port_base(const char *name, int n, sc_port_policy p)
void bind(::sc_core::sc_interface *interface)
void bind(sc_interface &)
static Module * pickParentModule()
#define SC_REPORT_ERROR(msg_type, msg)
const char * kind() const
::sc_gem5::Port * _gem5Port
const std::string & name()
#define SC_REPORT_INFO(msg_type, msg)
const char * name() const
const char SC_ID_INSERT_PORT_[]
std::string csprintf(const char *format, const Args &...args)
Generated on Wed Sep 30 2020 14:02:14 for gem5 by doxygen 1.8.17