diff --git a/src/V3Randomize.cpp b/src/V3Randomize.cpp index c021adaa4..50b2ee407 100644 --- a/src/V3Randomize.cpp +++ b/src/V3Randomize.cpp @@ -1407,7 +1407,7 @@ class ConstraintExprVisitor final : public VNVisitor { if (VL_LIKELY(exponent > 0)) { productp = new AstMul{fl, productp, basep->cloneTreePure(false)}; } else { - productp = new AstDivS{fl, productp, basep->cloneTreePure(false)}; + productp = new AstDiv{fl, productp, basep->cloneTreePure(false)}; } productp->user1(true); }