39 sc_core::sc_prim_channel(
name), _changeStamp(~0ULL),
40 _gem5WriterPort(nullptr)
91 std::ostringstream
ss;
92 ss <<
"\n signal " <<
"`" << sig->
name() <<
"' (" << sig->
kind() <<
")";
93 ss <<
"\n first driver `" << first->
name() <<
"' (" <<
95 ss <<
"\n second driver `" << second->
name() <<
"' (" <<
96 second->
kind() <<
")";
98 ss <<
"\n conflicting write in delta cycle " <<
108 sig(_sig), firstPort(nullptr), proc(nullptr), writeStamp(~0ULL)
113 std::string iface_type_name, std::string out_name)
115 if (iface_type_name == out_name) {
117 reportSignalError(sig, firstPort, &port);
129 if (proc && proc != p)
130 reportSignalError(sig, proc, p);
136 sig(_sig), proc(nullptr), writeStamp(~0ULL)
141 std::string iface_type_name, std::string out_name)
153 if (writeStamp == stamp && proc && proc != p)
154 reportSignalError(sig, proc, p, writeStamp == stamp);
const char * name() const
virtual const char * kind() const
InternalScEvent _negedgeEvent
InternalScEvent _posedgeEvent
const sc_core::sc_event & negedgeEvent() const
ScSignalBaseBinary(const char *_name)
const sc_core::sc_event & posedgeEvent() const
std::vector< sc_gem5::Reset * > _resets
InternalScEvent _valueChangedEvent
const sc_core::sc_event & valueChangedEvent() const
virtual const char * kind() const
const sc_core::sc_event & defaultEvent() const
ScSignalBase(const char *_name)
sc_dt::uint64 sc_delta_count()
const char SC_ID_MORE_THAN_ONE_SIGNAL_DRIVER_[]
const sc_time SC_ZERO_TIME
uint64_t getChangeStamp()
#define SC_REPORT_ERROR(msg_type, msg)
const std::string & name()