summaryrefslogtreecommitdiff
path: root/src/systemc/dt/int/sc_signed.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemc/dt/int/sc_signed.cc')
-rw-r--r--src/systemc/dt/int/sc_signed.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemc/dt/int/sc_signed.cc b/src/systemc/dt/int/sc_signed.cc
index 74660b371..cbb688523 100644
--- a/src/systemc/dt/int/sc_signed.cc
+++ b/src/systemc/dt/int/sc_signed.cc
@@ -123,7 +123,7 @@ sc_signed::invalid_index(int i) const
std::stringstream msg;
msg << "sc_bigint bit selection: index = " << i << " violates "
"0 <= index <= " << (nbits - 1);
- SC_REPORT_ERROR("(E5) out of bounds", msg.str().c_str());
+ SC_REPORT_ERROR(sc_core::SC_ID_OUT_OF_BOUNDS_, msg.str().c_str());
sc_core::sc_abort(); // can't recover from here
}
@@ -135,7 +135,7 @@ sc_signed::invalid_range(int l, int r) const
l << ", right = " << r << " \n"
" violates either (" << (nbits-1) << " >= left >= 0) or "
"(" << (nbits-1) << " >= right >= 0)";
- SC_REPORT_ERROR("(E5) out of bounds", msg.str().c_str());
+ SC_REPORT_ERROR(sc_core::SC_ID_OUT_OF_BOUNDS_, msg.str().c_str());
sc_core::sc_abort(); // can't recover from here
}