mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
Update opt_balance_tree to separate the splitfanout
This commit is contained in:
parent
55acb4acca
commit
4eb820a7ec
1 changed files with 0 additions and 9 deletions
|
@ -308,9 +308,6 @@ struct OptBalanceTreePass : public Pass {
|
|||
log("This pass converts cascaded chains of $and/$or/$xor/$xnor/$add/$mul cells into\n");
|
||||
log("trees of cells to improve timing.\n");
|
||||
log("\n");
|
||||
log(" -splitfanout\n");
|
||||
log(" run splitfanout pass first\n");
|
||||
log("\n");
|
||||
}
|
||||
void execute(std::vector<std::string> args, RTLIL::Design *design) override {
|
||||
bool splitfanout = false;
|
||||
|
@ -328,12 +325,6 @@ struct OptBalanceTreePass : public Pass {
|
|||
}
|
||||
extra_args(args, argidx, design);
|
||||
|
||||
// Run splitfanout pass first
|
||||
if (splitfanout) {
|
||||
// Pass::call(design, "splitfanout -limit 512 t:$and t:$or t:$xor t:$xnor t:$add t:$mul");
|
||||
Pass::call(design, "splitfanout -limit 512 t:$add t:$mul");
|
||||
}
|
||||
|
||||
// Count of all cells that were packed
|
||||
dict<IdString, int> cell_count;
|
||||
const vector<IdString> cell_types = {ID($and), ID($or), ID($xor), ID($xnor), ID($add), ID($mul)};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue