diff --git a/src/V3Number.cpp b/src/V3Number.cpp index 399b0d6af..169c93d5a 100644 --- a/src/V3Number.cpp +++ b/src/V3Number.cpp @@ -1577,7 +1577,7 @@ V3Number& V3Number::opSelInto (const V3Number& lhs, int lsbval, int width) { // this[lsbval+width-1 : lsbval] = lhs; Other bits of this are not affected int ibit=0; for(int bit=lsbval; bit=0 && ibit<(uint32_t)lhs.width()) { + if (ibit>=0 && ibit