diff --git a/passes/techmap/dfflibmap.cc b/passes/techmap/dfflibmap.cc index 138e488f6..5a597aa5b 100644 --- a/passes/techmap/dfflibmap.cc +++ b/passes/techmap/dfflibmap.cc @@ -333,7 +333,7 @@ static void find_better_cell(BestCell &best, const LibertyAst *cell, const Liber if (!found_output || (best.cell != nullptr && (num_pins > best.pins || (best.noninv && !found_noninv_output)))) return; - if (best.cell != nullptr && num_pins == best.pins && area > best.area) + if (best.cell != nullptr && num_pins == best.pins && area >= best.area) return; best.cell = cell;