mirror of
https://github.com/verilator/verilator.git
synced 2026-08-30 01:38:21 +02:00
@@ -1728,6 +1728,18 @@ class WidthVisitor final : public VNVisitor {
|
||||
if (nodep->seedp()) iterateCheckSigned32(nodep, "seed", nodep->seedp(), BOTH);
|
||||
}
|
||||
}
|
||||
void visit(AstSEventually* nodep) override {
|
||||
if (v3Global.opt.timing().isSetFalse() || !v3Global.opt.timing().isSetTrue()) {
|
||||
nodep->v3warn(E_NOTIMING, "s_eventually requires --timing");
|
||||
nodep->replaceWith(new AstConst{nodep->fileline(), AstConst::WidthedValue{}, 1, 0});
|
||||
VL_DO_DANGLING(nodep->deleteTree(), nodep);
|
||||
return;
|
||||
}
|
||||
if (m_vup->prelim()) {
|
||||
iterateCheckBool(nodep, "exprp", nodep->exprp(), BOTH);
|
||||
nodep->dtypeSetBit();
|
||||
}
|
||||
}
|
||||
void visit(AstSGotoRep* nodep) override {
|
||||
assertAtExpr(nodep);
|
||||
if (m_vup->prelim()) {
|
||||
|
||||
Reference in New Issue
Block a user