diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/systemc/channel/sc_in_resolved.cc | 2 | ||||
-rw-r--r-- | src/systemc/channel/sc_inout_resolved.cc | 2 | ||||
-rw-r--r-- | src/systemc/ext/channel/sc_inout_rv.hh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/systemc/channel/sc_in_resolved.cc b/src/systemc/channel/sc_in_resolved.cc index 40190c895..94cb55a89 100644 --- a/src/systemc/channel/sc_in_resolved.cc +++ b/src/systemc/channel/sc_in_resolved.cc @@ -47,7 +47,7 @@ sc_in_resolved::end_of_elaboration() { sc_in<sc_dt::sc_logic>::end_of_elaboration(); if (!dynamic_cast<sc_signal_resolved *>(get_interface())) { - std::string msg = csprintf("%s (%s)", name(), kind()); + std::string msg = csprintf("port '%s' (%s)", name(), kind()); SC_REPORT_ERROR("(E117) resolved port not bound to resolved signal", msg.c_str()); } diff --git a/src/systemc/channel/sc_inout_resolved.cc b/src/systemc/channel/sc_inout_resolved.cc index 8355a8847..2f3dd1883 100644 --- a/src/systemc/channel/sc_inout_resolved.cc +++ b/src/systemc/channel/sc_inout_resolved.cc @@ -48,7 +48,7 @@ sc_inout_resolved::end_of_elaboration() { sc_inout<sc_dt::sc_logic>::end_of_elaboration(); if (!dynamic_cast<sc_signal_resolved *>(get_interface())) { - std::string msg = csprintf("%s (%s)", name(), kind()); + std::string msg = csprintf("port '%s' (%s)", name(), kind()); SC_REPORT_ERROR("(E117) resolved port not bound to resolved signal", msg.c_str()); } diff --git a/src/systemc/ext/channel/sc_inout_rv.hh b/src/systemc/ext/channel/sc_inout_rv.hh index 5ff9d105e..046146924 100644 --- a/src/systemc/ext/channel/sc_inout_rv.hh +++ b/src/systemc/ext/channel/sc_inout_rv.hh @@ -94,7 +94,7 @@ class sc_inout_rv : public sc_inout<sc_dt::sc_lv<W>> sc_inout<sc_dt::sc_lv<W> >::end_of_elaboration(); if (!dynamic_cast<sc_signal_rv<W> *>(this->get_interface())) { std::ostringstream ss; - ss << this->name() << " (" << this->kind() << ")"; + ss << "port '" << this->name() << "' (" << this->kind() << ")"; SC_REPORT_ERROR( "(E117) resolved port not bound to resolved signal", ss.str().c_str()); |