Add error message for pr1489570.

This patch does not add the functionality needed to fix pr1489570, but
it does give an error message that is a bit more descriptive of the
current limitation (cannot do division or modulus with wide value).
This commit is contained in:
Cary R 2007-11-01 10:14:04 -07:00 committed by Stephen Williams
parent 9f4dc5411f
commit 4be2ccb3fa
1 changed files with 4 additions and 0 deletions

View File

@ -88,6 +88,8 @@ void vvp_wide_arith_::output_val_(vvp_ipoint_t base, bool push)
inline void vvp_arith_div::wide(vvp_ipoint_t base, bool push)
{
fprintf(stderr, "ERROR: division with wide values not currently "
"supported in V0.8.\n");
assert(0);
}
@ -150,6 +152,8 @@ void vvp_arith_div::set(vvp_ipoint_t i, bool push, unsigned val, unsigned)
inline void vvp_arith_mod::wide(vvp_ipoint_t base, bool push)
{
fprintf(stderr, "ERROR: modulus with wide values not currently "
"supported in V0.8.\n");
assert(0);
}