summaryrefslogtreecommitdiff
path: root/src/systemc/dt/fx/scfx_rep.cc
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-10-07 03:02:56 -0700
committerGabe Black <gabeblack@google.com>2018-10-16 01:11:44 +0000
commitb366cbcde953e2adddc10a2825e2803b5f8a9bdd (patch)
treee532fa49c762eb6b293f88f5a0583946d3a88227 /src/systemc/dt/fx/scfx_rep.cc
parent98f40c54a31457078de587b8a29fdd055b9db28b (diff)
downloadgem5-b366cbcde953e2adddc10a2825e2803b5f8a9bdd.tar.xz
systemc: Switch to using predefined messages for utils.
Create and use predefined messages for utils which match the ones Accellera uses. Change-Id: I932b7206fc16181d01a0d5b7441ce617b30e5365 Reviewed-on: https://gem5-review.googlesource.com/c/13328 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/dt/fx/scfx_rep.cc')
-rw-r--r--src/systemc/dt/fx/scfx_rep.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/systemc/dt/fx/scfx_rep.cc b/src/systemc/dt/fx/scfx_rep.cc
index ae19fabe0..f94c5eae0 100644
--- a/src/systemc/dt/fx/scfx_rep.cc
+++ b/src/systemc/dt/fx/scfx_rep.cc
@@ -71,6 +71,7 @@
#include "systemc/ext/dt/fx/scfx_rep.hh"
#include "systemc/ext/dt/fx/scfx_utils.hh"
#include "systemc/ext/utils/endian.hh"
+#include "systemc/ext/utils/messages.hh"
namespace sc_dt
{
@@ -1078,7 +1079,8 @@ print_other(scfx_string &s, const scfx_rep &a, sc_numrep numrep, int w_prefix,
step = 4;
break;
default:
- SC_REPORT_FATAL("assertion failed", "unexpected sc_numrep");
+ SC_REPORT_FATAL(sc_core::SC_ID_ASSERTION_FAILED_,
+ "unexpected sc_numrep");
sc_core::sc_abort();
}