mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Add --work library-selection option (#5891 partial).
This commit is contained in:
+1
-1
@@ -164,7 +164,7 @@ void V3LinkLevel::wrapTop(AstNetlist* rootp) {
|
||||
return;
|
||||
}
|
||||
|
||||
AstNodeModule* const newmodp = new AstModule{oldmodp->fileline(), "$root"};
|
||||
AstNodeModule* const newmodp = new AstModule{oldmodp->fileline(), "$root", oldmodp->libname()};
|
||||
newmodp->name(AstNode::encodeName(newmodp->name())); // so origName is nice
|
||||
// Make the new module first in the list
|
||||
oldmodp->unlinkFrBackWithNext();
|
||||
|
||||
Reference in New Issue
Block a user