From 4eb820a7ec351016a5e0450df2298ce8d1f1e2c6 Mon Sep 17 00:00:00 2001 From: Akash Levy Date: Thu, 31 Oct 2024 16:36:17 -0700 Subject: [PATCH] Update opt_balance_tree to separate the splitfanout --- passes/opt/opt_balance_tree.cc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/passes/opt/opt_balance_tree.cc b/passes/opt/opt_balance_tree.cc index 4791bae16..1f902a2b0 100644 --- a/passes/opt/opt_balance_tree.cc +++ b/passes/opt/opt_balance_tree.cc @@ -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 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 cell_count; const vector cell_types = {ID($and), ID($or), ID($xor), ID($xnor), ID($add), ID($mul)};