diff options
Diffstat (limited to 'src/systemc/dt/int/sc_signed.cc')
-rw-r--r-- | src/systemc/dt/int/sc_signed.cc | 4 |
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 63a2d0330..1cb71123b 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("out of bounds", msg.str().c_str()); + SC_REPORT_ERROR("(E5) 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("out of bounds", msg.str().c_str()); + SC_REPORT_ERROR("(E5) out of bounds", msg.str().c_str()); sc_core::sc_abort(); // can't recover from here } |