mirror of
https://github.com/verilator/verilator.git
synced 2026-09-02 10:48:27 +02:00
@@ -80,6 +80,15 @@ void V3ParseImp::importIfInStd(FileLine* fileline, const string& id, bool doImpo
|
||||
if (doImport) {
|
||||
AstPackageImport* const impp = new AstPackageImport{stdpkgp->fileline(), stdpkgp, "*"};
|
||||
unitPackage(stdpkgp->fileline())->addStmtsp(impp);
|
||||
for (AstNode* itemp = v3Global.rootp()->stdPackagep()->stmtsp(); itemp;
|
||||
itemp = itemp->nextp()) {
|
||||
if (itemp->name() == "process") {
|
||||
v3Global.rootp()->stdPackageClassp(VN_AS(itemp, Class));
|
||||
UASSERT_OBJ(v3Global.rootp()->stdPackageClassp(), v3Global.rootp(),
|
||||
"'std' package class should be found");
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user