diff --git a/src/V3Randomize.cpp b/src/V3Randomize.cpp index 49ef24aff..c248c112e 100644 --- a/src/V3Randomize.cpp +++ b/src/V3Randomize.cpp @@ -1883,7 +1883,6 @@ class RandomizeVisitor final : public VNVisitor { AstTask* setupAllTaskp = getCreateConstraintSetupFunc(nodep); AstTaskRef* const setupTaskRefp = new AstTaskRef{fl, setupAllTaskp->name(), nullptr}; setupTaskRefp->taskp(setupAllTaskp); - randomizep->addStmtsp(implementConstraintsClear(fl, genp)); randomizep->addStmtsp(setupTaskRefp->makeStmt()); AstNodeModule* const genModp = VN_AS(genp->user2p(), NodeModule);