From 4be2ccb3fafcefc631a43649128878e1986740d5 Mon Sep 17 00:00:00 2001 From: Cary R Date: Thu, 1 Nov 2007 10:14:04 -0700 Subject: [PATCH] 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). --- vvp/arith.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vvp/arith.cc b/vvp/arith.cc index 916707cd6..715ad9fb7 100644 --- a/vvp/arith.cc +++ b/vvp/arith.cc @@ -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); }