52a53
> #include "messages.hh"
252,253c253
< #define SC_CHECK_WL_(wl) SC_ERROR_IF_((wl) <= 0, \
< "(E300) total wordlength <= 0 is not valid")
---
> #define SC_CHECK_WL_(wl) SC_ERROR_IF_((wl) <= 0, sc_core::SC_ID_INVALID_WL_)
256c256
< SC_ERROR_IF_((n_bits) < 0, "number of bits < 0 is not valid")
---
> SC_ERROR_IF_((n_bits) < 0, sc_core::SC_ID_INVALID_N_BITS_)
259c259
< SC_ERROR_IF_((div_wl) <= 0, "division wordlength <= 0 is not valid")
---
> SC_ERROR_IF_((div_wl) <= 0, sc_core::SC_ID_INVALID_DIV_WL_)
262c262
< SC_ERROR_IF_((cte_wl) <= 0, "constant wordlength <= 0 is not valid")
---
> SC_ERROR_IF_((cte_wl) <= 0, sc_core::SC_ID_INVALID_CTE_WL_)
266c266
< "maximum wordlength <= 0 and != -1 is not valid")
---
> sc_core::SC_ID_INVALID_MAX_WL_)