mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-05 10:50:25 +00:00
Add fanout limit
This commit is contained in:
parent
dd17e4c133
commit
751f463994
3 changed files with 18 additions and 4 deletions
|
@ -370,7 +370,7 @@ struct MuxpackPass : public Pass {
|
|||
extra_args(args, argidx, design);
|
||||
|
||||
if (splitfanout)
|
||||
Pass::call(design, "splitfanout t:$mux t:$pmux");
|
||||
Pass::call(design, "splitfanout -limit 512 t:$mux t:$pmux");
|
||||
|
||||
int mux_count = 0;
|
||||
int pmux_count = 0;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue