Optimize splitting trigger computation and dump (#5798)

This commit is contained in:
Geza Lore
2025-02-23 05:57:36 +10:00
committed by GitHub
parent 1857f6399c
commit 812861e7f2
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -789,6 +789,10 @@ const TriggerKit createTriggers(AstNetlist* netlistp, AstCFunc* const initFuncp,
// The debug code might leak signal names, so simply delete it when using --protect-ids
if (v3Global.opt.protectIds()) dumpp->stmtsp()->unlinkFrBackWithNext()->deleteTree();
// These might get large when we have a lot of triggers, so split if necessary
splitCheck(funcp);
splitCheck(dumpp);
return {vscp, funcp, dumpp, map};
}