3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-05-31 11:21:31 +00:00

Add fanout limit

This commit is contained in:
Akash Levy 2024-10-25 19:55:57 -07:00
parent dd17e4c133
commit 751f463994
3 changed files with 18 additions and 4 deletions

View file

@ -330,7 +330,7 @@ struct OptBalanceTreePass : public Pass {
// Run splitfanout pass first
if (splitfanout)
Pass::call(design, "splitfanout t:$and t:$or t:$xor t:$xnor t:$add t:$mul");
Pass::call(design, "splitfanout -limit 512 t:$and t:$or t:$xor t:$xnor t:$add t:$mul");
// Count of all cells that were packed
dict<IdString, int> cell_count;