mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
This commit is contained in:
@@ -167,6 +167,7 @@ void V3LinkLevel::wrapTop(AstNetlist* rootp) {
|
||||
UINFO(1, "No module found to wrap");
|
||||
return;
|
||||
}
|
||||
rootp->resolvedTopModuleName(oldmodp->name());
|
||||
|
||||
AstNodeModule* const newmodp = new AstModule{oldmodp->fileline(), "$root", oldmodp->libname()};
|
||||
newmodp->name(AstNode::encodeName(newmodp->name())); // so origName is nice
|
||||
|
||||
Reference in New Issue
Block a user