diff options
Diffstat (limited to 'src/systemc/dt/fx')
-rw-r--r-- | src/systemc/dt/fx/sc_fxval.cc | 4 | ||||
-rw-r--r-- | src/systemc/dt/fx/scfx_rep.cc | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/systemc/dt/fx/sc_fxval.cc b/src/systemc/dt/fx/sc_fxval.cc index 45d7d5735..3b3b1e031 100644 --- a/src/systemc/dt/fx/sc_fxval.cc +++ b/src/systemc/dt/fx/sc_fxval.cc @@ -51,6 +51,7 @@ #include <cstdlib> #include "systemc/ext/dt/fx/sc_fxval.hh" +#include "systemc/ext/utils/messages.hh" namespace sc_dt { @@ -383,7 +384,8 @@ print_other(scfx_string &s, const scfx_ieee_double &id, sc_numrep numrep, 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(); } 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(); } |