summaryrefslogtreecommitdiff
path: root/src/systemc/channel
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-09-15 15:33:58 -0700
committerGabe Black <gabeblack@google.com>2018-10-16 00:22:43 +0000
commit56b5284beec8909eb78086db7af8ff9c2f366519 (patch)
tree045002ceee7ad558e6a575f2b48a000428a60a91 /src/systemc/channel
parent568938c891386d4d5eaab40b529023a456613539 (diff)
downloadgem5-56b5284beec8909eb78086db7af8ff9c2f366519.tar.xz
systemc: Change an error message to match the reference outputs.
This is different from the message the Accellera implementation would print, so it looks like it wouldn't pass this test as is. Change-Id: I0286fd3e3df7bc3e87f38c35086a32d8dec0bcc9 Reviewed-on: https://gem5-review.googlesource.com/c/12814 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/channel')
-rw-r--r--src/systemc/channel/sc_in_resolved.cc2
-rw-r--r--src/systemc/channel/sc_inout_resolved.cc2
2 files changed, 2 insertions, 2 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());
}