mirror of
https://github.com/verilator/verilator.git
synced 2026-09-02 10:48:27 +02:00
Support passing constraints to --xml-only output (still otherwise unsupported) (#4683)
This commit is contained in:
@@ -358,6 +358,10 @@ private:
|
||||
addPrePostCall(nodep, funcp, "post_randomize");
|
||||
nodep->user1(false);
|
||||
}
|
||||
void visit(AstConstraint* nodep) override {
|
||||
nodep->v3warn(CONSTRAINTIGN, "Constraint ignored (unsupported)");
|
||||
if (!v3Global.opt.xmlOnly()) VL_DO_DANGLING(pushDeletep(nodep->unlinkFrBack()), nodep);
|
||||
}
|
||||
void visit(AstRandCase* nodep) override {
|
||||
// RANDCASE
|
||||
// CASEITEM expr1 : stmt1
|
||||
|
||||
Reference in New Issue
Block a user