projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
systemc: Run the systemc tests with the CWD in the build directory.
[gem5.git]
/
src
/
systemc
/
dt
/
bit
/
sc_bit.cc
diff --git
a/src/systemc/dt/bit/sc_bit.cc
b/src/systemc/dt/bit/sc_bit.cc
index 8382c880cb44cafe038e9a1df0105884ad8b1c7f..e386b190d9701e84671651c591657ab1b8d06904 100644
(file)
--- a/
src/systemc/dt/bit/sc_bit.cc
+++ b/
src/systemc/dt/bit/sc_bit.cc
@@
-58,8
+58,10
@@
#include <sstream>
#include <sstream>
+#include "systemc/ext/dt/bit/messages.hh"
#include "systemc/ext/dt/bit/sc_bit.hh"
#include "systemc/ext/dt/bit/sc_logic.hh"
#include "systemc/ext/dt/bit/sc_bit.hh"
#include "systemc/ext/dt/bit/sc_logic.hh"
+#include "systemc/ext/utils/messages.hh"
#include "systemc/ext/utils/sc_report_handler.hh"
namespace sc_dt
#include "systemc/ext/utils/sc_report_handler.hh"
namespace sc_dt
@@
-78,7
+80,7
@@
sc_bit::invalid_value(char c)
{
std::stringstream msg;
msg << "sc_bit( '" << c << "' )";
{
std::stringstream msg;
msg << "sc_bit( '" << c << "' )";
- SC_REPORT_ERROR(
"(E204) value is not valid"
, msg.str().c_str());
+ SC_REPORT_ERROR(
sc_core::SC_ID_VALUE_NOT_VALID_
, msg.str().c_str());
sc_core::sc_abort(); // can't recover from here
}
sc_core::sc_abort(); // can't recover from here
}
@@
-87,7
+89,7
@@
sc_bit::invalid_value(int i)
{
std::stringstream msg;
msg << "sc_bit( " << i << " )";
{
std::stringstream msg;
msg << "sc_bit( " << i << " )";
- SC_REPORT_ERROR(
"(E204) value is not valid"
, msg.str().c_str());
+ SC_REPORT_ERROR(
sc_core::SC_ID_VALUE_NOT_VALID_
, msg.str().c_str());
sc_core::sc_abort(); // can't recover from here
}
sc_core::sc_abort(); // can't recover from here
}
@@
-119,7
+121,7
@@
sc_deprecated_sc_bit()
static bool warn_sc_bit_deprecated = true;
if (warn_sc_bit_deprecated) {
warn_sc_bit_deprecated = false;
static bool warn_sc_bit_deprecated = true;
if (warn_sc_bit_deprecated) {
warn_sc_bit_deprecated = false;
- SC_REPORT_INFO(
"(I804) /IEEE_Std_1666/deprecated"
,
+ SC_REPORT_INFO(
sc_core::SC_ID_IEEE_1666_DEPRECATION_
,
"sc_bit is deprecated, use bool instead");
}
}
"sc_bit is deprecated, use bool instead");
}
}