mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 10:33:13 +02:00
Fix interface exposure with --public-depth or --trace-depth (#5758).
This commit is contained in:
@@ -173,6 +173,7 @@ void V3LinkLevel::wrapTop(AstNetlist* rootp) {
|
||||
// Make the new module first in the list
|
||||
oldmodp->unlinkFrBackWithNext();
|
||||
newmodp->addNext(oldmodp);
|
||||
newmodp->depth(1);
|
||||
newmodp->level(1);
|
||||
newmodp->modPublic(true);
|
||||
newmodp->protect(false);
|
||||
|
||||
Reference in New Issue
Block a user