Internals: With --dumpi-tree >= 9, create pre-sort cells.tree

This commit is contained in:
Wilson Snyder 2024-12-01 17:38:02 -05:00
parent d75f41b641
commit aa2b653c71
2 changed files with 3 additions and 1 deletions

View File

@ -108,6 +108,8 @@ void V3Global::readFiles() {
// Resolve all modules cells refer to // Resolve all modules cells refer to
V3LinkCells::link(v3Global.rootp(), &filter, &parseSyms); V3LinkCells::link(v3Global.rootp(), &filter, &parseSyms);
} }
V3Global::dumpCheckGlobalTree("cells", false, dumpTreeEitherLevel() >= 9);
} }
void V3Global::removeStd() { void V3Global::removeStd() {

View File

@ -82,7 +82,7 @@ void V3LinkLevel::modSortByLevel() {
UASSERT_OBJ(!v3Global.rootp()->modulesp(), v3Global.rootp(), "Unlink didn't work"); UASSERT_OBJ(!v3Global.rootp()->modulesp(), v3Global.rootp(), "Unlink didn't work");
for (AstNodeModule* nodep : mods) v3Global.rootp()->addModulesp(nodep); for (AstNodeModule* nodep : mods) v3Global.rootp()->addModulesp(nodep);
UINFO(9, "modSortByLevel() done\n"); // Comment required for gcc4.6.3 / bug666 UINFO(9, "modSortByLevel() done\n"); // Comment required for gcc4.6.3 / bug666
V3Global::dumpCheckGlobalTree("cells", false, dumpTreeEitherLevel() >= 3); V3Global::dumpCheckGlobalTree("cellsort", false, dumpTreeEitherLevel() >= 3);
} }
void V3LinkLevel::timescaling(const ModVec& mods) { void V3LinkLevel::timescaling(const ModVec& mods) {